POST api/ContestResult/UpsertRaceContestResult

Request Information

URI Parameters

None.

Body Parameters

Collection of UpsertContestQuestionResultCommandDto
NameDescriptionTypeAdditional 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": "2963bb61-a978-4190-8b6b-726fcd15cdf6",
    "QuestionId": "0f8edeb7-674f-4fe3-a0bf-9a0e246cb658",
    "DriverId": "16d0cb18-7d87-4e1f-bcc6-38ceac5844ad",
    "TeamId": "ffc735e7-f98c-44ee-a5f4-ac8b399b1e87",
    "ResponseText": "sample string 3",
    "UserId": "e6f2b4dc-6571-4aaf-9af2-4c58dbddef60"
  },
  {
    "ContestId": "2963bb61-a978-4190-8b6b-726fcd15cdf6",
    "QuestionId": "0f8edeb7-674f-4fe3-a0bf-9a0e246cb658",
    "DriverId": "16d0cb18-7d87-4e1f-bcc6-38ceac5844ad",
    "TeamId": "ffc735e7-f98c-44ee-a5f4-ac8b399b1e87",
    "ResponseText": "sample string 3",
    "UserId": "e6f2b4dc-6571-4aaf-9af2-4c58dbddef60"
  }
]

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>2963bb61-a978-4190-8b6b-726fcd15cdf6</ContestId>
    <DriverId>16d0cb18-7d87-4e1f-bcc6-38ceac5844ad</DriverId>
    <QuestionId>0f8edeb7-674f-4fe3-a0bf-9a0e246cb658</QuestionId>
    <ResponseText>sample string 3</ResponseText>
    <TeamId>ffc735e7-f98c-44ee-a5f4-ac8b399b1e87</TeamId>
    <UserId>e6f2b4dc-6571-4aaf-9af2-4c58dbddef60</UserId>
  </UpsertContestQuestionResultCommandDto>
  <UpsertContestQuestionResultCommandDto>
    <ContestId>2963bb61-a978-4190-8b6b-726fcd15cdf6</ContestId>
    <DriverId>16d0cb18-7d87-4e1f-bcc6-38ceac5844ad</DriverId>
    <QuestionId>0f8edeb7-674f-4fe3-a0bf-9a0e246cb658</QuestionId>
    <ResponseText>sample string 3</ResponseText>
    <TeamId>ffc735e7-f98c-44ee-a5f4-ac8b399b1e87</TeamId>
    <UserId>e6f2b4dc-6571-4aaf-9af2-4c58dbddef60</UserId>
  </UpsertContestQuestionResultCommandDto>
</ArrayOfUpsertContestQuestionResultCommandDto>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'IList`1'.

Response Information

Resource Description

string

Response 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>