PUT api/role/{id}/SetRoleImageOrder

Updates the image order on a role

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

The id of the role to update

integer

Required

Body Parameters

The role image order

Dezrez.Core.DataContracts.External.Api.Role.Command.SetRoleImageOrder.SetRoleDocumentOrderCommandDataContract
NameDescriptionTypeAdditional information
DocumentOrder

Collection of Dezrez.Core.DataContracts.External.Api.Role.Command.SetRoleImageOrder.DocumentOrderDataContract

None.

Request Formats

application/x-www-form-urlencoded

Sample:

Sample not available.

application/json, text/json

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

Response Information

Resource Description

System.Net.Http.HttpResponseMessage
NameDescriptionTypeAdditional information
Version

System.Version

None.

Content

System.Net.Http.HttpContent

None.

StatusCode

System.Net.HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

System.Net.Http.HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.