PUT api/AdminSurveyQuestionChoice/Put
Updates SurveyQuestionChoice name and value
Request Information
URI Parameters
None.
Body Parameters
PutSurveyQuestionChoiceDtoName | Description | Type | Additional information |
---|---|---|---|
Id | integer |
Required |
|
Name | string |
Required |
|
DisplayName | string |
Required |
|
Value | integer |
Required |
Request Formats
application/json, text/json
Sample:
{ "Id": 1, "Name": "sample string 2", "DisplayName": "sample string 3", "Value": 4 }
application/xml, text/xml
Sample:
<PutSurveyQuestionChoiceDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/StudyTree.Common.Dtos.AdminNs"> <DisplayName>sample string 3</DisplayName> <Id>1</Id> <Name>sample string 2</Name> <Value>4</Value> </PutSurveyQuestionChoiceDto>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
HttpResponseMessageName | 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. |