PUT api/variables/sortindices

Updates variable sort indices.

Request Information

URI Parameters

None.

Body Parameters

The variable indices to update.

Collection of VariableSortIndexDto
NameDescriptionTypeAdditional information
Id

globally unique identifier

None.

SortIndex

integer

None.

Request Formats

application/json, text/json

Sample:
[
  {
    "Id": "88f29117-b185-42b0-960d-28cbca5d5868",
    "SortIndex": 2
  },
  {
    "Id": "88f29117-b185-42b0-960d-28cbca5d5868",
    "SortIndex": 2
  }
]

application/xml, text/xml

Sample:
<ArrayOfVariableSortIndexDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Aardvark.Template.Models">
  <VariableSortIndexDto>
    <Id>88f29117-b185-42b0-960d-28cbca5d5868</Id>
    <SortIndex>2</SortIndex>
  </VariableSortIndexDto>
  <VariableSortIndexDto>
    <Id>88f29117-b185-42b0-960d-28cbca5d5868</Id>
    <SortIndex>2</SortIndex>
  </VariableSortIndexDto>
</ArrayOfVariableSortIndexDto>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'VariableSortIndexDto[]'.

Response Information

Resource Description

None.