GET : /api/v1/tours/country
Field | Type | Description | Sample_Data |
---|---|---|---|
x-api-key | String | Token Key | 1234567890abcdef |
x-accept-language | String | ขอข้อมูลเป็นภาษาอะไร | Allowed values: "th", "en", "ch" |
Field | Type | Description | Sample_Data |
---|---|---|---|
{}
GET : /api/v1/tours/detail/:tour_id
Field | Type | Description | Sample_Data |
---|---|---|---|
x-api-key | String | Token Key | 1234567890abcdef |
Field | Type | Description | Sample_Data |
---|---|---|---|
{}
GET : /api/v1/tours/list
Field | Type | Description | Sample_Data |
---|---|---|---|
x-api-key | String | Token Key | 1234567890abcdef/td> |
Field | Type | Description | Sample_Data |
---|---|---|---|
tour_id | String/Object | รหัสแพ็กเกจทัวร์ | "1, 2, 3", ["1", "2"], [1, 2] |
start_page (optional) | Number | กำหนดว่าจะดึงข้อมูลเริ่มจากหน้าไหน | 1 |
limit_page (optional) | String | กำหนดจำนวนข้อมูลต่อหน้า | 10 |
visible | String | สถานะการแสดงผล | true,false |
{
"tour_id": ["101", "102"],
"start_page": "1",
"limit_page": "10",
"visible": "1"
}
GET : /api/v1/tours/period/:tour_id
Field | Type | Description | Sample_Data |
---|---|---|---|
x-api-key | String | Token Key | 1234567890abcdef |
Field | Type | Description | Sample_Data |
---|---|---|---|
{}
GET : /api/v1/tours/search
Field | Type | Description | Sample_Data |
---|---|---|---|
x-api-key | String | Token Key | 1234567890abcdef |
Field | Type | Description | Sample_Data | tour_id | String/Object | รหัสแพ็กเกจทัวร์ | "1, 2, 3", ["1", "2"], [1, 2] |
---|---|---|---|
search | String | คำสั่งค้นหา | Japan Winter |
country_id | String/Object | รหัสประเทศ | "1, 2, 3", ["1", "2"], [1, 2] |
city_id | String/Object | รหัสเมือง | "1, 2, 3", ["1", "2"], [1, 2] |
area_id | String/Object | รหัสภูมิภาค | "1, 2, 3", ["1", "2"], [1, 2] |
start_page (optional) | Number | กำหนดว่าจะดึงข้อมูลเริ่มจากหน้าไหน | 0 |
limit_page (optional) | String | กำหนดจำนวนข้อมูลต่อหน้า | 10 |
rate_start (optional) | Number | คะแนนรีวิวขั้นต่ำ | 3 |
rate_end (optional) | Number | คะแนนรีวิวสูงสุด | 5 |
date_start (optional) | Date | วันที่เริ่มต้นการเดินทาง | 1/12/2025 |
date_end (optional) | Date | วันที่สิ้นสุดการเดินทาง | 31/12/2025 |
sort (optional) | String | การเรียงลำดับข้อมูล | Allowed values: "price_min", "price_max", "name_min", "name_max", "date_min", "date_max" |
{
"tour_id": ["101"],
"search": "Japan Winter",
"country_id": ["81"],
"city_id": ["8101"],
"area_id": ["8"],
"start_page": "0",
"limit_page": "10",
"rate_start": "3",
"rate_end": "5",
"date_start": "2025-12-01",
"date_end": "2025-12-31",
"sort": "price_min"
}