Create Erp connection for Tripletex
Step 1
Get
an employee token from Tripletex
In this step, we will retrieve an employee token from Tripletex. Employee token is used in Step 2
to connect the Commerce API to your Tripletex account. Read more.- The API module must be activated by an administrator for the Tripletex company to enable the creation of employee tokens, this is done from
Company -> My subscription
- An administrator in the Tripletex company must then log into the GUI to create the API access. On the user details page, there will be a tab called
API-access
, here you can create the API users (with employee token) and grant permissions. - To create a new API user (with employee token) you should use
adapted setup
when creating a new token and put the application name in the appropriate field, give it a name, and clicksave
. The employee token can then be copied from the GUIApplication Name should be
ZData_Settlement
Name can be anything (e.g. Aritma Commerce)
Step 2
Create
a new Erp connection to Tripletex
In this step, we're will create a new ERP connection to Tripletex.
- Authorize yourself in the under
Security
. - In the
body
replace theresourceGroupId
with theresourceGroupId
provided to you by Aritma. - Replace the value of
email
with your email. The email will become the name of the ERP connection. - Replace the
employeeToken
value with the token retrieved inStep 1
. - Press
Send
.
Loading...
Test Erp connection
In this section, we will use the newly created ERP connection to get a list of clients connected to that ERP connection.
Note:
If you still have the
erpconnectionId
of the new ERP connection, you can jump to Step 2
.Step 1
Get
a list of Erp connection under a Resource Group
In this step we will use the resourceGroupId
we used when creating a new ERP connection, to get a list of all ERP connections that has that resource group as a parent.- Authorize yourself under
Security
. - Under
Parameters
enter yourresourceGroupId
. - Press
Send
.
The response will be a list of all the ERP connections to which that resource group has access.
Loading...
Step 2
Get
all clients connected to an Erp connection
In this step, we will use an id from an ERP connection from Step 1
to receive a list of all the clients connected to that ERP connection. - Authorize yourself under
Security
. - Under
Parameters
enter anerpConnectionId
. - Press
Send
.
The response will be a list of clients that are connected to that ERP connection. A client in this context is a one-to-one mapping to a company in Tripletex.
NOTE: If you have a company in Tripletex namedTest Company
this company will be represented as a client with the nameTest Company
Loading...