POST api/Notification/GetActivityType
查詢活動類型
Request Information
URI Parameters
None.
Body Parameters
GetActivityType_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
查詢活動類型
GetActivityType_Output| Name | Description | Type | Additional information |
|---|---|---|---|
| ticketVerified |
驗證是否通過 |
boolean |
None. |
| status |
狀態 0:系統錯誤 1:設定成功 |
integer |
None. |
| Activitys |
活動類型 |
Collection of ActivityType |
None. |
Response Formats
application/json, text/json
Sample:
{
"ticketVerified": true,
"status": 2,
"Activitys": [
{
"ID": "sample string 1",
"Name": "sample string 2"
},
{
"ID": "sample string 1",
"Name": "sample string 2"
}
]
}
text/html
Sample:
{"ticketVerified":true,"status":2,"Activitys":[{"ID":"sample string 1","Name":"sample string 2"},{"ID":"sample string 1","Name":"sample string 2"}]}