Official Api
latest
  • latest
  • 1.0.0
  1. Bus
Official Api
latest
  • latest
  • 1.0.0
  • Auth
    • Login/Guest Login
      • Auth - Guest
      • Auth - Login
      • Auth - Login (With E-Mail)
    • Register
      • Auth - Register
      • Auth - Register Corporate
    • Remember
      • Auth - Remember Password
      • Auth - Remember Password For E-Mail
      • Auth - Remember Otp Verify
      • Auth - Set New Password
    • Auth Otp Verify
      POST
    • Auth - Logout
      DELETE
    • Auth - State
      GET
  • Customer
    • Passengers
      • Passenger List
      • Passenger Create
      • Passenger Delete
      • Passenger Update
    • invoice Info
      • Invoice Info - List
      • Invoice Info - Create
      • Invoice Info - Delete
      • Invoice Info - Update
    • Favorite Flights
      • Favorites - Flight
      • Favorites - Add Flight
      • Favorites - Delete Flight
      • Favorites - Check for Flight
    • Notifications
      • Notifications - Get
      • Notifications - Update
      • Notifications - Register Device
      • Notifications - Unregister Device
    • Fast Actions
      • Fast Actions - Get Flight Actions
      • Fast Actions - Update Flight Actions
      • Fast Actions - Get Bus Actions
      • Fast Actions - Update Bus Actions
      • Fast Actions - Clear Flight Actions
    • Customer - Get Profile
      GET
    • Customer - Update Profile
      POST
    • Customer - Update Password
      POST
    • Search History - Flight
      GET
    • Customer - Remove Account
      DELETE
  • Utils
    • Calendar - Month
      GET
    • Enums - FlightSearchFilters
      GET
  • Flight
    • Search
      • Domestic
        • One Way / 1 ADT
          • Search Flight
          • Get Job (Flight)
          • Calculate Package Price
          • Allocate
          • Set Passengers
          • Prebooking
        • Round Trip / 1 ADT
          • Search Flight
          • Get Job (Flight)
          • Calculate Price
          • Allocate
          • Set Passengers
          • Prebooking
        • Round Trip / 2 ADT
          • Search Flight
          • Get Job (Flight)
          • Calculate Price
          • Allocate
          • Set Passengers
          • Prebooking
        • Round Trip / 1 ADT (Non package)
          • Search Flight
          • Get Job (Flight)
          • Allocate
          • Set Passengers
          • Prebooking
      • International
        • One Way / 1 ADT
          • Search Flight
          • Get Job (Flight)
          • Calculate Price Copy Copy
          • Allocate
          • Set Passengers
          • Prebooking
          • Payment Types
        • Round Trip / 1 ADT
          • Search Flight
          • Get Job (Flight)
          • Allocate
          • Calculate Price
          • Set Passengers
          • Prebooking
        • Round Trip / 2 ADT
          • Search Flight
          • Get Job (Flight)
          • Calculate Price Copy
          • Allocate
          • Set Passengers
          • Prebooking
      • Search Flight - Filter
    • Price Alerts
      • Flight Alerts - Create
      • Flight Alerts - List
      • Flight Alerts - Delete
      • Flight Alerts - Create/Delete
    • Load Journey (dev only)
  • Bus
    • Bus - Search with Slug
      POST
    • Bus - Search
      POST
    • Get Job (Bus)
      GET
    • Bus - Bus Details
      POST
    • Bus - Check Seat Status
      POST
    • Bus - Set Passengers
      POST
    • Bus - Finalize (Local Dev Only)
      POST
    • Bus - Search - Filter
      POST
    • Bus - Stations
      POST
  • Hotel
    • Hotel - Search by Destination
    • Hotel - Search by Hotel Code
    • Get Job (Hotel)
    • Hotel - Get Hotel Details
    • Hotel - Validate Rooms
    • Hotel - Set Paxes
    • Hotel - Complete (Dev Only)
  • Socket
    • Auth
    • Subscribe Channel/Module
    • Emit Message
    • Search Airports
    • Search Hotels
    • Emit Subscribe Job
  • Auto Completes
    • Airport Search
    • Bus Station Search
    • Hotel Search
  • Queue / Socket
    • Get Job
  • Misc
    • Airlines
    • Countries
    • Popular Cities
    • Currencies
    • Contact Form
    • Check Module Availability
    • Popular Flights
    • Newsletter Subscribe
  • Payment
    • Pay with Account Balance (For Corporate Customers)
      • Payment - Account - Check Availablity
      • Payment - Account - Make Payment
    • Credit Card Storage
      • Saved Cards - List
      • Saved Cards - Add
      • Saved Cards - Delete
    • Pay with Credit Card (New Card)
      • Payment Types - Get All
      • Card Payment - Bin Query
      • Card Payment - Prepare 3D Form (new card)
      • Card Payment - Check Status
    • Pay with Credit Card (Saved Card)
      • Payment Types - Get All
      • Saved Cards - List
      • Card Payment - Bin Query
      • Card Payment - Prepare 3D Form (new card)
      • Card Payment - Check Status
  • Orders
    • Get Orders
    • Get Order
    • Upcoming Travels
    • Check Pnr
    • Check Order Status
  • Blog
    • Blog - Custom Tags
    • Blog - Category
    • Blog - Newest
    • Blog - Categories
    • Blog - Post
  • Contents
    • Kampanyalar
    • Contact Information
    • Gizlilik Sözleşmesi
    • Sık Sorulan Sorular
    • Popular Flights
    • Popular Cities
    • Popular Bus Routes
    • Get Slug Service
    • City - Flight
    • Get Page
  • Refund
    • Flight Refund (Query)
    • Flight Refund (Complete)
  • Notifications
    • Notification List
    • Notification - Mark as Read
  • Checkout
    • Coupons
      • Apply Coupon
      • Remove Coupon
    • Cart
  • Otp Verify
    POST
  • Status
    GET
  1. Bus

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

Body Params application/json

Example
{
    "journeyId": "string",
    "tripId": "string",
    "seats": [
        {
            "seatId": 0,
            "gender": "M"
        }
    ]
}

Request Code 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 '{
    "journeyId": "string",
    "tripId": "string",
    "seats": [
        {
            "seatId": 0,
            "gender": "M"
        }
    ]
}'

Responses

🟢200OK
application/json
Body

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 2025-04-30 01:17:42
Previous
Bus - Bus Details
Next
Bus - Set Passengers
Built with