Epicor 10.2- REST API

Hello,
I am new for Epicor REST API.
first thing, i want to know how to specify which company when I call the rest api. ex, I want to call TimePhas interface and method is GoProcessTimePhase, I want to retrieve data from Company Epi06. can anyone tell me how to do that.
thanks a lot,

Eddy

http://hostname/ERP102600/api/swagger/v1/methods/Erp.BO.TimePhasSvc
method GoProcessTimePhase

Iā€™d recommend reading the Swagger page contents carefully as well as the help article inside Epicor.

https://{EpicorServer}/{ERPInstance}/api/v2/odata/{Company}?api-key={Value}

But you should be able to pass in the company parameter as part of the URL for every call

1 Like