Jobs
Get a job's constraints
Retrieve a paged collection of a job's constraints (required scope jobs:read)
get/v1/jobs/{jobId}/constraints
Path parameters
jobIdinteger required
The unique identifier of the job
Query parameters
sortBy'createdAt'
Represents the fields that can be used to sort job constraint<p>Possible values:</p><ul><li><b>createdAt</b>: The date and time when the job constraint was created</li></ul>
Example:createdAt
The field to sort items in the page by
direction'ascending' | 'descending'
Represents the direction in which sorting should be applied<p>Possible values:</p><ul><li><b>ascending</b>: Indicates ascending sorting order</li><li><b>descending</b>: Indicates descending sorting order</li></ul>
Example:ascending
The direction to apply the sort
pageNumberinteger
The page number being requested. (minimum: 1, maximum: 2147483)
pageSizeinteger
The page size being requested. (minimum: 1, maximum: 1000)
Headers
Customer-Idinteger required
The customer identifier
Response
OK
Example response
{
"items": [
{
"id": 5514123,
"status": "new",
"createdAt": "2022-11-29T16:50:16.0000000+00:00",
"actionedBy": "Bob Brown",
"comment": "Appliance successfully tested"
}
],
"pageNumber": 2,
"pageSize": 100,
"pageItemCount": 55
}