PUT api/consumer/v1/workspaces/{workspaceId}/jobs/{jobId}/lists/position

Update a Job List position

Request Information

URI Parameters

NameDescriptionTypeAdditional information
workspaceId

WorkspaceId

integer

Required

jobId

Job ID

integer

Required

Body Parameters

New workspace Job information

SortableItems
NameDescriptionTypeAdditional 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

New job list

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