The following file can be imported into Postman and shows a series of requests for tracking a single document.
After importing the file edit the collection and setup the Access Token to use theĀ {{accessToken}} variable as shown below:
Next setup the username and password of the user you wish to test with. This userĀ must have the API Access permission.
The Postman collection uses variables for the URL to the Rest API and to set unique interchange and document GUIDs each time the collection is run.
The only variable you need to set is the URL:
{{LinkPublicApiUrl}} should be set to the base URL for the Rest API site. Eg. http://restapi.dev2.ediportal.dk/
This is done in your Environment Settings in Postman.
Finally insert the following row into the tApiClients table.
Now you are ready to run the flow - it's important to run the tests in the correct order 01, 02, 03, etc...
If the requests are returning a 202 - Accepted, then you have succeeded.