Authorization: Bearer ********************
{
"origin": 738,
"destination": 84,
"date": "2024-10-21"
}
curl --location --request POST 'https://test-api.ucuzyolu.com/bus/search' \
--header 'api-version: 1.1' \
--header 'client-id: 302382-1928283273-237723829-292999' \
--header 'Content-Type: application/json' \
--data-raw '{
"origin": 738,
"destination": 84,
"date": "2024-10-21"
}'
{
"data": {
"jobId": "r7BinwQynYYUKR0r",
"status": "queued",
"attempts": 0,
"payload": {
"success": true,
"journeyId": "pno9agpcf8YsrQ7QNMaVXnUSF6jG0c9FJIA7",
"searchId": "8646AD79-617F-4A34-B64E-123865ED4245",
"searchStatus": "pending",
"originId": 738,
"destinationId": 84,
"origin": "738",
"destination": "84",
"results": [],
"attributes": [],
"ttl": 3600
}
},
"success": true,
"code": 102,
"message": ""
}