POST api/ContestResult/GetContestReward
Request Information
URI Parameters
None.
Body Parameters
ContestInfoName | Description | Type | Additional information |
---|---|---|---|
ContestId | globally unique identifier |
None. |
|
ResultType | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "ContestId": "5cd6f894-425d-4a7e-b264-7c4e2e63c58d", "ResultType": "sample string 2" }
application/xml, text/xml
Sample:
<ContestInfo xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BusinessLayer.Modules.ContestResultModule.Model"> <ContestId>5cd6f894-425d-4a7e-b264-7c4e2e63c58d</ContestId> <ResultType>sample string 2</ResultType> </ContestInfo>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
Collection of ContestRuleDtoName | Description | Type | Additional information |
---|---|---|---|
ContestId | globally unique identifier |
None. |
|
DriverId | globally unique identifier |
None. |
|
ResultType | string |
None. |
|
Rank | integer |
None. |
Response Formats
application/json, text/json
Sample:
[ { "ContestId": "d09bb46c-53cd-4276-9540-ef0cbf1bfff7", "DriverId": "0d047274-d09c-4c74-8a47-1c58c69b4770", "ResultType": "sample string 2", "Rank": 3 }, { "ContestId": "d09bb46c-53cd-4276-9540-ef0cbf1bfff7", "DriverId": "0d047274-d09c-4c74-8a47-1c58c69b4770", "ResultType": "sample string 2", "Rank": 3 } ]
application/xml, text/xml
Sample:
<ArrayOfContestRuleDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BusinessLayer.Modules.ContestResultModule.Model"> <ContestRuleDto> <ContestId>d09bb46c-53cd-4276-9540-ef0cbf1bfff7</ContestId> <DriverId>0d047274-d09c-4c74-8a47-1c58c69b4770</DriverId> <Rank>3</Rank> <ResultType>sample string 2</ResultType> </ContestRuleDto> <ContestRuleDto> <ContestId>d09bb46c-53cd-4276-9540-ef0cbf1bfff7</ContestId> <DriverId>0d047274-d09c-4c74-8a47-1c58c69b4770</DriverId> <Rank>3</Rank> <ResultType>sample string 2</ResultType> </ContestRuleDto> </ArrayOfContestRuleDto>