- 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
Favorites - Flight
GET
https://test-api.ucuzyolu.com/customer/favorites/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/favorites/flight' \
--header 'client-id: 302382-1928283273-237723829-292999'
Responses
🟢200OK
application/json
Body
data
array[object (Customer Flight Favorite) {12}]
required
id
integer
required
origin
string
required
destination
string
required
date
string
required
adt
integer
required
chd
integer
required
inf
integer
required
createdAt
string
required
returnDate
string | null
required
flightType
string
required
originAirport
object
required
destinationAirport
object
required
success
boolean
required
code
integer
required
message
string
required
Example
{
"data": [
{
"id": 34,
"origin": "VAS",
"destination": "ESB",
"originAirport": {
"name": "Nuri Demirağ Havalimanı",
"code": "VAS",
"city": "Sivas"
},
"destinationAirport": {
"name": "Esenboğa Havalimanı",
"code": "ESB",
"city": "Ankara"
}
}
],
"success": true,
"code": 0,
"message": ""
}
Modified at 2024-11-28 01:29:13