Get Unverified Admission Tickets
Description
取得未入園門票列表。
Resource
GET /v1/ticket/unverified_admission_tickets
Authorization
採用 OAuth 2.0 Bearer Token,詳細使用流程請參考 Auth Login。
Request
GET /v1/ticket/unverified_admission_tickets
Response Body Parameters
| Name | Type | Description |
|---|---|---|
| orders | Order | 訂單列表 |
Response Body Parameters - Order
| Name | Type | Description |
|---|---|---|
| id | string | 訂單編號 |
| expected_admission_date | string | 預計入園日期 EXAMPLE "2020-01-01" |
| extended_expiration_date | string | 系統展延有效日期 EXAMPLE "2020-01-01" |
| tickets | Ticket | 門票列表 |
Response Body Parameters - Ticket
| Name | Type | Description |
|---|---|---|
| id | string | 票券編號 |
| product_name | string | 門票名稱 |
| discount_amount | integer | 門票折抵金額 |
Response
{
"orders": [
{
"id": "021092800001",
"expected_admission_date": "2021-10-10 13:00:00",
"extended_expiration_date": null,
"tickets": [
{
"id": "BB100312",
"product_name": "全票",
"discount_amount": 250
},
{
"id": "BB100336",
"product_name": "敬老票",
"discount_amount": 150
}
]
},
{
"id": "021090100030",
"expected_admission_date": "2021-09-15 15:00:00",
"extended_expiration_date": "2021-10-15 15:00:00",
"tickets": [
{
"id": "BB100381",
"product_name": "全票",
"discount_amount": 250
},
{
"id": "BB100382",
"product_name": "全票",
"discount_amount": 250
}
]
}
]
}