2200 Register participant
Register a participant in instant win
Endpoint ID: | 2200 | |||||||||
Method: | GET | |||||||||
URL: | loyalty/entity/id/{entityID}/instantwin/{apiID} loyalty/entity/ext-key/{ext-key}/{ext-type}/instantwin/{apiID} | |||||||||
entityID | dialogportal™ master key that uniquely identifies the entity | |||||||||
ext-key | External key that uniquely identifies the entity | |||||||||
ext-type | Type of external key | |||||||||
apiID | A GUID string identifier for the instant win | |||||||||
Request body: | None | |||||||||
Response body: | JSON data with information about winner status loyalty/instantwin – participant won { "winner": true, "details": { "id": 1, "name": "Some prize", "description": "An explanation of the prize", "numParticipants": 34, "numWinners": 3 } } loyalty/instantwin – participant lost { "winner": false } | |||||||||
Status codes: | 200 | OK | ||||||||
404 | Not found The following sub-codes may be returned:
| |||||||||
400.1 | Invalid data |