- 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
- Checkout
- Otp VerifyPOST
- StatusGET
Bus - Check Seat Status
POST
https://test-api.ucuzyolu.com/bus/check-seat-status
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
seats
array [object {2}]
required
seatId
number
required
gender
enum<string>
required
Allowed values:
MF
Example
{
"journeyId": "string",
"tripId": "string",
"seats": [
{
"seatId": 0,
"gender": "M"
}
]
}
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/check-seat-status' \
--header 'client-id: 302382-1928283273-237723829-292999' \
--header 'Content-Type: application/json' \
--data-raw ''
Responses
🟢200OK
application/json
Body
data
object
required
success
boolean
required
type
string
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[string]
required
attributes
array [object {3}]
required
booking
object
required
ttl
integer
required
success
boolean
required
code
integer
required
message
string
required
Example
{
"data": {
"success": true,
"type": "bus",
"journeyId": "7CBLLTqCqODTl60XmylceOlXZzusuAcSFSzE",
"searchId": "45F840F0-C374-4FEC-9CEB-9FFFD03DF89F",
"searchStatus": "completed",
"bookingStatus": "pending",
"originId": 84,
"destinationId": 738,
"origin": "ANKARA",
"destination": "KAYSERİ",
"results": [],
"attributes": [
{
"id": 0,
"name": "İnternet",
"description": "Sağladığımız internet bağlantısını bilgisayarınızda kullanabilirsiniz."
},
{
"id": 1,
"name": "Rahat Koltuk",
"description": "Bu araçta geniş ve rahat koltuk bulunmaktadır."
},
{
"id": 2,
"name": "Koltuk Ekranı (Uydu Yayını)",
"description": "Koltuk ekranları üzerinden birçok interaktif medya ve uydu yayını izlenebilmektedir."
},
{
"id": 3,
"name": "WC",
"description": "Araçta Tuvalet Bulunmaktadır."
},
{
"id": 4,
"name": "TV (Genel)",
"description": "Araçta uygun saatlerde Genel TV ve Video yayını yapılmaktadır."
},
{
"id": 5,
"name": "Digiturk",
"description": "Digiturk yayını bulunmaktadır."
},
{
"id": 6,
"name": "Kulaklık",
"description": "Seyahat sırasında Kulaklık verilebilmektedir."
},
{
"id": 7,
"name": "Müzik Yayını (Genel)",
"description": "Araçta uygun saatlerde Genel Radyo ve Müzik yayını yapılmaktadır."
},
{
"id": 8,
"name": "Müzik Yayını (Koltuk)",
"description": "Koltuk üzerindeki kulaklık çıkışlarından çok kanallı müzik yayını yapılmaktadır."
},
{
"id": 9,
"name": "Cep Telefonu (Serbest)",
"description": "Seyahat sırasında cep telefonunuzu kullanabilirsiniz."
},
{
"id": 10,
"name": "220 Volt Priz",
"description": "Seyahat Sırasında 220 volt ile çalışan cihazlarınızı kullanabileceğiniz priz bulunmaktadır."
},
{
"id": 11,
"name": "Koltuk Ekranı (MIT)",
"description": "Koltuk ekranları üzerinden Multimedya,Internet ve Tv yayını kullanılabilemektedir."
},
{
"id": 12,
"name": "Namaz Vakitlerinde Durur",
"description": "Namaz Vakitlerinde Durur"
},
{
"id": 13,
"name": "Ligtv",
"description": "Ligtv yayını bulunmaktadır."
},
{
"id": 14,
"name": "Koltuk Ekranı (10 inç)",
"description": "Bu araçta 10 inç Koltuk Ekranı bulunmaktadır."
},
{
"id": 15,
"name": "Okuma Lambası",
"description": "Bu araçta Koltuk Arkası Okuma Lambası bulunmaktadır."
},
{
"id": 16,
"name": "Radyo (Kişisel)",
"description": "Bu araçta Kişisel Radyo bulunmaktadır."
},
{
"id": 17,
"name": "Koltuk Ekranı (13 inç)",
"description": "Bu araçta 13 inç Koltuk Ekranı bulunmaktadır."
},
{
"id": 18,
"name": "USB Giriş",
"description": "Bu araçta müzik, video ve şarj için kullanabileceğiniz USB girişi bulunmaktadır."
},
{
"id": 19,
"name": "Kahvaltı",
"description": "Bu araçta kahvaltı verilmektedir."
},
{
"id": 20,
"name": "Sıcak Yemek",
"description": "Bu araçta sıcak yemek verilmektedir."
},
{
"id": 21,
"name": "Masajlı Koltuk",
"description": "Bu araçta masajlı koltuk bulunmaktadır."
},
{
"id": 22,
"name": "Antiviral Koruma",
"description": "Bu araçta antiviral koruma bulunmaktadır."
},
{
"id": 23,
"name": "Business",
"description": "Bu araç business sınıfta yer almaktadır."
}
],
"booking": {
"bookingItem": {
"tripId": "EB7B452F-AF3B-497B-BF98-4E804ADE4A50",
"providerTripId": "1",
"tripNumber": "",
"provider": "biletall",
"companyId": 37,
"companyName": "İnci Turizm",
"dayTime": "Gece",
"originId": 84,
"originName": "ANKARA",
"companyLogo": "https://eticket.ipektr.com/wsbos3/LogoVer.Aspx?fnum=37",
"firstOriginId": 84,
"firstOriginName": "0",
"destinationId": 738,
"destinationName": "KAYSERİ",
"lastDestinationId": 738,
"lastDestinationName": "KAYSERİ",
"busModelCode": "TR15",
"busModel": "Travego 15 SHD",
"busClass": "0",
"busPhone": "(536)-633-33-36",
"busPlate": "",
"busSeatType": "2+2",
"hasStopOver": true,
"totalDuration": "1900-01-01T05:00:00+03:00",
"estimatedDuration": "5-6",
"durationType": "1",
"date": "2024-10-21",
"time": "10:30",
"price": 40,
"price1": 40,
"classDiffPrice": 0,
"discountedPrice": 40,
"tripTypeText": "MOLALI",
"attributes": [],
"seatsAvailable": 44,
"hasSeatSelection": true,
"routeNumber": "3",
"routeName": "Ankara (Aşti) ->Kayseri ",
"tripTrackingNumber": "21686"
},
"priceCanBeChanged": true,
"freeGenderSelection": true,
"hesCodeRequired": true,
"passportNumberIsAvailable": true,
"diffPriceSeatSelection": true,
"doubleSeatSelection": true,
"doubleSeatSelectionWhenAllSinglesAreFullfilled": true,
"paymentRules": {
"is3DAvailable": false,
"force3D": false,
"prePaymentAvailable": false,
"postPaidAccounting": false
},
"seats": [
{
"seatId": "1",
"seatName": "01",
"status": "sold_to_famale",
"otherSeatStatus": "only_sellable_famale",
"seatPrice": 40,
"isSeat": true
},
{
"seatId": "2",
"seatName": "02",
"status": "sold_to_famale",
"otherSeatStatus": "only_sellable_famale",
"seatPrice": 40,
"isSeat": true
},
{
"seatName": "Koridor",
"isSeat": false
},
{
"seatId": "3",
"seatName": "03",
"status": "available",
"otherSeatStatus": "available",
"seatPrice": 40,
"isSeat": true
},
{
"seatId": "4",
"seatName": "04",
"status": "available",
"otherSeatStatus": "available",
"seatPrice": 40,
"isSeat": true
},
{
"seatId": "5",
"seatName": "05",
"status": "available",
"otherSeatStatus": "available",
"seatPrice": 40,
"isSeat": true
},
{
"seatId": "6",
"seatName": "06",
"status": "available",
"otherSeatStatus": "available",
"seatPrice": 40,
"isSeat": true
},
{
"seatName": "Koridor",
"isSeat": false
},
{
"seatId": "7",
"seatName": "07",
"status": "available",
"otherSeatStatus": "available",
"seatPrice": 40,
"isSeat": true
},
{
"seatId": "8",
"seatName": "08",
"status": "available",
"otherSeatStatus": "available",
"seatPrice": 40,
"isSeat": true
},
{
"seatId": "9",
"seatName": "09",
"status": "available",
"otherSeatStatus": "available",
"seatPrice": 40,
"isSeat": true
},
{
"seatId": "10",
"seatName": "10",
"status": "available",
"otherSeatStatus": "available",
"seatPrice": 40,
"isSeat": true
},
{
"seatName": "Koridor",
"isSeat": false
},
{
"seatId": "11",
"seatName": "11",
"status": "available",
"otherSeatStatus": "available",
"seatPrice": 40,
"isSeat": true
},
{
"seatId": "12",
"seatName": "12",
"status": "available",
"otherSeatStatus": "available",
"seatPrice": 40,
"isSeat": true
},
{
"seatId": "13",
"seatName": "13",
"status": "available",
"otherSeatStatus": "available",
"seatPrice": 40,
"isSeat": true
},
{
"seatId": "14",
"seatName": "14",
"status": "available",
"otherSeatStatus": "available",
"seatPrice": 40,
"isSeat": true
},
{
"seatName": "Koridor",
"isSeat": false
},
{
"seatId": "15",
"seatName": "15",
"status": "available",
"otherSeatStatus": "available",
"seatPrice": 40,
"isSeat": true
},
{
"seatId": "16",
"seatName": "16",
"status": "available",
"otherSeatStatus": "available",
"seatPrice": 40,
"isSeat": true
},
{
"seatId": "17",
"seatName": "17",
"status": "available",
"otherSeatStatus": "available",
"seatPrice": 40,
"isSeat": true
},
{
"seatId": "18",
"seatName": "18",
"status": "available",
"otherSeatStatus": "available",
"seatPrice": 40,
"isSeat": true
},
{
"seatName": "Koridor",
"isSeat": false
},
{
"seatId": "19",
"seatName": "19",
"status": "available",
"otherSeatStatus": "available",
"seatPrice": 40,
"isSeat": true
},
{
"seatId": "20",
"seatName": "20",
"status": "available",
"otherSeatStatus": "available",
"seatPrice": 40,
"isSeat": true
},
{
"seatId": "21",
"seatName": "21",
"status": "available",
"otherSeatStatus": "available",
"seatPrice": 40,
"isSeat": true
},
{
"seatId": "22",
"seatName": "22",
"status": "available",
"otherSeatStatus": "available",
"seatPrice": 40,
"isSeat": true
},
{
"seatName": "Koridor",
"isSeat": false
},
{
"seatId": "-3",
"seatName": "KA",
"status": "available",
"otherSeatStatus": "available",
"seatPrice": 40,
"isSeat": true
},
{
"seatId": "-3",
"seatName": "PI",
"status": "available",
"otherSeatStatus": "available",
"seatPrice": 40,
"isSeat": true
},
{
"seatId": "25",
"seatName": "25",
"status": "available",
"otherSeatStatus": "available",
"seatPrice": 40,
"isSeat": true
},
{
"seatId": "26",
"seatName": "26",
"status": "available",
"otherSeatStatus": "available",
"seatPrice": 40,
"isSeat": true
},
{
"seatName": "Koridor",
"isSeat": false
},
{
"seatId": "23",
"seatName": "23",
"status": "available",
"otherSeatStatus": "available",
"seatPrice": 40,
"isSeat": true
},
{
"seatId": "24",
"seatName": "24",
"status": "available",
"otherSeatStatus": "available",
"seatPrice": 40,
"isSeat": true
},
{
"seatId": "29",
"seatName": "29",
"status": "available",
"otherSeatStatus": "available",
"seatPrice": 40,
"isSeat": true
},
{
"seatId": "30",
"seatName": "30",
"status": "available",
"otherSeatStatus": "available",
"seatPrice": 40,
"isSeat": true
},
{
"seatName": "Koridor",
"isSeat": false
},
{
"seatId": "27",
"seatName": "27",
"status": "available",
"otherSeatStatus": "available",
"seatPrice": 40,
"isSeat": true
},
{
"seatId": "28",
"seatName": "28",
"status": "available",
"otherSeatStatus": "available",
"seatPrice": 40,
"isSeat": true
},
{
"seatId": "31",
"seatName": "31",
"status": "available",
"otherSeatStatus": "available",
"seatPrice": 40,
"isSeat": true
},
{
"seatId": "32",
"seatName": "32",
"status": "available",
"otherSeatStatus": "available",
"seatPrice": 40,
"isSeat": true
},
{
"seatName": "Koridor",
"isSeat": false
},
{
"seatId": "33",
"seatName": "33",
"status": "available",
"otherSeatStatus": "available",
"seatPrice": 40,
"isSeat": true
},
{
"seatId": "34",
"seatName": "34",
"status": "available",
"otherSeatStatus": "available",
"seatPrice": 40,
"isSeat": true
},
{
"seatId": "35",
"seatName": "35",
"status": "available",
"otherSeatStatus": "available",
"seatPrice": 40,
"isSeat": true
},
{
"seatId": "36",
"seatName": "36",
"status": "available",
"otherSeatStatus": "available",
"seatPrice": 40,
"isSeat": true
},
{
"seatName": "Koridor",
"isSeat": false
},
{
"seatId": "37",
"seatName": "37",
"status": "available",
"otherSeatStatus": "available",
"seatPrice": 40,
"isSeat": true
},
{
"seatId": "38",
"seatName": "38",
"status": "available",
"otherSeatStatus": "available",
"seatPrice": 40,
"isSeat": true
},
{
"seatId": "39",
"seatName": "39",
"status": "available",
"otherSeatStatus": "available",
"seatPrice": 40,
"isSeat": true
},
{
"seatId": "40",
"seatName": "40",
"status": "available",
"otherSeatStatus": "available",
"seatPrice": 40,
"isSeat": true
},
{
"seatName": "Koridor",
"isSeat": false
},
{
"seatId": "41",
"seatName": "41",
"status": "available",
"otherSeatStatus": "available",
"seatPrice": 40,
"isSeat": true
},
{
"seatId": "42",
"seatName": "42",
"status": "available",
"otherSeatStatus": "available",
"seatPrice": 40,
"isSeat": true
},
{
"seatId": "43",
"seatName": "43",
"status": "available",
"otherSeatStatus": "available",
"seatPrice": 40,
"isSeat": true
},
{
"seatId": "44",
"seatName": "44",
"status": "available",
"otherSeatStatus": "available",
"seatPrice": 40,
"isSeat": true
},
{
"seatName": "Koridor",
"isSeat": false
},
{
"seatId": "45",
"seatName": "45",
"status": "available",
"otherSeatStatus": "available",
"seatPrice": 40,
"isSeat": true
},
{
"seatId": "46",
"seatName": "46",
"status": "available",
"otherSeatStatus": "available",
"seatPrice": 40,
"isSeat": true
}
],
"tripTypes": [
{
"tripTypeId": "0",
"tripTypeName": "Normal",
"price": 40,
"classDiffPrice": 0,
"singleSeatPrice": 0
},
{
"tripTypeId": "1",
"tripTypeName": "Özürlü",
"price": 0,
"classDiffPrice": 0,
"singleSeatPrice": 0
},
{
"tripTypeId": "2",
"tripTypeName": "Çocuk",
"price": 0,
"classDiffPrice": 0,
"singleSeatPrice": 0
},
{
"tripTypeId": "3",
"tripTypeName": "Öğrenci",
"price": 0,
"classDiffPrice": 0,
"singleSeatPrice": 0
}
],
"selectedSeats": [
{
"seatId": "3",
"gender": "M",
"seat": {
"seatId": "3",
"seatName": "03",
"status": "available",
"otherSeatStatus": "available",
"seatPrice": 40,
"isSeat": true
}
}
]
},
"ttl": 3600
},
"success": true,
"code": 0,
"message": ""
}
Modified at 2024-11-28 01:29:13