PUT api/role/{id}/SetRoleImageOrder
Updates the image order on a role
Request Information
URI Parameters
Name | Description | Type | Additional 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.SetRoleDocumentOrderCommandDataContractName | Description | Type | Additional 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.HttpResponseMessageName | Description | Type | Additional 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. |