Page 1 of 1

Quote Cost Centre Data difference between Web interface and API

Posted: Wed Feb 08, 2023 4:40 am
by bgur
If I do a comparison between the Resources Cost (Labour Hours) through the web app, the number of hours differs from the API response to this endpoint:

Code: Select all

api/v1.0/companies/6/quotes/{QUOTE#}/sections/{Section#}/costCenters/{CostCentre#
The number I'm getting from the JSON Response is here:

Code: Select all

Totals / ResourcesCost / LaborHours / Estimate
thanks.

Re: Quote Cost Centre Data difference between Web interface and API

Posted: Thu Feb 09, 2023 12:18 am
by Sindre
Hi bgur,
I couldn't see any obvious discrepancies on labour hours on web and in the API. Make sure you look at the resources cost for the same cost centre you are retrieving in the API if you have several cost centres.

If you have different numbers for the same cost centre please send me a private message with your build details and a screen shot of the breakdown on web and the responses you get in the API so I can have a closer look.

regards