- Auth
- Customer
- Passengers
- invoice Info
- Favorite Flights
- Notifications
- Fast Actions
- Customer - Get ProfileGET
- Customer - Update ProfilePOST
- Customer - Update PasswordPOST
- Search History - FlightGET
- Customer - Remove AccountDELETE
- Utils
- Flight
- Bus
- Hotel
- Socket
- Auto Completes
- Queue / Socket
- Misc
- Payment
- Orders
- Blog
- Contents
- Refund
- Notifications
- Otp VerifyPOST
Bus - Bus Details
Testing Env
https://test-api.ucuzyolu.com
Testing Env
https://test-api.ucuzyolu.com
POST
https://test-api.ucuzyolu.com
Request
Authorization
Provide your bearer token in the
Authorization
header when making requests to protected resources.Example:
Authorization: Bearer ********************
Header Params
client-id
string
optional
Default:
302382-1928283273-237723829-292999
Body Params application/json
journeyId
string
required
tripId
string
required
Example
{
"journeyId": "{{journeyId}}",
"tripId": "{{tripId}}"
}
Request samples
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://test-api.ucuzyolu.com/bus/bus-details' \
--header 'client-id: 302382-1928283273-237723829-292999' \
--header 'Content-Type: application/json' \
--data-raw '{
"journeyId": "",
"tripId": ""
}'
Responses
🟢200OK
application/json
Body
data
object
required
success
boolean
required
journeyId
string
required
searchId
string
required
searchStatus
string
required
bookingStatus
string
required
originId
integer
required
destinationId
integer
required
origin
string
required
destination
string
required
results
array [object {38}]
optional
attributes
array [object {3}]
required
booking
object (Bus Booking)
required
ttl
integer
required
success
boolean
required
code
integer
required
message
string
required
Example
{ "data": { "success": true, "type": "bus", "journeyId": "ex3DCrES3RBGllrOD6NLQWHMrYLrIWGKu6Zg", "searchId": "93F09C63-144F-4289-A98F-C18ABF8E7C67", "searchStatus": "completed", "bookingStatus": "pending", "originId": 738, "destinationId": 84, "origin": "738", "destination": "84", "results": [ { "tripId": "78D511F6-4CCA-4CF4-8C1D-85E4F0C3611C", "providerTripId": "30", "tripNumber": "", "provider": "biletall", "companyId": 133, "companyName": "Lüks Afşınlılar Seyahat", "dayTime": "Gece", "originId": 738, "originName": "KAYSERİ", "companyLogo": "https://eticket.ipektr.com/wsbos3/LogoVer.Aspx?fnum=133", "firstOriginId": 904, "firstOriginName": "0", "destinationId": 84, "destinationName": "ANKARA", "lastDestinationId": 84, "lastDestinationName": "ANKARA", "busModelCode": "TR38", "busModel": "", "busClass": "0", "busPhone": "(___)-___-__-__", "busPlate": "", "busSeatType": "2+1", "hasStopOver": true, "totalDuration": "04:30", "estimatedDuration": "5-6", "durationType": "1", "date": "2024-12-29", "time": "21:00", "price": 350, "price1": 350, "classDiffPrice": 0, "discountedPrice": 350, "tripTypeText": "MOLALI", "attributes": [ 0, 9, 11, 14 ], "seatsAvailable": 38, "hasSeatSelection": true, "routeNumber": "2", "routeName": "Afşin ->Kayseri ->Ankara (Aşti) ", "tripTrackingNumber": "87570", "estimatedArrivalTime": "2024-12-30T01:30:00+03:00", "totalPrice": 350 }, { "tripId": "BBB2E0F0-0E08-4F83-9D48-DD0846871C37", "providerTripId": "9", "tripNumber": "", "provider": "biletall", "companyId": 22, "companyName": "Lider Elbistan", "dayTime": "Gece", "originId": 738, "originName": "KAYSERİ", "companyLogo": "https://eticket.ipektr.com/wsbos3/LogoVer.Aspx?fnum=22", "firstOriginId": 909, "firstOriginName": "0", "destinationId": 84, "destinationName": "ANKARA", "lastDestinationId": 84, "lastDestinationName": "ANKARA", "busModelCode": "TR38", "busModel": "TRAVEGO 2+1 38 KİŞİLİK", "busClass": "0", "busPhone": "(___)-___-__-__", "busPlate": "", "busSeatType": "2+1", "hasStopOver": true, "totalDuration": "04:30", "estimatedDuration": "5-6", "durationType": "1", "date": "2024-12-29", "time": "21:00", "price": 350, "price1": 350, "classDiffPrice": 0, "discountedPrice": 350, "tripTypeText": "MOLALI", "attributes": [], "seatsAvailable": 38, "hasSeatSelection": true, "routeNumber": "1", "routeName": "Elbistan ->Kayseri ->Ankara (Aşti) ", "tripTrackingNumber": "67963", "estimatedArrivalTime": "2024-12-30T01:30:00+03:00", "totalPrice": 350 }, { "tripId": "5FB428E9-E057-45F6-9FC1-9B7A2B5A6AF6", "providerTripId": "44", "tripNumber": "", "provider": "biletall", "companyId": 426, "companyName": "Muş Yolu Turizm", "dayTime": "Gece", "originId": 738, "originName": "KAYSERİ", "companyLogo": "https://eticket.ipektr.com/wsbos3/LogoVer.Aspx?fnum=426", "firstOriginId": 65, "firstOriginName": "0", "destinationId": 84, "destinationName": "ANKARA", "lastDestinationId": 1316, "lastDestinationName": "YALOVA", "busModelCode": "2+1T", "busModel": "2+1 TREVİGO", "busClass": "0", "busPhone": "(507)-803-69-49", "busPlate": "", "busSeatType": "2+1", "hasStopOver": tr
Modified at 2024-11-28 01:29:13