latestOpenAPI 3.0.12026-08-192092911.2 MB
916e669fc527
ReferenceData
Get a list of nominal codes
Retrieves a paged collection of nominal codes (required scope stock:read)
get/v1/nominalCodes
Query parameters
sortBy'code' | 'description'
Represents the fields that can be used to sort nominal codes<p>Possible values:</p><ul><li><b>code</b>: The code</li><li><b>description</b>: The description</li></ul>
Example:code
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
idinteger[]
Only return nominal codes where 'id' matches the value(s) provided (Max items: 50)
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,
"code": "T01",
"description": "Nominal code for roofing work",
"createdAt": "2022-11-29T16:50:16.0000000+00:00"
}
],
"pageNumber": 2,
"pageSize": 100,
"pageItemCount": 55
}