PUT api/organizations/current/users/current/entityattributes/{entityAttributeId}/choicevalues

Updates an EntityAttribute's choice value.



Request Information

URI Parameters

NameDescriptionTypeAdditional information
entityAttributeId

The EntityAttribute whose choice value to update.

integer

Required



Body Parameters

A model describing the choice update.

UpdateEntityAttributeChoiceViewModel
NameDescriptionTypeAdditional information
NewValue

string

None.

OldValue

string

None.

Request Formats

application/json, text/json

Sample:
{
  "NewValue": "sample string 1",
  "OldValue": "sample string 2"
}

application/xml, text/xml

Sample:
<UpdateEntityAttributeChoiceViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/VobeSoft.Models.ViewModels">
  <NewValue>sample string 1</NewValue>
  <OldValue>sample string 2</OldValue>
</UpdateEntityAttributeChoiceViewModel>

application/x-www-form-urlencoded

Sample:

Sample not available.



Response Information

Resource Description

A task representing the asynchronous update operation.

None.