Jobs
Gets a list of job line items that belong to the specified job
Retrieve a paged list of line items for a job (required scope jobs:read)
get/v1/jobs/{jobId}/lineItems
Path parameters
jobIdinteger required
The unique identifier of the job associated with the line item
Query parameters
sortBy'createdAt'
JobLineItemSortOptions enum<p>Possible values:</p><ul><li><b>createdAt</b>: JobLineItemSortOptions CreatedAt</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": 12345,
"jobId": 54321,
"lineItemType": "freeText",
"quantity": 5,
"description": "Replacement filter cartridge",
"taxId": 1001,
"taxPercentage": 20,
"unitCost": 5.5,
"unitSellingPrice": 10.99,
"taxAmount": 2.2,
"grossAmount": 13.19,
"nominalCodeId": 50001,
"departmentCodeId": 20002
}
],
"pageNumber": 2,
"pageSize": 100,
"pageItemCount": 55
}