POST api/ContestLeaderboardReward/AddContestLeaderboardReward
Request Information
URI Parameters
None.
Body Parameters
Collection of UpsertContestLeaderboardCommandDtoName | Description | Type | Additional information |
---|---|---|---|
ContestId | globally unique identifier |
None. |
|
Description | string |
None. |
|
UserId | globally unique identifier |
None. |
Request Formats
application/json, text/json
Sample:
[ { "ContestId": "b4eb6448-e681-406e-bb62-3f97a35c6b30", "Description": "sample string 2", "UserId": "08c57fc2-5525-4c0c-a500-a9edfb3b63b5" }, { "ContestId": "b4eb6448-e681-406e-bb62-3f97a35c6b30", "Description": "sample string 2", "UserId": "08c57fc2-5525-4c0c-a500-a9edfb3b63b5" } ]
application/xml, text/xml
Sample:
<ArrayOfUpsertContestLeaderboardCommandDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BusinessLayer.Modules.ContestLeaderboardSetupModule.Model"> <UpsertContestLeaderboardCommandDto> <ContestId>b4eb6448-e681-406e-bb62-3f97a35c6b30</ContestId> <Description>sample string 2</Description> <UserId>08c57fc2-5525-4c0c-a500-a9edfb3b63b5</UserId> </UpsertContestLeaderboardCommandDto> <UpsertContestLeaderboardCommandDto> <ContestId>b4eb6448-e681-406e-bb62-3f97a35c6b30</ContestId> <Description>sample string 2</Description> <UserId>08c57fc2-5525-4c0c-a500-a9edfb3b63b5</UserId> </UpsertContestLeaderboardCommandDto> </ArrayOfUpsertContestLeaderboardCommandDto>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
stringResponse Formats
application/json, text/json
Sample:
"sample string 1"
application/xml, text/xml
Sample:
<string xmlns="http://schemas.microsoft.com/2003/10/Serialization/">sample string 1</string>