POST api/OrderPeriod/StopPeriod
取消定期購
Request Information
URI Parameters
None.
Body Parameters
StopPeriod_Input| Name | Description | Type | Additional information |
|---|---|---|---|
| Ticket |
身份票據 |
string |
Required |
| userId |
會員帳號 |
string |
Required |
| id |
定期購訂單ID |
globally unique identifier |
Required |
Request Formats
application/json, text/json
Sample:
{
"Ticket": "sample string 1",
"userId": "sample string 2",
"id": "19664a9d-c92a-4b66-858b-0bb9155b81da"
}
text/html
Sample:
{"Ticket":"sample string 1","userId":"sample string 2","id":"19664a9d-c92a-4b66-858b-0bb9155b81da"}
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
取消定期購
StopPeriod_Output| Name | Description | Type | Additional information |
|---|---|---|---|
| ticketVerified |
驗證是否通過 |
boolean |
None. |
| status |
0: 系統錯誤1: 取消成功 2: 定期購訂單不存在 |
integer |
None. |
Response Formats
application/json, text/json
Sample:
{
"ticketVerified": true,
"status": 2
}
text/html
Sample:
{"ticketVerified":true,"status":2}