Page 1 of 1
Get Job Cost Center Parts and Labour
Posted: Wed Jul 20, 2022 10:47 pm
by bgur
Is it possible to Get "Parts & Labour" from a Job Cost Center through the API?
Re: Get Job Cost Center Parts and Labour
Posted: Wed Jul 20, 2022 11:08 pm
by robbertcha
Hi,
Showing "Parts & Labour" data in 1 endpoint is currently not available in API, but you can get the cost-center items data via different nested endpoints, e.g.: Catalog items, labour items, one-off items & etc. Do you mind to move this post to "Feature Request" section so we will discuss it in our Dev meeting, thank you
Code: Select all
https://developer.simprogroup.com/apidoc/?page=e20580fa653ea5969f97040b4eb3c8db#tag/Job-Cost-Center-Catalog-Items
Re: Get Job Cost Center Parts and Labour
Posted: Tue Apr 18, 2023 7:49 pm
by jmc2408
Did this item progress any?
Would be very interested in being able to return all Parts and Labour in a cost centre without the need to go via 5 endpoints, 1 each for:
Catalogs
Labour
One Off
Prebuilds
Service Fees
For Job Cost Centres but also Quote Cost Centres.
Re: Get Job Cost Center Parts and Labour
Posted: Wed Apr 19, 2023 1:05 am
by Sindre
Hi,
The different parts and labour items that you are looking for should be available on a cost centre level today.
By using the "display=all" parameter on a job/quote you should get all catalogs, labour etc that is attached to a cost centre in a nested structure. You can get this on all cost centres by searching on job level or for a specific cost centre by searching on a cost centre level with the endpoints below.
Code: Select all
api/v1.0/companies/0/jobs/{jobID}?display=all
Code: Select all
api/v1.0/companies/0/jobs/{jobID}/sections/{sectionID}/costCenters/{costCentreID}?display=all
I hope this can be useful.
Regards
Re: Get Job Cost Center Parts and Labour
Posted: Tue May 09, 2023 7:38 pm
by albert
It would be really nice if we could get these in their own endpoints separate from jobs and cost centers.