POST api/department/{code}/sort

Re-sort a department

Request Information

URI Parameters

NameDescriptionTypeAdditional information
code

Department code

string

Required

Body Parameters

List of dictionary values containing original and changed index values used to determine the new location

Collection of Pair of string [key] and integer [value]

Request Formats

application/json, text/json

Sample:
[
  {
    "key": "sample string 1",
    "value": 2
  },
  {
    "key": "sample string 1",
    "value": 2
  }
]

application/xml, text/xml

Sample:
<ArrayOfKeyValuePairOfstringint xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/System.Collections.Generic">
  <KeyValuePairOfstringint>
    <key>sample string 1</key>
    <value>2</value>
  </KeyValuePairOfstringint>
  <KeyValuePairOfstringint>
    <key>sample string 1</key>
    <value>2</value>
  </KeyValuePairOfstringint>
</ArrayOfKeyValuePairOfstringint>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

None.