HUB
  1. Cms
HUB
  • Swagger
    • Tours
      • BasicAuth
      • BasicAuth
      • BasicAuth
      • BasicAuth
      • BasicAuth
      • BasicAuth
      • BasicAuth
      • BasicAuth
    • Auth
      • Cache flush
      • Change password
      • /auth/v1/login
      • Logout
      • Get me
      • /auth/v1/refresh-token
    • Cms
      • BearerAuth
      • BearerAuth
      • BearerAuth
      • BearerAuth
      • BearerAuth
      • BearerAuth
      • BearerAuth
      • BearerAuth
      • BearerAuth
      • BearerAuth
      • BearerAuth
      • BearerAuth
      • BearerAuth
      • BearerAuth
      • BearerAuth
      • BearerAuth
      • BearerAuth
      • BearerAuth
      • BearerAuth
      • BearerAuth
      • BearerAuth
      • BearerAuth
      • BearerAuth
      • BearerAuth
      • BearerAuth
      • BearerAuth
      • BearerAuth
      • BearerAuth
      • BearerAuth
      • BearerAuth
      • BearerAuth
      • BearerAuth
      • BearerAuth
      • BearerAuth
      • BearerAuth
      • BearerAuth
      • BearerAuth
      • BearerAuth
      • BearerAuth
      • BearerAuth
      • BearerAuth
      • BearerAuth
      • BearerAuth
      • BearerAuth
      • BearerAuth
      • BearerAuth
      • BearerAuth
      • BearerAuth
      • BearerAuth
      • BearerAuth
      • BearerAuth
      • BearerAuth
      • BearerAuth
      • BearerAuth
      • BearerAuth
      • BearerAuth
      • BearerAuth
      • BearerAuth
      • BearerAuth
      • BearerAuth
      • BearerAuth
      • BearerAuth
      • BearerAuth
      • BearerAuth
      • BearerAuth
      • BearerAuth
      • BearerAuth
      • BearerAuth
      • BearerAuth
      • BearerAuth
      • BearerAuth
      • BearerAuth
      • BearerAuth
      • BearerAuth
      • BearerAuth
      • BearerAuth
      • BearerAuth
      • BearerAuth
      • BearerAuth
      • BearerAuth
      • BearerAuth
      • BearerAuth
      • BearerAuth
      • BearerAuth
      • BearerAuth
      • BearerAuth
      • BearerAuth
      • BearerAuth
    • Rest
      • BearerAuth
    • Storage
      • BearerAuth
      • BearerAuth
      • BearerAuth
      • BearerAuth
    • Webhook
      • BasicAuth
    • Websocket
      • BearerAuth
  • Tested
    • 1. Get Providers
    • 2. Get Locations
    • 3. Get Routes
    • 4. Get Schedules
    • 5. Get Nations by Schedule ID
    • 6. Get Seats by Schedule ID
    • 7. Hold booking
    • 8. Comfirm booking
    • 9. Get Booking Detail
    • 10. Get List Booking
    • 11. Publish Ticket
    • 12. Cancel Ticket
    • 13. Update Ticket Info
  • Waterbuses
    • /waterbuses/providers
    • Get Providers
    • Booking Cancel
    • BasicAuth
    • BasicAuth
    • BasicAuth
    • BasicAuth
    • BasicAuth
    • BasicAuth
    • BasicAuth
    • BasicAuth
    • BasicAuth
    • BasicAuth
  • Swg new
    • Tours
      • BasicAuth
      • BasicAuth
      • BasicAuth
      • BasicAuth
      • BasicAuth
      • BasicAuth
      • BasicAuth
      • BasicAuth
    • Waterbuses
      • BasicAuth
      • BasicAuth
      • BasicAuth
      • BasicAuth
      • BasicAuth
      • BasicAuth
      • BasicAuth
      • BasicAuth
      • BasicAuth
      • BasicAuth
      • BasicAuth
      • BasicAuth
      • BasicAuth
    • Auth
      • Cache flush
      • Change password
      • /auth/v1/login
      • Logout
      • Get me
      • /auth/v1/refresh-token
    • Cms
      • List audit logs
        GET
      • BearerAuth
        GET
      • BearerAuth
        POST
      • BearerAuth
        GET
      • BearerAuth
        POST
      • BearerAuth
        DELETE
      • BearerAuth
        GET
      • BearerAuth
        GET
      • BearerAuth
        GET
      • BearerAuth
        DELETE
      • BearerAuth
        GET
      • BearerAuth
        GET
      • BearerAuth
        GET
      • BearerAuth
        GET
      • BearerAuth
        GET
      • BearerAuth
        GET
      • BearerAuth
        GET
      • BearerAuth
        GET
      • BearerAuth
        GET
      • BearerAuth
        GET
      • BearerAuth
        GET
      • BearerAuth
        GET
      • BearerAuth
        PUT
      • BearerAuth
        GET
      • BearerAuth
        POST
      • BearerAuth
        GET
      • BearerAuth
        PUT
      • BearerAuth
        GET
      • BearerAuth
        PUT
      • BearerAuth
        GET
      • BearerAuth
        PUT
      • tennat
        GET
      • BearerAuth
        POST
      • BearerAuth
        GET
      • BearerAuth
        GET
      • BearerAuth
        GET
      • BearerAuth
        GET
      • BearerAuth
        GET
      • BearerAuth
        GET
      • BearerAuth
        GET
      • BearerAuth
        GET
      • BearerAuth
        PUT
      • BearerAuth
        POST
      • BearerAuth
        GET
      • BearerAuth
        POST
      • BearerAuth
        POST
      • BearerAuth
        GET
      • BearerAuth
        GET
      • BearerAuth
        GET
      • BearerAuth
        POST
      • BearerAuth
        PUT
      • BearerAuth
        GET
      • BearerAuth
        GET
      • BearerAuth
        GET
      • BearerAuth
        GET
      • BearerAuth
        PUT
      • BearerAuth
        PUT
      • BearerAuth
        GET
      • BearerAuth
        PUT
      • BearerAuth
        PUT
      • BearerAuth
        GET
      • BearerAuth
        POST
      • BearerAuth
        GET
      • BearerAuth
        PUT
      • BearerAuth
        POST
      • BearerAuth
        GET
      • BearerAuth
        POST
      • BearerAuth
        POST
      • BearerAuth
        POST
      • BearerAuth
        POST
      • BearerAuth
        POST
      • BearerAuth
        GET
      • BearerAuth
        GET
      • BearerAuth
        GET
      • BearerAuth
        PUT
      • BearerAuth
        GET
      • BearerAuth
        GET
      • BearerAuth
        POST
      • BearerAuth
        GET
      • BearerAuth
        PUT
      • BearerAuth
        GET
      • BearerAuth
        GET
      • BearerAuth
        GET
      • BearerAuth
        PUT
      • BearerAuth
        PUT
      • BearerAuth
        GET
      • BearerAuth
        GET
      • BearerAuth
        GET
    • Rest
      • BearerAuth
    • Storage
      • BearerAuth
      • BearerAuth
      • BearerAuth
      • BearerAuth
    • Webhook
      • BasicAuth
    • Websocket
      • BearerAuth
  • swg 4
    • Tours
      • BasicAuth
      • BasicAuth
      • BasicAuth
      • BasicAuth
      • BasicAuth
      • BasicAuth
      • BasicAuth
      • BasicAuth
    • Waterbuses
      • BasicAuth
      • BasicAuth
      • BasicAuth
      • BasicAuth
      • BasicAuth
      • BasicAuth
      • BasicAuth
      • BasicAuth
      • BasicAuth
      • BasicAuth
      • BasicAuth
      • BasicAuth
      • BasicAuth
    • Auth
      • /auth/v1/cache-flush
      • /auth/v1/change-password
      • /auth/v1/login
      • /auth/v1/logout
      • /auth/v1/me
      • /auth/v1/refresh-token
    • Cms
      • /cms/v1/auditlogs
      • /cms/v1/balances
      • /cms/v1/balances
      • /cms/v1/clients
      • /cms/v1/clients
      • /cms/v1/clients/{client_id}
      • /cms/v1/cronjobs
      • /cms/v1/cronjobs/tours
      • /cms/v1/cronjobs/waterbuses
      • /cms/v1/cronjobs/{cronjob_id}
      • /cms/v1/customers
      • /cms/v1/customers/{customer_id}
      • /cms/v1/hubs/providers
      • /cms/v1/hubs/reports/balances/details
      • /cms/v1/hubs/reports/balances/summaries
      • /cms/v1/hubs/reports/waterbuses/balances/details
      • /cms/v1/hubs/reports/waterbuses/balances/summaries
      • /cms/v1/hubs/reports/waterbuses/bookings/details
      • /cms/v1/hubs/reports/waterbuses/bookings/summaries
      • /cms/v1/hubs/tenants
      • /cms/v1/providers
      • /cms/v1/providers/{provider_id}
      • /cms/v1/providers/{provider_id}
      • /cms/v1/roles
      • /cms/v1/roles
      • /cms/v1/roles/{role_id}
      • /cms/v1/roles/{role_id}
      • /cms/v1/settings/mail
      • /cms/v1/settings/mail
      • /cms/v1/settings/webhook
      • /cms/v1/settings/webhook
      • /cms/v1/tenants
      • /cms/v1/tenants
      • /cms/v1/tenants/balance
      • /cms/v1/tenants/reports/balances/details
      • /cms/v1/tenants/reports/balances/summaries
      • /cms/v1/tenants/reports/waterbuses/balances/details
      • /cms/v1/tenants/reports/waterbuses/balances/summaries
      • /cms/v1/tenants/reports/waterbuses/bookings/details
      • /cms/v1/tenants/reports/waterbuses/bookings/summaries
      • /cms/v1/tenants/{tenant_id}
      • /cms/v1/tenants/{tenant_id}
      • /cms/v1/tenants/{tenant_id}/reset-password
      • /cms/v1/tours/bookings
      • /cms/v1/tours/bookings/confirm
      • /cms/v1/tours/bookings/hold
      • /cms/v1/tours/bookings/{booking_id}
      • /cms/v1/tours/locations
      • /cms/v1/tours/prices-markup
      • /cms/v1/tours/prices-markup
      • /cms/v1/tours/prices-markup/{price_id}
      • /cms/v1/tours/providers
      • /cms/v1/tours/reports/summaries/bookings
      • /cms/v1/tours/routes
      • /cms/v1/tours/routes/{route_id}
      • /cms/v1/tours/routes/{route_id}
      • /cms/v1/tours/routes/{route_id}/change-status
      • /cms/v1/tours/schedules
      • /cms/v1/tours/schedules/{schedule_id}
      • /cms/v1/tours/schedules/{schedule_id}/change-status
      • /cms/v1/users
      • /cms/v1/users
      • /cms/v1/users/{user_id}
      • /cms/v1/users/{user_id}
      • /cms/v1/users/{user_id}/reset-password
      • /cms/v1/waterbuses/bookings
      • /cms/v1/waterbuses/bookings/cancel
      • /cms/v1/waterbuses/bookings/confirm
      • /cms/v1/waterbuses/bookings/hold
      • /cms/v1/waterbuses/bookings/publish
      • /cms/v1/waterbuses/bookings/update
      • /cms/v1/waterbuses/bookings/{booking_id}
      • /cms/v1/waterbuses/issues
      • /cms/v1/waterbuses/issues/{issue_id}
      • /cms/v1/waterbuses/issues/{issue_id}
      • /cms/v1/waterbuses/locations
      • /cms/v1/waterbuses/prices-markup
      • /cms/v1/waterbuses/prices-markup
      • /cms/v1/waterbuses/prices-markup/{price_id}
      • /cms/v1/waterbuses/prices-markup/{price_id}
      • /cms/v1/waterbuses/providers
      • /cms/v1/waterbuses/routes
      • /cms/v1/waterbuses/routes/{route_id}
      • /cms/v1/waterbuses/routes/{route_id}
      • /cms/v1/waterbuses/routes/{route_id}/change-status
      • /cms/v1/waterbuses/schedules
      • /cms/v1/waterbuses/schedules/{schedule_id}/nations
      • /cms/v1/waterbuses/schedules/{schedule_id}/seats
    • Rest
      • /rest/v1/metas
    • Storage
      • /storage/v1/images
      • /storage/v1/images/{filename}
      • /storage/v1/videos
      • /storage/v1/videos/{filename}
    • Webhook
      • BasicAuth
    • Websocket
      • /websocket/v1
  1. Cms

