This endpoint retrieves a list of players in a campaign.
API Call Sample:
- stagehttps://asia.stage.rubyplay.io/api/v1/campaign/{campaignId}/participant
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
-u <username>:<password> \
'https://asia.stage.rubyplay.io/api/v1/campaign/123/participant?playerId=player_12345&receivedAt=2022-01-02T11%3A21%3A30&lastRoundDate=2022-01-02T11%3A21%3A30&status=QUEUED&paging.pageNumber=5&paging.pageSize=10&paging.sortBy=id&paging.order=ASCENDING'{ "content": [ { "id": 7, "playerId": "player123", "receivedAt": "2022-02-22T22:22:22Z", "totalBet": 777, "totalWin": 77, "roundsPlayed": 7, "lastRoundDate": "2022-02-22T22:22:22Z", "status": "QUEUED" } ], "total": 0, "_metadata": { "pagingInfo": { "pageNumber": 5, "pageSize": 10, "sortBy": "id", "order": "ASCENDING" }, "totalNumberOfElements": 0 } }
Query Parameters:
Player identifier in the Operator side
Date and time of receiving free rounds
Date and time of the last played free round within the campaign
QUEUED - A bonus is awarded to a player who has not used any of the free rounds yet.
IN_USE - A bonus is awarded to a player who has accepted the campaign. This status also applies to players who have started but haven't completed the free rounds yet. Free rounds for those players remain available even after the expiry date of the campaign.
COMPLETED - The player consumed all available free rounds, and any winnings have been awarded (issued to the Operator).
EXPIRED - The expiry date for free rounds has been reached, the promotion has been removed from player accounts, and any players who have not participated yet are not able to complete the promotion.
OPT_OUT - Player has declined the promotion pop up
Response Schema: