PUT api/consumer/v1/workspaces/{workspaceId}/jobs/{jobId}/lists/{listId}/cards/position
Update the card position
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
workspaceId |
Workspace ID |
integer |
Required |
jobId |
Job ID |
integer |
Required |
listId |
List ID |
integer |
Required |
Body Parameters
New card position
SortableItemsName | Description | Type | Additional information |
---|---|---|---|
SubjectItem |
Item Moved |
SortableItem |
None |
Items |
Items |
Collection of SortableItem |
None |
Request Formats
application/json, text/json
Sample:
{ "SubjectItem": { "Id": 1, "Position": 2 }, "Items": [ { "Id": 1, "Position": 2 }, { "Id": 1, "Position": 2 } ] }
application/xml, text/xml
Sample:
<SortableItems xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Oryx.Web.Api.Models"> <Items> <SortableItem> <Id>1</Id> <Position>2</Position> </SortableItem> <SortableItem> <Id>1</Id> <Position>2</Position> </SortableItem> </Items> <SubjectItem> <Id>1</Id> <Position>2</Position> </SubjectItem> </SortableItems>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
Card
HttpResponseMessageName | Description | Type | Additional information |
---|---|---|---|
Version | Version |
None |
|
Content | HttpContent |
None |
|
StatusCode | HttpStatusCode |
None |
|
ReasonPhrase | string |
None |
|
Headers | Collection of Object |
None |
|
RequestMessage | HttpRequestMessage |
None |
|
IsSuccessStatusCode | boolean |
None |