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": "8c4bd23b-cce3-4439-88f3-c089bd919704", "QuestionId": "f4938946-d8c0-4283-9dea-407047c57970", "DriverId": "36351ab9-f5f7-4c38-b0ca-6f71dadd6224", "TeamId": "ed2c2ae9-4d95-445f-bead-d295bb736c81", "ResponseText": "sample string 3", "UserId": "1e0346b1-ed20-4a28-b997-0e8e9e3117e8" }, { "ContestId": "8c4bd23b-cce3-4439-88f3-c089bd919704", "QuestionId": "f4938946-d8c0-4283-9dea-407047c57970", "DriverId": "36351ab9-f5f7-4c38-b0ca-6f71dadd6224", "TeamId": "ed2c2ae9-4d95-445f-bead-d295bb736c81", "ResponseText": "sample string 3", "UserId": "1e0346b1-ed20-4a28-b997-0e8e9e3117e8" } ]
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>8c4bd23b-cce3-4439-88f3-c089bd919704</ContestId> <DriverId>36351ab9-f5f7-4c38-b0ca-6f71dadd6224</DriverId> <QuestionId>f4938946-d8c0-4283-9dea-407047c57970</QuestionId> <ResponseText>sample string 3</ResponseText> <TeamId>ed2c2ae9-4d95-445f-bead-d295bb736c81</TeamId> <UserId>1e0346b1-ed20-4a28-b997-0e8e9e3117e8</UserId> </UpsertContestQuestionResultCommandDto> <UpsertContestQuestionResultCommandDto> <ContestId>8c4bd23b-cce3-4439-88f3-c089bd919704</ContestId> <DriverId>36351ab9-f5f7-4c38-b0ca-6f71dadd6224</DriverId> <QuestionId>f4938946-d8c0-4283-9dea-407047c57970</QuestionId> <ResponseText>sample string 3</ResponseText> <TeamId>ed2c2ae9-4d95-445f-bead-d295bb736c81</TeamId> <UserId>1e0346b1-ed20-4a28-b997-0e8e9e3117e8</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>