POST api/ContestResult/UpsertRaceContestResult
Request Information
URI Parameters
None.
Body Parameters
Collection of UpsertContestQuestionResultCommandDtoName | Description | Type | Additional information |
---|---|---|---|
ContestId | globally unique identifier |
None. |
|
QuestionId | globally unique identifier |
None. |
|
DriverId | globally unique identifier |
None. |
|
TeamId | globally unique identifier |
None. |
|
ResponseText | string |
None. |
|
UserId | globally unique identifier |
None. |
Request Formats
application/json, text/json
Sample:
[ { "ContestId": "43a826fa-2342-411e-a53c-6d594addd6fa", "QuestionId": "5f9ec201-242a-47af-a923-9c0e737d7e48", "DriverId": "877e99cc-2c61-4c89-aee1-3277ab851cc2", "TeamId": "6cbdd7e0-e348-4705-b46d-90a72e5c594a", "ResponseText": "sample string 3", "UserId": "52aeafe6-d349-4bfd-a074-68de0a6b2593" }, { "ContestId": "43a826fa-2342-411e-a53c-6d594addd6fa", "QuestionId": "5f9ec201-242a-47af-a923-9c0e737d7e48", "DriverId": "877e99cc-2c61-4c89-aee1-3277ab851cc2", "TeamId": "6cbdd7e0-e348-4705-b46d-90a72e5c594a", "ResponseText": "sample string 3", "UserId": "52aeafe6-d349-4bfd-a074-68de0a6b2593" } ]
application/xml, text/xml
Sample:
<ArrayOfUpsertContestQuestionResultCommandDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BusinessLayer.Modules.ContestQuestionResultModule.Model"> <UpsertContestQuestionResultCommandDto> <ContestId>43a826fa-2342-411e-a53c-6d594addd6fa</ContestId> <DriverId>877e99cc-2c61-4c89-aee1-3277ab851cc2</DriverId> <QuestionId>5f9ec201-242a-47af-a923-9c0e737d7e48</QuestionId> <ResponseText>sample string 3</ResponseText> <TeamId>6cbdd7e0-e348-4705-b46d-90a72e5c594a</TeamId> <UserId>52aeafe6-d349-4bfd-a074-68de0a6b2593</UserId> </UpsertContestQuestionResultCommandDto> <UpsertContestQuestionResultCommandDto> <ContestId>43a826fa-2342-411e-a53c-6d594addd6fa</ContestId> <DriverId>877e99cc-2c61-4c89-aee1-3277ab851cc2</DriverId> <QuestionId>5f9ec201-242a-47af-a923-9c0e737d7e48</QuestionId> <ResponseText>sample string 3</ResponseText> <TeamId>6cbdd7e0-e348-4705-b46d-90a72e5c594a</TeamId> <UserId>52aeafe6-d349-4bfd-a074-68de0a6b2593</UserId> </UpsertContestQuestionResultCommandDto> </ArrayOfUpsertContestQuestionResultCommandDto>
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>