- 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
Bus - Stations
POST
https://test-api.ucuzyolu.com/bus/points
Request
Authorization
Provide your bearer token in the
Authorization
header when making requests to protected resources.Example:
Authorization: Bearer ********************
Header Params
api-version
string
required
Example:
1.1
client-id
string
optional
Default:
302382-1928283273-237723829-292999
Body Params application/json
origin
integer
required
destination
integer
required
Example
{
"origin": 738,
"destination": 84
}
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/bus/points' \
--header 'api-version: 1.1' \
--header 'client-id: 302382-1928283273-237723829-292999' \
--header 'Content-Type: application/json' \
--data-raw '{
"origin": 738,
"destination": 84
}'
Responses
🟢200OK
application/json
Body
data
object
required
origin
object
required
destination
object
required
success
boolean
required
code
integer
required
message
string
required
Example
{
"data": {
"origin": {
"name": "Kayseri",
"realname": "Kayseri",
"slug": "kayseri",
"isCity": true
},
"destination": {
"name": "Ankara (Aşti)",
"realname": "Ankara (Aşti)",
"slug": "ankara-asti",
"isCity": true
}
},
"success": true,
"code": 0,
"message": ""
}
Modified at 2025-07-06 22:45:32