POST api/Invoice/GetMemberDonate
取得財政部可捐贈的組織列表(會員設定頁)
Request Information
URI Parameters
None.
Body Parameters
ListOfDonatedInvoices_Input| Name | Description | Type | Additional information |
|---|---|---|---|
| Ticket |
身份票據 |
string |
Required |
| userId |
會員帳號 |
string |
None. |
Request Formats
application/json, text/json
Sample:
{
"Ticket": "sample string 1",
"userId": "sample string 2"
}
text/html
Sample:
{"Ticket":"sample string 1","userId":"sample string 2"}
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
取得財政部可捐贈的組織列表(會員設定頁)
ListOfDonatedInvoices_Output| Name | Description | Type | Additional information |
|---|---|---|---|
| ticketVerified |
驗證是否通過 |
boolean |
None. |
| donateSetting |
會員設定的捐贈碼(單筆) |
DonatedInvoice |
None. |
| organizations |
捐贈發票 |
Collection of DonatedInvoice |
None. |
Response Formats
application/json, text/json
Sample:
{
"ticketVerified": true,
"donateSetting": {
"name": "sample string 1",
"donateCode": "sample string 2"
},
"organizations": [
{
"name": "sample string 1",
"donateCode": "sample string 2"
},
{
"name": "sample string 1",
"donateCode": "sample string 2"
}
]
}
text/html
Sample:
{"ticketVerified":true,"donateSetting":{"name":"sample string 1","donateCode":"sample string 2"},"organizations":[{"name":"sample string 1","donateCode":"sample string 2"},{"name":"sample string 1","donateCode":"sample string 2"}]}