Woking with API ver2

Hi,

I’m new with EPICOR API.
I would like to know what API’s call I have to use to login and user, which one I can use to list all the companies from EPICOR.

Is there any guide or video on youtube you can recommend?

Thanks,
Oscar

Welcome Oscar!

In my opinion, the best way to learn the Epicor REST API calls is through the Swagger page. In Kinetic, the easiest way to get there is:

https://your_server/your_instance/apps/resthelp/#/home
or
https://your_server/your_instance/api/help

Once logged in, you can search for various APIs.

image

Note that each API has an OData version and an RPC (Previous called Custom) version. And speaking of versions, v1 is the less secure but OK for this kind of work. When moving to production however, it’s best to use v2 with an API-Key.

The Ice-prefixed APIs will give you system-related information like companies, users, etc.

You can get also the REST Technical Reference guides on https://Epicweb.Epicor.com.

1 Like

Thank you, Mark, this was really helpful.

I’m trying to find the variables sessions or something similar. Example how can I get the current user company, site?

It helps to know what your trying to accomplish because this is a point of reference question. Are you talking from inside a BPM or from outside Epicor, e.g. a webapp?