PUT v1/forms/choices/{id}
Use this class to update an existing choice.
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
id |
Choice unique identifier to be updated. |
string |
Required |
Body Parameters
Data to update.
FormElementChoiceName | Description | Type | Additional information |
---|---|---|---|
id |
Choice unique identifier. |
string |
None. |
name |
Choice display label/text. |
string |
None. |
internalName |
Choice internal name (Used in code by some customized clients) |
string |
None. |
order |
Display order. |
integer |
None. |
Request Formats
application/json, text/json
Sample:
{ "id": "sample string 1", "name": "sample string 3", "internalName": "sample string 4", "order": 1 }
Response Information
Resource Description
Returns an OK http header, or equivalent error headers for any kind of exception found internally or validation driven.
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. |