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": "3dfe4d0d-32dc-4267-a535-35be85d95b23", "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>3dfe4d0d-32dc-4267-a535-35be85d95b23</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": "fe974e0f-e351-4dae-83e1-9d19e3860430", "DriverId": "6d0e811a-2f37-410e-acff-a434a1af1596", "ResultType": "sample string 2", "Rank": 3 }, { "ContestId": "fe974e0f-e351-4dae-83e1-9d19e3860430", "DriverId": "6d0e811a-2f37-410e-acff-a434a1af1596", "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>fe974e0f-e351-4dae-83e1-9d19e3860430</ContestId> <DriverId>6d0e811a-2f37-410e-acff-a434a1af1596</DriverId> <Rank>3</Rank> <ResultType>sample string 2</ResultType> </ContestRuleDto> <ContestRuleDto> <ContestId>fe974e0f-e351-4dae-83e1-9d19e3860430</ContestId> <DriverId>6d0e811a-2f37-410e-acff-a434a1af1596</DriverId> <Rank>3</Rank> <ResultType>sample string 2</ResultType> </ContestRuleDto> </ArrayOfContestRuleDto>