PUT api/collectionsbuildingstages/reorder

Update stage number/order

Request Information

URI Parameters

None.

Body Parameters

Collection of CollectionsStageReorderViewModel
NameDescriptionTypeAdditional information
Id

Stage Id

integer

Required

Range: inclusive between 1 and 2147483647

Number

Stage Number

integer

Required

Range: inclusive between 1 and 2147483647

Request Formats

application/json, text/json

Sample:
[
  {
    "id": 1,
    "number": 2
  },
  {
    "id": 1,
    "number": 2
  }
]

application/xml, text/xml

Sample:
<ArrayOfCollectionsStageReorderViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CamAcctApi.ViewModels">
  <CollectionsStageReorderViewModel>
    <Id>1</Id>
    <Number>2</Number>
  </CollectionsStageReorderViewModel>
  <CollectionsStageReorderViewModel>
    <Id>1</Id>
    <Number>2</Number>
  </CollectionsStageReorderViewModel>
</ArrayOfCollectionsStageReorderViewModel>

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 'List`1'.

Response Information

Resource Description

boolean

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.