- 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
- Otp VerifyPOST
Auth Otp Verify
Testing Env
Testing Env
POST
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
Body Params application/json
code
number
required
Example
{
"code": "1234"
}
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 POST 'https://test-api.ucuzyolu.com/jobs/6vwj2fKT6hYRCatO' \
--header 'client-id: 302382-1928283273-237723829-292999' \
--header 'Content-Type: application/json' \
--data-raw '{
"code": "1234"
}'
Responses
🟢200OK
application/json
Body
data
object (Auth Payload)
required
id
integer
required
name
string
required
phone
string
required
email
string
required
newsletter
object
optional
birthDate
string <date>
optional
identityNumber
string | null
optional
accountNumber
string | null
optional
type
enum<string>
required
Allowed values:
guestuser
lastloginAt
string | null
optional
expireAt
string
required
token
string
required
loginToken
string
optional
success
boolean
required
code
integer
required
message
string
required
Example
{
"data": {
"id": 1,
"name": "John Due",
"phone": "+905322808035",
"email": "johndue1@example.com",
"newsletter": {
"sms": false,
"email": false,
"push": false
},
"company": {
"name": "Sekiz Kreatif",
"email": "johndue1@example.com",
"phone": "+905322808035",
"address": null,
"zipcode": null,
"active": false,
"commercialTitle": null,
"taxOffice": "Avcılar",
"taxNumber": "7590477978"
},
"type": "user",
"token": "eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJjcmVhdGVkX2F0IjoiMjAyNC0wOC0xOSAxMTo0OToxNCIsImlkIjoxLCJuYW1lIjoiSm9obiBEdWUiLCJwaG9uZSI6Iis5MDUzMjI4MDgwMzUiLCJlbWFpbCI6ImpvaG5kdWUxQGV4YW1wbGUuY29tIiwibmV3c2xldHRlciI6eyJzbXMiOmZhbHNlLCJlbWFpbCI6ZmFsc2UsInB1c2giOmZhbHNlfSwiYmlydGhfZGF0ZSI6IjE5ODktMDQtMjAiLCJpZGVudGl0eV9udW1iZXIiOm51bGwsImFjY291bnRfbnVtYmVyIjoiVVkxNzI0MDU3MzU0IiwibWVtYmVyc2hpcF90eXBlIjoiY29ycG9yYXRlIiwiY29tcGFueSI6eyJuYW1lIjoiU2VraXogS3JlYXRpZiIsImNvbW1lcmNpYWxfdGl0bGUiOm51bGwsImVtYWlsIjoiam9obmR1ZTFAZXhhbXBsZS5jb20iLCJwaG9uZSI6Iis5MDUzMjI4MDgwMzUiLCJhZGRyZXNzIjpudWxsLCJ6aXBjb2RlIjpudWxsLCJ0YXhfb2ZmaWNlIjoiQXZjxLFsYXIiLCJ0YXhfbnVtYmVyIjoiNzU5MDQ3Nzk3OCIsImFjdGl2ZSI6ZmFsc2V9LCJ0eXBlIjoidXNlciIsImxhc3Rsb2dpbl9hdCI6IjIwMjQtMDgtMTlUMDg6NDk6MTQuNDA2MDQ3WiIsImV4cGlyZV9hdCI6IjIwMjQtMDgtMjBUMDg6NDk6MTQuNDA2MDY3WiJ9.PCdO27_Ap1gzzSYJDyNbXZTtEvNZpLd3eA1QDEb-tcY",
"birthDate": "1989-04-20",
"identityNumber": null,
"accountNumber": "UY1724057354",
"membershipType": "corporate",
"lastloginAt": "2024-08-19T08:49:14.406047Z",
"expireAt": "2024-08-20T08:49:14.406067Z"
},
"success": true,
"code": 0,
"message": ""
}
Modified at 2024-11-28 01:29:13