Page 1 of 1

Possible to pull multiple IDs in one call?

Posted: Thu Oct 24, 2019 7:49 pm
by Jupiter-Andrew
Hi all,

Consider the following cURL: https://myCompany.simprosuite.com/api/v ... stCenters/

Assume I know my cost center IDs are 11 through 15.

As far as I can tell, in order to get full data for 5 cost centers, I need to call the cURL 5 times appending an ID each time

Is there no way to call a range of results?

Perhaps by /costCenters/11-15 or /costCenters/11,15 ?

Re: Possible to pull multiple IDs in one call?

Posted: Fri Oct 25, 2019 12:21 am
by Muqeet
Hi Andrew,

You can call https://mycompany.simprosuite.com/api/v ... isplay=all to get some data of all cost centers. However as you mentioned that you are looking for full cost center data, in that case you need to make multiple calls.

Thanks
Muqeet