POST api/Invoice/UpdateMemberDonated
更新會員預設捐贈碼
Request Information
URI Parameters
None.
Body Parameters
UpdateDonate_Input| Name | Description | Type | Additional information |
|---|---|---|---|
| Ticket |
身份票據 |
string |
Required |
| donateCode |
愛心碼 |
string |
None. |
| userId |
會員帳號 |
string |
None. |
Request Formats
application/json, text/json
Sample:
{
"Ticket": "sample string 1",
"donateCode": "sample string 2",
"userId": "sample string 3"
}
text/html
Sample:
{"Ticket":"sample string 1","donateCode":"sample string 2","userId":"sample string 3"}
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
更新會員預設捐贈碼
UpdateDonate_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}