Almost all the APIs require valid GUID from the backend, hence before each call a valid GUID should be asked from the backend through Login call.
If you already have a GUID then we can check if the GUID is still valid in the backend or not
In case the call is OData we can set the filter on OData to get different values from the backend
eq: equal
gt: greater than
lt: smaller than
for example:
if we want to get document with Id number 133 we use this filter ID+eq+133 Filter by description Description+eq+’something’ Filter by invoice date between 2012-01-01 and 2021-01-01: invDate+gt+2012-01-01z+and+invDate+lt+2021-01-01z
Endpoint | Service | Resource URL | Supported methods |
---|---|---|---|
Login API | Login | /api/UserLogin/Login | GET |
Get document | Document (PO, SO, RTS, CN) | /api/Document/Get/{id} | GET |
Save document | Document (PO, SO, RTS, CN) | /api/Document/SaveDocument | POST |
Reject document | Document (PO, SO, RTS, CN) | /api/Document/Reject | POST |
Approve document | Document (PO, SO, RTS, CN) | /api/Authorize/Authorize/{id} | GET |
Process invoice | Document (PO, SO, RTS, CN) | /api/ProcessDocument/{id} | GET |
Get all suppliers | Supplier | /api/OData/ | GET |
Get all clients | Client | /api/OData/ | GET |
Get all accounts | GL Account | /api/OData/_as_epo_vwGLAccounts | GET |
Get all items | Inventory item | /api/OData/_as_epo_vwItem | GET |