Introduction
This API is intended for integration of third-party solutions with Tetrada ERP. It exposes methods for real-time master data check, as well as other client-related data. API is regulary maintained by our staff and all new updates and fetures are uploaded without prior notice.
Every user registered for API has access to test enviroment. After test phase has successfully been completed user will be granted access to production enviroment.
Authorization
Every call you make against API must be authorized with token. Authorization token is currently valid for 24 hours upon creation. The client must send this bearer token in the Authorization header when making requests to protected resources as Authorization: Bearer <token>.
| API | Description |
| POST oauth/Token |
Method for retrieving bearer authorization token. To retrieve token client must pass parameters grant_type with value password, as well as parameters username and password
|
Utilities
Controller for accessing utility information in ERP.
| API | Description |
| GET api/utilities/customers?Page={Page} |
Method for retreiving basic customer information. It is paginated with page size of 100 records.
|
| GET api/utilities/customers/{ID} |
Method for retreiving single customer information, based on customer ID.
|
| GET api/utilities/objects?CustomerID={CustomerID}&Page={Page} |
Method for retreiving utility object information. It is paginated with page size of 100 records.
|
| GET api/utilities/objects/{ID} |
Method for retreiving single customer information, based on customer ID.
|
| GET api/utilities/customeraccount?ID={ID}&DueDate={DueDate} |
Method for retreiving customer account information, based on customer ID and due date.
|
| GET api/utilities/paymentslip?ID={ID} |
Method for retreiving payment slip information, based on document ID from customer account open items. It includes PDF417 barcode PNG image (222x74), in Base64 string format.
|
Invoicing
Controller for managed invoice transfer to ERP.
| API | Description |
| GET api/invoicing/customers?Page={Page} |
Method for retreiving customer information. It is paginated with page size of 100 records.
|
| GET api/invoicing/customers/{ID} |
Method for retreiving single customer information, based on customer ID.
|
| POST api/invoicing/invoice |
Method for posting single invoice to ERP.
|
| GET api/invoicing/invoice/{ID} |
Method for retreiving single invoice basic information, based on invoice Id in ERP.
|