Get Tickets Usage Records
Description
取得票券使用紀錄。
Resource
GET /v1/tickets_usage_records
Authorization
採用 OAuth 2.0 Bearer Token,詳細使用流程請參考 Auth Login。
Request Example
GET /v1/tickets_usage_records
Response
{
"tickets": [
{
"id": "TE0020",
"name": "麥味登",
"ticket_type": "一般票券",
"ticket_kind": "禮券",
"product_name": "",
"price": 100,
"points": 0,
"img": null,
"can_transfer": true,
"description": "",
"begin_date": "2019/06/21",
"end_date": "2099/12/31",
"use_time": "2020-11-21 16:04:02",
"is_hidden_ticket_no": true,
"store": "台南陽光門市",
"status": "CREATE"
}
]
}
Response Body Parameters
| Name | Type | Description |
|---|---|---|
| tickets | Ticket | 票劵列表 |
Response Body Parameters - Ticket
| Name | Type | Description |
|---|---|---|
| id | string | 票劵編號 |
| name | string | 票劵名稱 |
| ticket_type | string | 票卷類型 ALLOWED VALUES:
|
| ticket_kind | string | 票劵種類 ALLOWED VALUES:
|
| product_name | string | 商品名稱 |
| price | integer | 票卷商品面額 |
| points | integer | 票卷點數 |
| img | string | 票卷圖檔 |
| can_transfer | Boolean | 是否可轉送 |
| description | string | 描述 |
| begin_date | string | 票劵上架日 |
| end_date | string | 票劵下架日 |
| use_time | string | 票券兑回時間 | |
| is_hidden_ticket_no | boolean | 是否隱藏票卷號碼 |
| store | string | 票券兑回門市 |
| status | string | 票券狀態 ALLOWED VALUES:
|