The Cost centers API is a background functionality of a web client at Profit365 > Cost Centers. With this resource you can:
- List cost centers
- Create cost center
- Update cost center
- List transactions of the cost center
Resource information
Url | https://api.profit365.eu/1.6/catalogs/cost-centers |
Authentication | required |
Access level | company |
Response | JSON / XML |
List cost centers
A view is currently only way how to list cost centers. A pagination is used.
URL | https://api.profit365.eu/1.6/catalogs/cost-centers/{page} |
Method | GET |
{page} |
A page number of result set. Default page number is 1 and default page size is 50. |
Example |
|
Search cost center
It is possible to search through all the parameters of a cost center with this search.
URL | https://api.profit365.eu/1.6/catalogs/cost-centers/?search={query} |
Method | GET |
{query} |
String which should be searched for through all the parameters of cost centers. |
Example |
|
Create new cost center
URL | https://api.profit365.eu/1.6/catalogs/cost-centers |
Method | POST |
Example |
POST https://api.profit365.eu/1.6/catalogs/cost-centers
|
Parameters for insert are listed here.
Update cost center
URL | https://api.profit365.eu/1.6/catalogs/cost-centers/{id} |
Method | PUT |
{id} |
An ID of a cost-center. |
Example |
|
Cost center parameters
Code required |
Code of the cost center. Type: String |
request, response |
Name required |
Name of the cost center. Type: String |
request, response |
List transactions
URL | https://api.profit365.eu/1.6/catalogs/cost-centers/{id}/transactions/{page} |
Method | GET |
{id} |
An ID of a cost-center. |
{page} |
A page number of result set. Default page number is 1 and default page size is 50. |
Example |
|
- Pubished at 3/25/2019 9:23:08 AM
- Last edited 3/25/2019 12:52:43 PM