Importing and Using Swagger Documentation in Postmann
Requirements
-
API endpoint created
-
An API key for the endpoint has been created
-
Swagger documentation was generated (as a .yml file) and saved in an accessible directory.
Step-by-Step
To import and use the Swagger documentation in Postmann, follow these steps:
Import Swagger Documentation
-
Launch Postman.
-
In the left navigation pane, click the "APIs" menu item.
-
Click "Import."
An import dialog box appears.
-
Select the .yml file you saved earlier.
-
Click "Import."
A dialog box appears confirming the import.
The Intrexx API is displayed.
Enter API Key
-
Click the folder with the name of the imported Swagger documentation.
-
Click the "Authorization" tab.
-
From the "Type" drop-down list, select "API Key" (
). -
In the "Key" input field, enter the value "X-API-KEY" (
). -
In the "Value" input field, enter the API key you copied from Intrexx (
). -
In the "Add to" drop-down menu, select "Header" (
). -
Save your information.
Execute Requests
You can now execute the requests.
-
Click (for example) on the API endpoint "Get-one-data-record-in-store" (
). -
On the "Params" tab, in the "VALUE" column, replace the value "tempor Duis" with the primary key of the record you want to query (
). -
Click "Send."
The return values you defined are displayed under "Body" (
).
More Information






