POST api/LuckyDraw/GetInProgressActivities
取得進行中活動
Request Information
URI Parameters
None.
Body Parameters
GetInProgressActivities_Input| Name | Description | Type | Additional information |
|---|---|---|---|
| userId |
會員帳號 |
string |
None. |
| Ticket |
身份票據 |
string |
Required |
Request Formats
application/json, text/json
Sample:
{
"userId": "sample string 1",
"Ticket": "sample string 2"
}
text/html
Sample:
{"userId":"sample string 1","Ticket":"sample string 2"}
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
取得進行中活動
GetInProgressActivities_Output| Name | Description | Type | Additional information |
|---|---|---|---|
| ticketVerified |
驗證是否通過 |
boolean |
None. |
| eventsGoingOn |
進行中活動 |
eventsGoingOn |
None. |
Response Formats
application/json, text/json
Sample:
{
"ticketVerified": true,
"eventsGoingOn": {
"eventName": "sample string 1",
"eventIcon": "sample string 2",
"eventId": "26a29165-4934-41d5-841e-ed2e9b56ee22"
}
}
text/html
Sample:
{"ticketVerified":true,"eventsGoingOn":{"eventName":"sample string 1","eventIcon":"sample string 2","eventId":"26a29165-4934-41d5-841e-ed2e9b56ee22"}}