- 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
Flight Alerts - Create
POST
https://test-api.ucuzyolu.com/customer/flightalerts/create
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
Body Params application/json
journeyId
string
required
Example
{
"journeyId": "{{journeyId}}"
}
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 POST 'https://test-api.ucuzyolu.com/customer/flightalerts/create' \
--header 'client-id: 302382-1928283273-237723829-292999' \
--header 'Content-Type: application/json' \
--data-raw '{
"journeyId": ""
}'
Responses
🟢200OK
application/json
Body
data
object
required
type
string
required
origin
string
required
destination
string
required
date
string
required
adt
integer
required
chd
integer
required
inf
integer
required
price
number
required
id
integer
required
flightType
string
required
returnDate
null
required
expiresAt
string
required
customerId
integer
required
updatedAt
string
required
createdAt
string
required
success
boolean
required
code
integer
required
message
string
required
Example
{
"data": {
"type": "alert",
"origin": "IST",
"destination": "ESB",
"date": "2024-10-05",
"adt": 1,
"chd": 0,
"inf": 0,
"price": 1140.24,
"id": 49,
"flightType": "oneway",
"returnDate": null,
"expiresAt": "2024-10-05T21:00:00.000000Z",
"customerId": 1,
"updatedAt": "2024-10-04T14:51:13+03:00",
"createdAt": "2024-10-04T14:51:13+03:00"
},
"success": true,
"code": 0,
"message": ""
}
Modified at 2024-11-28 01:29:13