POST api/ArriveNotice/UpTrackListing
更新追蹤商品
Request Information
URI Parameters
None.
Body Parameters
UpTrackListing_Input| Name | Description | Type | Additional information |
|---|---|---|---|
| userId |
帳號 |
string |
Required |
| prouctNumber |
商品代號 |
string |
Required |
| updateType |
更新方式 新增:insert 移除:delete |
string |
Required |
| CodeNo |
追蹤編號 |
integer |
None. |
| Ticket |
身份票據 |
string |
Required |
Request Formats
application/json, text/json
Sample:
{
"userId": "sample string 1",
"prouctNumber": "sample string 2",
"updateType": "sample string 3",
"CodeNo": 4,
"Ticket": "sample string 5"
}
text/html
Sample:
{"userId":"sample string 1","prouctNumber":"sample string 2","updateType":"sample string 3","CodeNo":4,"Ticket":"sample string 5"}
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
更新追蹤商品
UpTrackListing_Output| Name | Description | Type | Additional information |
|---|---|---|---|
| status |
0:系統錯誤 1:更新成功 |
integer |
None. |
| ticketVerified |
驗證是否通過 |
boolean |
None. |
Response Formats
application/json, text/json
Sample:
{
"status": 1,
"ticketVerified": true
}
text/html
Sample:
{"status":1,"ticketVerified":true}