Official Api
1.0.0
  • latest
  • 1.0.0
  1. One Way / 1 ADT
Official Api
1.0.0
  • 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 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
    • Enums - FlightSearchFilters
  • Flight
    • Search
      • Domestic
        • One Way / 1 ADT
          • Search Flight
            POST
          • Get Job (Flight)
            GET
          • Calculate Package Price
            POST
          • Allocate
            POST
          • Set Passengers
            POST
          • Prebooking
            POST
        • 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)
          • Allocate
          • Set Passengers
          • Prebooking
          • Payment Types
        • Round Trip / 1 ADT
          • Search Flight
          • Get Job (Flight)
          • Allocate
          • Set Passengers
          • Prebooking
        • Round Trip / 2 ADT
          • Search Flight
          • Get Job (Flight)
          • Calculate Price Copy
          • Allocate
          • Set Passengers
          • Prebooking
      • Search Flight - Filter
        POST
    • Price Alerts
      • Flight Alerts - Create
      • Flight Alerts - List
      • Flight Alerts - Delete
      • Flight Alerts - Create/Delete
    • Load Journey (dev only)
      GET
  • Bus
    • Bus - Search
    • Get Job (Bus)
    • Bus - Bus Details
    • Bus - Check Seat Status
    • Bus - Set Passengers
    • Bus - Finalize (Local Dev Only)
    • Bus - Search - Filter
  • 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
  • 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
  • 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
  • Contents
    • Kampanyalar
    • Contact Information
    • Gizlilik Sözleşmesi
  • Refund
    • Flight Refund (Query)
    • Flight Refund (Complete)
  • Notifications
    • Notification List
    • Notification - Mark as Read
  • Otp Verify
    POST
  1. One Way / 1 ADT

Get Job (Flight)

Testing Env
https://test-api.ucuzyolu.com
Testing Env
https://test-api.ucuzyolu.com
GET
https://test-api.ucuzyolu.com
/jobs/{{jobId}}

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

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 -g --request GET 'https://test-api.ucuzyolu.com/jobs/6vwj2fKT6hYRCatO' \
--header 'client-id: 302382-1928283273-237723829-292999'

Responses

🟢200OK
application/json
Body
data
object 
required
jobId
string 
required
status
string 
required
attempts
integer 
required
result
object (FlightSearchResponse) 
required
success
boolean 
required
code
integer 
required
message
string 
required
Example
{
    "data": {
        "jobId": "TOCzIcKBYTtr759Z",
        "status": "success",
        "attempts": 0,
        "result": {
            "success": true,
            "isDomestic": true,
            "type": "flight",
            "currency": "TRY",
            "action": "search",
            "flightType": "oneway",
            "status": "pending",
            "bookingStatus": "pending",
            "searchStatus": "completed",
            "journeyId": "C7T9jIGonhvJoOK3h7ve3o9qVQK330OaluiH",
            "results": [
                {
                    "searchId": "04C0F0B1-8866-440A-A590-FD539E49D8CC",
                    "flightId": "81d8c366-91cd-40d5-b997-f6bdc2c2013b",
                    "journeyId": "C7T9jIGonhvJoOK3h7ve3o9qVQK330OaluiH",
                    "flightNumber": "TK2192",
                    "isTransit": false,
                    "isDomestic": true,
                    "duration": "01:10",
                    "airDuration": "01:10",
                    "waitDuration": "00:00",
                    "seatsAvailable": 9,
                    "segments": [
                        {
                            "segmentId": "b75fd303-81e5-4da5-826e-7856b0e3846a",
                            "flightNumber": "TK2192",
                            "type": "arrival",
                            "sequenceNo": 1,
                            "airplaneCode": null,
                            "airplaneName": "BOEING B737-800",
                            "duration": "01:10",
                            "cabinClass": "economy",
                            "cabin": "T",
                            "seatsAvailable": 9,
                            "originAirport": "Atatürk Havalimanı",
                            "originAirportCode": "IST",
                            "originCity": "Istanbul",
                            "originCityCode": "IST",
                            "originCountry": "Turkey",
                            "originCountryCode": "TR",
                            "destinationAirport": "Esenboğa Havalimanı",
                            "destinationAirportCode": "ESB",
                            "destinationCity": "Ankara",
                            "destinationCityCode": "ANK",
                            "destinationCountry": "Turkey",
                            "destinationCountryCode": "TR",
                            "departureDate": "2024-10-20",
                            "departureTime": "02:00",
                            "departureDateTime": "2024-10-20 02:00",
                            "arrivalDate": "2024-10-20",
                            "arrivalTime": "03:10",
                            "arrivalDateTime": "2024-10-20 03:10",
                            "airlineLabel": "Turkish Airlines",
                            "airlineMarketing": "TK",
                            "airlineOperating": "TK",
                            "airlineIcon": null
                        }
                    ],
                    "paxItems": [
                        {
                            "paxId": "b5fef10c-b01b-4b33-9cf4-9590184cc494",
                            "serviceId": "06F2DAF9-E7DE-472F-B5C9-D637E94F89AC",
                            "paxCode": "ADT",
                            "sequence": 1,
                            "freeBaggage": [
                                {
                                    "value": 15,
                                    "paxCode": "ADT",
                                    "unit": "KG",
                                    "unitType": "weight"
                                }
                            ],
                            "serviceFee": 3,
                            "serviceFeeOriginal": 3,
                            "serviceFeeDiscount": 0,
                            "tax": 260.32,
                            "taxDiscount": 0,
                            "netFare": 0,
                            "totalFare": 1134.93,
                            "currency": "TRY",
                            "priceIncludesRoundPrice": false,
                            "vqFare": 0,
                            "yrFare": 0,
                            "ourFare": 3,
                            "totalPrice": 1137.93,
                            "baseFare": 871.61,
                            "needsRefresh": false
                        }
                    ],
                    "alternativePrices": [
                        {
                            "serviceId": "06F2DAF9-E7DE-472F-B5C9-D637E94F89AC",
                            "paxId": "b5fef10c-b01b-4b33-9cf4-9590184cc494",
                            "fareType": "EF",
                            "fareBasisCode": "TEF",
                            "paxCode": "ADT",
                            "paxSequence": 1,
                            "isPromo": false,
                            "businessLounge": false,
                            "seatSelection": false,
                            
Modified at 2024-11-28 01:29:13
Previous
Search Flight
Next
Calculate Package Price
Built with