POST api/PromoteV2/AddQualification?collectionId={collectionId}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| collectionId | string |
Required |
Body Parameters
Collection of QuestionQualificationAnswerViewModel| Name | Description | Type | Additional information |
|---|---|---|---|
| RecordOptionE | boolean |
None. |
|
| 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:
[
{
"RecordOptionE": true,
"CollectionRID": "sample string 2",
"QuestionRecordId": "sample string 3",
"RecordOptionA": true,
"RecordOptionB": true,
"RecordOptionC": true,
"RecordOptionD": true,
"RecordOptionY": "sample string 8",
"AnswerTime": 9,
"Result": true,
"Score": 11
},
{
"RecordOptionE": true,
"CollectionRID": "sample string 2",
"QuestionRecordId": "sample string 3",
"RecordOptionA": true,
"RecordOptionB": true,
"RecordOptionC": true,
"RecordOptionD": true,
"RecordOptionY": "sample string 8",
"AnswerTime": 9,
"Result": true,
"Score": 11
}
]
application/xml, text/xml
Sample:
<ArrayOfQuestionQualificationAnswerViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CoachKing.WeApp.ViewModel">
<QuestionQualificationAnswerViewModel>
<AnswerTime>9</AnswerTime>
<CollectionRID>sample string 2</CollectionRID>
<QuestionRecordId>sample string 3</QuestionRecordId>
<RecordOptionA>true</RecordOptionA>
<RecordOptionB>true</RecordOptionB>
<RecordOptionC>true</RecordOptionC>
<RecordOptionD>true</RecordOptionD>
<RecordOptionY>sample string 8</RecordOptionY>
<Result>true</Result>
<Score>11</Score>
<RecordOptionE>true</RecordOptionE>
</QuestionQualificationAnswerViewModel>
<QuestionQualificationAnswerViewModel>
<AnswerTime>9</AnswerTime>
<CollectionRID>sample string 2</CollectionRID>
<QuestionRecordId>sample string 3</QuestionRecordId>
<RecordOptionA>true</RecordOptionA>
<RecordOptionB>true</RecordOptionB>
<RecordOptionC>true</RecordOptionC>
<RecordOptionD>true</RecordOptionD>
<RecordOptionY>sample string 8</RecordOptionY>
<Result>true</Result>
<Score>11</Score>
<RecordOptionE>true</RecordOptionE>
</QuestionQualificationAnswerViewModel>
</ArrayOfQuestionQualificationAnswerViewModel>
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. |