Register a participant in instant win
Endpoint ID: | 2200 | |
Method: | GET | |
URL: | loyalty/instantwin/{apiID}/id/{entityID} loyalty/instantwin/{apiID}/iext-key/{ext-key}/{ext-type} | |
apiID | A GUID string identifier for the instant win | |
entityID | dialogportal™ master key that uniquely identifies the entity | |
ext-key | External key that uniquely identifies the entity | |
ext-type | Type of external key | |
Request body: | None | |
Response body: | JSON data with information about winner status loyalty/instantwin – participient won { "winner": ture, "details": { "id": "1", "name": "Some gain", "description": "This explains these gain", "noofparticipients": 34, "noofwinners": 3 } ] } loyalty/instantwin – participient lost { "winner": false, "details": "" ] } | |
Status codes: | 200 | OK |
404.1 | Instant win not found | |
404.2 | Instant win gain not found | |
500.3 | Server erreor |