POST api/QuestionDetail/UpsertQuestionDetail
Request Information
URI Parameters
None.
Body Parameters
Collection of UpsertQuestionDetailCommandDtoName | Description | Type | Additional information |
---|---|---|---|
QuestionHeaderId | globally unique identifier |
None. |
|
OptionType | string |
None. |
|
OptionImage | string |
None. |
|
OptionText | string |
None. |
|
OptionTextFr | string |
None. |
|
OptionId | globally unique identifier |
None. |
|
IsAnswer | boolean |
None. |
|
UserId | globally unique identifier |
None. |
Request Formats
application/json, text/json
Sample:
[ { "QuestionHeaderId": "47c02271-e799-4290-9b27-15e31edc0cdc", "OptionType": "sample string 2", "OptionImage": "sample string 3", "OptionText": "sample string 4", "OptionTextFr": "sample string 5", "OptionId": "68d2f17a-d8d1-43a5-8dff-65d1197bc80a", "IsAnswer": true, "UserId": "8dd7e6fc-1bf7-4713-a190-c111b197d0c8" }, { "QuestionHeaderId": "47c02271-e799-4290-9b27-15e31edc0cdc", "OptionType": "sample string 2", "OptionImage": "sample string 3", "OptionText": "sample string 4", "OptionTextFr": "sample string 5", "OptionId": "68d2f17a-d8d1-43a5-8dff-65d1197bc80a", "IsAnswer": true, "UserId": "8dd7e6fc-1bf7-4713-a190-c111b197d0c8" } ]
application/xml, text/xml
Sample:
<ArrayOfUpsertQuestionDetailCommandDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BusinessLayer.Modules.QuestionDetailModule.Model"> <UpsertQuestionDetailCommandDto> <IsAnswer>true</IsAnswer> <OptionId>68d2f17a-d8d1-43a5-8dff-65d1197bc80a</OptionId> <OptionImage>sample string 3</OptionImage> <OptionText>sample string 4</OptionText> <OptionTextFr>sample string 5</OptionTextFr> <OptionType>sample string 2</OptionType> <QuestionHeaderId>47c02271-e799-4290-9b27-15e31edc0cdc</QuestionHeaderId> <UserId>8dd7e6fc-1bf7-4713-a190-c111b197d0c8</UserId> </UpsertQuestionDetailCommandDto> <UpsertQuestionDetailCommandDto> <IsAnswer>true</IsAnswer> <OptionId>68d2f17a-d8d1-43a5-8dff-65d1197bc80a</OptionId> <OptionImage>sample string 3</OptionImage> <OptionText>sample string 4</OptionText> <OptionTextFr>sample string 5</OptionTextFr> <OptionType>sample string 2</OptionType> <QuestionHeaderId>47c02271-e799-4290-9b27-15e31edc0cdc</QuestionHeaderId> <UserId>8dd7e6fc-1bf7-4713-a190-c111b197d0c8</UserId> </UpsertQuestionDetailCommandDto> </ArrayOfUpsertQuestionDetailCommandDto>
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>