Rest API; getting data from all companies

Hello everyone,

Am I able to get data from multiple companies at once using the REST API (non BAQ) calls?

Using url:
.../api/v1/Erp.BO.CustomerSvc/Customers

Currently, I have to use header:
'CallSettings': '{"Company":"EPIC06"}'

But is there a way to pass multiple companies at once or do something like
'CallSettings': '{"Company":"*"}'
or
'CallSettings': '{"Company":["EPIC06","EPIC07","EPIC08"]}'
Which just gets data from all/multiple companies?

Thanks in advance!

You can use BAQ for that cross company BAQ

3 Likes