POST api/CompetitionV2/PostResult?victory={victory}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| victory | boolean |
Required |
Body Parameters
Collection of QuestionAnswerV2ViewModel| Name | Description | Type | Additional information |
|---|---|---|---|
| CollectionRID | string |
None. |
|
| QuestionRecordId | string |
None. |
|
| RecordOptionA | boolean |
None. |
|
| RecordOptionB | boolean |
None. |
|
| RecordOptionC | boolean |
None. |
|
| RecordOptionD | boolean |
None. |
|
| RecordOptionY | string |
None. |
|
| AnswerTime | integer |
None. |
|
| Result | boolean |
None. |
|
| Score | integer |
None. |
Request Formats
application/json, text/json
Sample:
[
{
"CollectionRID": "sample string 1",
"QuestionRecordId": "sample string 2",
"RecordOptionA": true,
"RecordOptionB": true,
"RecordOptionC": true,
"RecordOptionD": true,
"RecordOptionY": "sample string 7",
"AnswerTime": 8,
"Result": true,
"Score": 10
},
{
"CollectionRID": "sample string 1",
"QuestionRecordId": "sample string 2",
"RecordOptionA": true,
"RecordOptionB": true,
"RecordOptionC": true,
"RecordOptionD": true,
"RecordOptionY": "sample string 7",
"AnswerTime": 8,
"Result": true,
"Score": 10
}
]
application/xml, text/xml
Sample:
<ArrayOfQuestionAnswerV2ViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CoachKing.WeApp.ViewModel">
<QuestionAnswerV2ViewModel>
<AnswerTime>8</AnswerTime>
<CollectionRID>sample string 1</CollectionRID>
<QuestionRecordId>sample string 2</QuestionRecordId>
<RecordOptionA>true</RecordOptionA>
<RecordOptionB>true</RecordOptionB>
<RecordOptionC>true</RecordOptionC>
<RecordOptionD>true</RecordOptionD>
<RecordOptionY>sample string 7</RecordOptionY>
<Result>true</Result>
<Score>10</Score>
</QuestionAnswerV2ViewModel>
<QuestionAnswerV2ViewModel>
<AnswerTime>8</AnswerTime>
<CollectionRID>sample string 1</CollectionRID>
<QuestionRecordId>sample string 2</QuestionRecordId>
<RecordOptionA>true</RecordOptionA>
<RecordOptionB>true</RecordOptionB>
<RecordOptionC>true</RecordOptionC>
<RecordOptionD>true</RecordOptionD>
<RecordOptionY>sample string 7</RecordOptionY>
<Result>true</Result>
<Score>10</Score>
</QuestionAnswerV2ViewModel>
</ArrayOfQuestionAnswerV2ViewModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
HttpResponseMessage| Name | Description | Type | Additional information |
|---|---|---|---|
| Version | Version |
None. |
|
| Content | HttpContent |
None. |
|
| StatusCode | HttpStatusCode |
None. |
|
| ReasonPhrase | string |
None. |
|
| Headers | Collection of Object |
None. |
|
| RequestMessage | HttpRequestMessage |
None. |
|
| IsSuccessStatusCode | boolean |
None. |