POST api/LuckyDraw/GetMemGamePrizes

取得會員在活動中抽到的獎項

Request Information

URI Parameters

None.

Body Parameters

MemGamePrizes_Input
NameDescriptionTypeAdditional information
userId

會員帳號

string

Required

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": "81ec7e73-f839-4970-a430-4ff276cfc034"
}

text/html

Sample:
{"userId":"sample string 1","Ticket":"sample string 2","eventId":"81ec7e73-f839-4970-a430-4ff276cfc034"}

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

取得會員在活動中抽到的獎項

MemGamePrizes_Output
NameDescriptionTypeAdditional information
ticketVerified

驗證是否通過

boolean

None.

prizes

獎項清單

Collection of Prizes

None.

Response Formats

application/json, text/json

Sample:
{
  "ticketVerified": true,
  "prizes": [
    {
      "time": "sample string 1",
      "prizeType": 2,
      "prize": "sample string 3",
      "CouponNo": "sample string 4",
      "Point": 5
    },
    {
      "time": "sample string 1",
      "prizeType": 2,
      "prize": "sample string 3",
      "CouponNo": "sample string 4",
      "Point": 5
    }
  ]
}

text/html

Sample:
{"ticketVerified":true,"prizes":[{"time":"sample string 1","prizeType":2,"prize":"sample string 3","CouponNo":"sample string 4","Point":5},{"time":"sample string 1","prizeType":2,"prize":"sample string 3","CouponNo":"sample string 4","Point":5}]}