POST possibleanswers/Update
Request Information
URI Parameters
None.
Body Parameters
qst_PossibleAnswersEntity| Name | Description | Type | Additional information |
|---|---|---|---|
| AnswerId | integer |
None. |
|
| QuestionId | integer |
None. |
|
| AnswerValue | string |
None. |
|
| LinkedQuestionIds | Collection of integer |
None. |
|
| LinkedQuestionIdStr | string |
None. |
|
| Active | boolean |
None. |
|
| AnswerOrder | integer |
None. |
|
| TenantId | integer |
None. |
|
| GroupId | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"AnswerId": 1,
"QuestionId": 2,
"AnswerValue": "sample string 3",
"LinkedQuestionIds": [
1,
2
],
"LinkedQuestionIdStr": "sample string 4",
"Active": true,
"AnswerOrder": 6,
"TenantId": 7,
"GroupId": 8
}
text/html
Sample:
{"AnswerId":1,"QuestionId":2,"AnswerValue":"sample string 3","LinkedQuestionIds":[1,2],"LinkedQuestionIdStr":"sample string 4","Active":true,"AnswerOrder":6,"TenantId":7,"GroupId":8}
application/xml, text/xml
Sample:
<qst_PossibleAnswersEntity xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ListenerOnline.BusinessEntities.MobilityQuestionnaires">
<Active>true</Active>
<AnswerId>1</AnswerId>
<AnswerOrder>6</AnswerOrder>
<AnswerValue>sample string 3</AnswerValue>
<GroupId>8</GroupId>
<LinkedQuestionIdStr>sample string 4</LinkedQuestionIdStr>
<LinkedQuestionIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:int>1</d2p1:int>
<d2p1:int>2</d2p1:int>
</LinkedQuestionIds>
<QuestionId>2</QuestionId>
<TenantId>7</TenantId>
</qst_PossibleAnswersEntity>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, text/html, application/xml, text/xml
Sample:
Sample not available.