- 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
- Search
- Domestic
- One Way / 1 ADT
- Round Trip / 1 ADT
- Round Trip / 2 ADT
- Round Trip / 1 ADT (Non package)
- International
- Search Flight - FilterPOST
- Price Alerts
- Load Journey (dev only)GET
- Bus
- Hotel
- Socket
- Auto Completes
- Queue / Socket
- Misc
- Payment
- Orders
- Blog
- Contents
- Refund
- Notifications
- Checkout
- Otp VerifyPOST
- StatusGET
Get Job (Flight)
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