Retrieve a collection of expense cost centers
This API endpoint is designed to retrieve a collection of expense cost centers, providing a valuable tool for accessing recent expense cost center data for an account within your system.
Prerequisites:
To use this endpoint you need to have the ACCOUNTING scope for the API Key. Please contact your relation manager to get this permission.
Query Parameters
- page integer
Default value:
1
The collection page number
- itemsPerPage integer
Possible values:
<= 50
Default value:
30
The number of items per page
- pagination boolean
Enable or disable pagination
Responses
- 200
- 401
- 403
OK - The request was processed successfully.
- application/json
- Schema
- Example (from schema)
Schema
- Array [
- id integer
- name string
- number stringnull
- ]
[
{
"id": 0,
"name": "Finance",
"number": "123145"
}
]
Unauthorised -- Your access token is wrong.
- application/json
- Schema
- Example (from schema)
Schema
- type string
- title string
- detail string
{
"type": "string",
"title": "string",
"detail": "string"
}
Forbidden -- Access to the requested resource or action is forbidden.
- application/json
- Schema
- Example (from schema)
Schema
- type string
- title string
- detail string
{
"type": "string",
"title": "string",
"detail": "string"
}
Loading...