Official Api
latest
  • latest
  • 1.0.0
  1. One Way / 1 ADT
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
    • Enums - FlightSearchFilters
  • 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
            POST
          • Get Job (Flight)
            GET
          • Calculate Price Copy Copy
            POST
          • Allocate
            POST
          • Set Passengers
            POST
          • Prebooking
            POST
          • Payment Types
            GET
        • 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
        POST
    • Price Alerts
      • Flight Alerts - Create
      • Flight Alerts - List
      • Flight Alerts - Delete
      • Flight Alerts - Create/Delete
    • Load Journey (dev only)
      GET
  • Bus
    • Bus - Search with Slug
    • 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
    • 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. One Way / 1 ADT

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
Previous
Search Flight
Next
Calculate Price Copy Copy
Built with