- 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
- International
- One Way / 1 ADT
- Round Trip / 1 ADT
- Round Trip / 2 ADT
- 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": "VnMVVuXQ3DvtqGIm", "status": "success", "attempts": 0, "result": { "success": true, "isDomestic": true, "type": "flight", "currency": "TRY", "action": "search", "flightType": "oneway", "status": "pending", "bookingStatus": "pending", "searchStatus": "completed", "journeyId": "hDCPTz1ktpHwm4A67lNgrUs7K8Nby8ipTJdZ", "filters": { "stopCounts": [ { "value": 0, "label": "Aktarmasız" } ], "stops": [], "airLines": [ { "value": "TK", "label": "Turkish Airlines" } ], "cabinClass": [ { "value": "Economy", "label": "Economy" } ], "timeRanges": { "departureTimes": [ "08:15", "08:10", "09:15", "11:20", "12:15", "14:15", "15:25", "16:15", "17:10", "19:10", "20:10", "22:10", "23:15", "01:05" ], "arrivalTimes": [ "07:00", "08:00", "10:00", "11:00", "13:00", "14:10", "15:00", "16:00", "18:00", "19:00", "21:00", "22:00", "23:55" ], "durations": [ "01:15", "01:10", "01:20" ] }, "priceRange": { "min": 1136.82, "max": 1136.82 }, "programs": [] }, "results": [ { "searchId": "E468E58A-464A-4222-9E3E-7F06E8E0B28A", "flightId": "ec71f18c-f1f2-4508-b01b-a2c1f2985df4", "journeyId": "hDCPTz1ktpHwm4A67lNgrUs7K8Nby8ipTJdZ", "flightNumber": "TK2116", "isTransit": false, "isDomestic": true, "duration": "01:15", "airDuration": "01:15", "waitDuration": "00:00", "seatsAvailable": 9, "segments": [ { "segmentId": "35b6518a-0300-42f4-b3b2-71f7ddf5b911", "flightNumber": "TK2116", "type": "arrival", "sequenceNo": 1, "airplaneCode": null, "airplaneName": "AIRBUS A320", "duration": "01:15", "cabinClass": "Ekonomi", "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-09-26", "departureTime": "07:00", "departureDateTime": "2024-09-26 07:00", "arrivalDate": "2024-09-26", "arrivalTime": "08:15", "arrivalDateTime": "2024-09-26 08:15", "airlineLabel": "Turkish Airlines", "airlineMarketing": "TK", "airlineOperating": "TK", "airlineIcon": "http://api.tripingram.local/uploads/TK.png" } ],
Modified at 2024-11-28 01:29:13