Cost center description
Sample MPK resource in the JSON format:
Downloading the collection of cost centers
Collecting lists of all cost centers for the selected organizationParameters
The resource is paged.
Determines the sorting type - descending(desc) or ascending (asc).
Sample request
code
In the response the server will return collections with the MPK (cost center) list and HTTP 200 OK code
Creating a cost centerPOSTadmin/organizationsorganization_/mpksThe server will return a HTTP response with the 201 Created status.
Parameters
name
Name of cost center
• The attribute is required
• The attribute value is unique within the organization
• Maximum length 255 characters
Cost center description
• The attribute is required
Sample request
Sample response
Errors:
resource_not_found
- the organization with the stated ID does not exist
Updating the place of collection order
• The attribute is required
• The attribute valueName of cost center
After completing the request correctly, the server will return a response containing the mpk object with the changed data, with HTTP 200 OK code.
200OK /admin11Nazwa miejsca powstania kosztówOpis miejsca powstania kosztów15T21584942717T103559644Errors webhook the stated ,
Sample request