PUT api/role/{id}/SetRoleImageOrder

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

Body Parameters

SetRoleDocumentOrderCommandDataContract
NameDescriptionTypeAdditional information
DocumentOrder

Collection of DocumentOrderDataContract

None.

Request Formats

application/json, text/json

Sample:
{
  "DocumentOrder": [
    {
      "DocumentId": 1,
      "Order": 2
    },
    {
      "DocumentId": 1,
      "Order": 2
    }
  ]
}

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 'SetRoleDocumentOrderCommandDataContract'.

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.