POST api/consumer/v1/workspaces/{workspaceId}/jobs/{jobId}/position

Save a setting for jobs widget

Request Information

URI Parameters

NameDescriptionTypeAdditional information
workspaceId

WorkspaceId

integer

Required

jobId

JobId

integer

Required

Body Parameters

The setting

WorkspaceJobEditPositionDto
NameDescriptionTypeAdditional information
Position

Display sort order (-1 for last)

integer

None

Request Formats

application/json, text/json

Sample:
{
  "Position": 1
}

application/xml, text/xml

Sample:
<WorkspaceJobEditPositionDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Oryx.Web.Api.Models">
  <Position>1</Position>
</WorkspaceJobEditPositionDto>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

200

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