POST api/Mem/QuerySubscribeEpaper
查詢是否訂閱電子報
Request Information
URI Parameters
None.
Body Parameters
QuerySubscribeEpaper_Input| Name | Description | Type | Additional information |
|---|---|---|---|
| Ticket |
身份票據 |
string |
Required |
| userId |
使用者帳號 |
string |
Required |
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
查詢是否訂閱電子報
QuerySubscribeEpaper_Output| Name | Description | Type | Additional information |
|---|---|---|---|
| newsletter |
是否訂閱電子報 |
boolean |
None. |
| ticketVerified |
驗證是否通過 |
boolean |
None. |
Response Formats
application/json, text/json
Sample:
{
"newsletter": true,
"ticketVerified": true
}
text/html
Sample:
{"newsletter":true,"ticketVerified":true}