Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

The following file can be imported into Postman

...

and shows a simple request getting partners using the Password Credentials flow (ResourceOwner).


View file
name

...

REST API - Single Document Flow.json
height250


Authentication


After importing the file

...

edit the collection and setup OAuth2 authentication with the following values:

Image Added


Variables

The Postman collection uses variables for the URL to the Rest API and to carry a document-id through the flow.

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.


Setup the Client


Finally insert the following row into the tApiClients table.

Image Modified


Run the collection

Now you are ready to run the flow - it's important to run the tests in the correct order 01, 02, 03, etc...

Table of Contents