PUT api/entityattributes/orders

Updates the order of certain EntityAttributes.



Request Information

URI Parameters

None.



Body Parameters

A collection representing the EntityAttributes whose orders to update and the orders themselves.

Collection of UpdateEntityAttributeOrderViewModel
NameDescriptionTypeAdditional information
EntityCategoryId

integer

None.

Id

integer

None.

Order

integer

None.

Request Formats

application/json, text/json

Sample:
[
  {
    "EntityCategoryId": 1,
    "Id": 2,
    "Order": 3
  },
  {
    "EntityCategoryId": 1,
    "Id": 2,
    "Order": 3
  }
]

application/xml, text/xml

Sample:
<ArrayOfUpdateEntityAttributeOrderViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/VobeSoft.Models.ViewModels">
  <UpdateEntityAttributeOrderViewModel>
    <EntityCategoryId>1</EntityCategoryId>
    <Id>2</Id>
    <Order>3</Order>
  </UpdateEntityAttributeOrderViewModel>
  <UpdateEntityAttributeOrderViewModel>
    <EntityCategoryId>1</EntityCategoryId>
    <Id>2</Id>
    <Order>3</Order>
  </UpdateEntityAttributeOrderViewModel>
</ArrayOfUpdateEntityAttributeOrderViewModel>

application/x-www-form-urlencoded

Sample:

Sample not available.



Response Information

Resource Description

A task representing the asynchronous operation to execute.

None.