CBT Thailand Data API

GetRecommendedRouteDetail



Description


      This service informs you an additional information about the recommended route such as name of place stop, fee, location, etc.


Request Header

Header

Description

Content-Type

application/json, text/json

Method

GET

Authorization

Bearer {Your CBT API key}

Accept-Language

Display language support: "th" or "en"


Parameter

Name

Type

Required

Description

routeId

String

Required

ID of the route.


*Required parameters must be assigned at least one value.


Status Codes

Status Codes

Description

200 OK

Request successful

400 Bad Request

Problem with the request

401 Unauthorized

Valid API Key is not specified

403 Forbidden

Not authorized to access the resource

404 Not Found

No result found for the query

405 Method Not Allowed

A request method is not supported for the requested resource

500 Internal Server Error

Error on the internal server


Response Body

Name

Type

Description


API Reference

Input


Output


Sample

https://cbtthailand.dasta.or.th/CBTAPI/Route/GetRouteDetails?routeId=1

สุดยอดสถานที่ท่องเที่ยวบ้านลมจอย

                     

ข้อมูล

                                                                                                                         

มีแหล่งธรรมชาติ