BearerAuth

Testing Env
https://stg-api-hub.suntraveltech.com
Testing Env
https://stg-api-hub.suntraveltech.com
GET
https://stg-api-hub.suntraveltech.com
/cms/v1/tours/bookings
Last modified:2025-03-13 08:57:36
Maintainer:Not configured

Request

Authorization
Send your HTTP requests with an
Authorization
header that contains the word Basic followed by a space and a base64-encoded string username:password
Example:
Authorization: Basic *****************
Query Params

Request Code 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://stg-api-hub.suntraveltech.com/cms/v1/tours/bookings?limit&page' \
--header 'Authorization: Basic <encoded-value>'

Responses

🟢200OK
*/*
OK
Body

Example
[
    {
        "booker_info": {
            "address": "Hồ Chí Minh",
            "booker": "Nguyễn Văn A",
            "email": "abc@gmail.com",
            "phone": "0973123456"
        },
        "booking_id": "string",
        "expired_at": "string",
        "fail_code": "string",
        "fail_msg": "string",
        "paid_amount": 0,
        "provider": {
            "data_status": "enable",
            "description": "Aloha Beautiful",
            "images": [
                "https://cdn.aloha.com/image_1.png"
            ],
            "logo": "https://cdn.aloha.com/logo.png",
            "name": "Aloha",
            "provider_id": "671db9eca1f1b1bdbf3d4616",
            "updated_at": "2006-01-02T03:04:05Z",
            "updated_by": "editor"
        },
        "provider_id": "string",
        "request_id": "string",
        "schedule_id": "string",
        "status": "request",
        "tenant_id": "string",
        "ticket_detail": {
            "address": "Hồ Chí Minh",
            "booker": "Nguyễn Văn A",
            "booking_code": "11679",
            "booking_id": "a89db9eca1f1b1bdbf3d4345",
            "depart_date": "2024-10-25T03:15:00Z",
            "email": "abc@gmail.com",
            "end_date": "2024-10-30T03:15:00Z",
            "no_of_tickets": 1,
            "order_no": "20220527PQ-RG0004",
            "paid_amount": 340000,
            "phone": "0973123456",
            "request_id": "request_id_001",
            "route_nm": "Khám phá Tây Bắc: Hà Nội - Hòa Bình - Mộc Châu - Điện Biên - Lai Châu - Sapa - Fansipan - Yên Bái - Hồ Thác Bà - Phú Thọ - Đền Hùng",
            "status": "request",
            "ticket_details": [
                {
                    "email": "abc@gmail.com",
                    "full_nm": "Nguyễn Văn A",
                    "gender": "male",
                    "id_no": "080091123456",
                    "phone": "0973123456",
                    "pob": "Hồ Chí Minh",
                    "yob": "2006-01-02"
                }
            ],
            "vehicle_nm": "Máy bay"
        },
        "ticket_infos": [
            {
                "email": "abc@gmail.com",
                "full_nm": "Nguyễn Văn A",
                "gender": "male",
                "id_no": "080091123456",
                "phone": "0973123456",
                "pob": "Hồ Chí Minh",
                "service_price_ids": [
                    "string"
                ],
                "ticket_price_id": "string",
                "yob": "2006-01-02"
            }
        ],
        "total_amount": 0,
        "transaction_id": "string",
        "updated_at": "string",
        "updated_by": "string"
    }
]
🟠400Bad Request
🟠401Unauthorized
🟠403Forbidden
🔴500Server Error
Modified at 2025-03-13 08:57:36
Previous
BearerAuth
Next
BearerAuth
Built with