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