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
      • 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
      • tennat
      • 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
  • 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
        GET
      • /cms/v1/balances
        GET
      • /cms/v1/balances
        POST
      • /cms/v1/clients
        GET
      • /cms/v1/clients
        POST
      • /cms/v1/clients/{client_id}
        DELETE
      • /cms/v1/cronjobs
        GET
      • /cms/v1/cronjobs/tours
        GET
      • /cms/v1/cronjobs/waterbuses
        GET
      • /cms/v1/cronjobs/{cronjob_id}
        DELETE
      • /cms/v1/customers
        GET
      • /cms/v1/customers/{customer_id}
        GET
      • /cms/v1/hubs/providers
        GET
      • /cms/v1/hubs/reports/balances/details
        GET
      • /cms/v1/hubs/reports/balances/summaries
        GET
      • /cms/v1/hubs/reports/waterbuses/balances/details
        GET
      • /cms/v1/hubs/reports/waterbuses/balances/summaries
        GET
      • /cms/v1/hubs/reports/waterbuses/bookings/details
        GET
      • /cms/v1/hubs/reports/waterbuses/bookings/summaries
        GET
      • /cms/v1/hubs/tenants
        GET
      • /cms/v1/providers
        GET
      • /cms/v1/providers/{provider_id}
        GET
      • /cms/v1/providers/{provider_id}
        PUT
      • /cms/v1/roles
        GET
      • /cms/v1/roles
        POST
      • /cms/v1/roles/{role_id}
        GET
      • /cms/v1/roles/{role_id}
        PUT
      • /cms/v1/settings/mail
        GET
      • /cms/v1/settings/mail
        PUT
      • /cms/v1/settings/webhook
        GET
      • /cms/v1/settings/webhook
        PUT
      • /cms/v1/tenants
        GET
      • /cms/v1/tenants
        POST
      • /cms/v1/tenants/balance
        GET
      • /cms/v1/tenants/reports/balances/details
        GET
      • /cms/v1/tenants/reports/balances/summaries
        GET
      • /cms/v1/tenants/reports/waterbuses/balances/details
        GET
      • /cms/v1/tenants/reports/waterbuses/balances/summaries
        GET
      • /cms/v1/tenants/reports/waterbuses/bookings/details
        GET
      • /cms/v1/tenants/reports/waterbuses/bookings/summaries
        GET
      • /cms/v1/tenants/{tenant_id}
        GET
      • /cms/v1/tenants/{tenant_id}
        PUT
      • /cms/v1/tenants/{tenant_id}/reset-password
        POST
      • /cms/v1/tours/bookings
        GET
      • /cms/v1/tours/bookings/confirm
        POST
      • /cms/v1/tours/bookings/hold
        POST
      • /cms/v1/tours/bookings/{booking_id}
        GET
      • /cms/v1/tours/locations
        GET
      • /cms/v1/tours/prices-markup
        GET
      • /cms/v1/tours/prices-markup
        POST
      • /cms/v1/tours/prices-markup/{price_id}
        PUT
      • /cms/v1/tours/providers
        GET
      • /cms/v1/tours/reports/summaries/bookings
        GET
      • /cms/v1/tours/routes
        GET
      • /cms/v1/tours/routes/{route_id}
        GET
      • /cms/v1/tours/routes/{route_id}
        PUT
      • /cms/v1/tours/routes/{route_id}/change-status
        PUT
      • /cms/v1/tours/schedules
        GET
      • /cms/v1/tours/schedules/{schedule_id}
        PUT
      • /cms/v1/tours/schedules/{schedule_id}/change-status
        PUT
      • /cms/v1/users
        GET
      • /cms/v1/users
        POST
      • /cms/v1/users/{user_id}
        GET
      • /cms/v1/users/{user_id}
        PUT
      • /cms/v1/users/{user_id}/reset-password
        POST
      • /cms/v1/waterbuses/bookings
        GET
      • /cms/v1/waterbuses/bookings/cancel
        POST
      • /cms/v1/waterbuses/bookings/confirm
        POST
      • /cms/v1/waterbuses/bookings/hold
        POST
      • /cms/v1/waterbuses/bookings/publish
        POST
      • /cms/v1/waterbuses/bookings/update
        POST
      • /cms/v1/waterbuses/bookings/{booking_id}
        GET
      • /cms/v1/waterbuses/issues
        GET
      • /cms/v1/waterbuses/issues/{issue_id}
        GET
      • /cms/v1/waterbuses/issues/{issue_id}
        PUT
      • /cms/v1/waterbuses/locations
        GET
      • /cms/v1/waterbuses/prices-markup
        GET
      • /cms/v1/waterbuses/prices-markup
        POST
      • /cms/v1/waterbuses/prices-markup/{price_id}
        GET
      • /cms/v1/waterbuses/prices-markup/{price_id}
        PUT
      • /cms/v1/waterbuses/providers
        GET
      • /cms/v1/waterbuses/routes
        GET
      • /cms/v1/waterbuses/routes/{route_id}
        GET
      • /cms/v1/waterbuses/routes/{route_id}
        PUT
      • /cms/v1/waterbuses/routes/{route_id}/change-status
        PUT
      • /cms/v1/waterbuses/schedules
        GET
      • /cms/v1/waterbuses/schedules/{schedule_id}/nations
        GET
      • /cms/v1/waterbuses/schedules/{schedule_id}/seats
        GET
    • 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

/cms/v1/tours/bookings/{booking_id}

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/{booking_id}
Last modified:2025-03-13 09:42:25
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 *****************
Path 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/' \
--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"
}
Modified at 2025-03-13 09:42:25
Previous
/cms/v1/tours/bookings/hold
Next
/cms/v1/tours/locations
Built with