Page 1 of 1

Report

Posted: Mon Apr 24, 2023 2:57 am
by Dazwah
Hello,

How can i get an array of all the sections, with costcentres broken down with the report api?

api/v1.0/companies/0/reports/jobs/costToComplete/operations/?jobID=1234&costCentre=123

at the moment i am doing that for all of the costCentres, but that is around 40 calls, and not every job has all the cost centre, is there a way to get it into one call, with individual array item per costCentre?

Re: Report

Posted: Tue Apr 25, 2023 2:37 am
by joyb
Hi

I also have the same requirement. Can anyone help on this please?

Re: Report

Posted: Wed Apr 26, 2023 12:49 am
by Sindre
Hi joyb and DazWah,
Being a report endpoint showing a summary there is limited functionality and it does not offer the possibility to break to deeper into cost centres or sections.

Regards

Re: Report

Posted: Sun Apr 30, 2023 9:44 pm
by Dazwah
Is there a way to get most of the data without doing many requests?