- 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
- Bus
- Hotel
- Socket
- Auto Completes
- Queue / Socket
- Misc
- Payment
- Orders
- Blog
- Contents
- Refund
- Notifications
- Checkout
- Otp VerifyPOST
- StatusGET
Search History - Flight
GET
https://test-api.ucuzyolu.com/customer/searchhistory/flight
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 --request GET 'https://test-api.ucuzyolu.com/customer/searchhistory/flight' \
--header 'client-id: 302382-1928283273-237723829-292999'
Responses
🟢200OK
application/json
Body
data
array [object {10}]
required
origin
string
required
destination
string
required
date
string
required
adt
integer
required
chd
integer | null
optional
inf
integer | null
optional
returnDate
string | null
optional
flightType
string
required
originAirport
object
required
destinationAirport
object
required
success
boolean
required
code
integer
required
message
string
required
Example
{
"data": [
{
"origin": "IST",
"destination": "ESB",
"date": "2024-09-26",
"adt": 1,
"chd": 0,
"inf": 0,
"returnDate": null,
"flightType": "oneway",
"originAirport": {
"name": "Atatürk Havalimanı",
"code": "IST",
"city": "Istanbul"
},
"destinationAirport": {
"name": "Esenboğa Havalimanı",
"code": "ESB",
"city": "Ankara"
}
}
],
"success": true,
"code": 0,
"message": ""
}
Modified at 2024-11-28 01:29:13