POST api/LuckyDraw/GetActivitiesInfo
取得活動資訊
Request Information
URI Parameters
None.
Body Parameters
GetActivitiesInfo_Input| Name | Description | Type | Additional information |
|---|---|---|---|
| userId |
會員帳號 |
string |
None. |
| Ticket |
身份票據 |
string |
Required |
| eventId |
抽獎活動ID |
globally unique identifier |
Required |
Request Formats
application/json, text/json
Sample:
{
"userId": "sample string 1",
"Ticket": "sample string 2",
"eventId": "91db57a8-a547-40e9-9a04-e41b52f9b76e"
}
text/html
Sample:
{"userId":"sample string 1","Ticket":"sample string 2","eventId":"91db57a8-a547-40e9-9a04-e41b52f9b76e"}
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
取得活動資訊
GetActivitiesInfo_Output| Name | Description | Type | Additional information |
|---|---|---|---|
| ticketVerified |
驗證是否通過 |
boolean |
None. |
| eventName |
活動名稱 |
string |
None. |
| eventRule |
遊戲規則說明 |
string |
None. |
| notWinName |
無中獎的獎項名稱 |
Collection of string |
None. |
Response Formats
application/json, text/json
Sample:
{
"ticketVerified": true,
"eventName": "sample string 2",
"eventRule": "sample string 3",
"notWinName": [
"sample string 1",
"sample string 2"
]
}
text/html
Sample:
{"ticketVerified":true,"eventName":"sample string 2","eventRule":"sample string 3","notWinName":["sample string 1","sample string 2"]}