Postman collection demo#
Here we provide you a “hands on” demo to test/call our API endpoints.
This is set up with no credentials on our sandbox environment, you will need to input yours.
Setup#
Create a fresh workspace
- Import the collection from this JSON file :
Amadeus-Discover-Content-Partner-API-End-Points.postman_collection.json
- Import the environment setup you need from this JSON file :
Set Postman to the imported environment
Tuning to your own credentials#
As this is a “stock” setup for demo purposes only, you will need to re-setup the following two elements to start testing/managing your suppliers and products on our sandbox DB:
In Postman -> environment use your own credentials for variables “cnt_prt_api_username” & “cnt_prt_api_password”
Test/run the collection#
Run the token authentication query (/Keycloak - Authentication/Token Keycloack POST)
Run any query from the collection
Queries are meant to run in sequence
Note
You need to run the token authentication before sending any query (else server will respond error 401 Unauthorized)
Token lifespan is 300 seconds. In case the token expires, this authentication process will need to be reinitiated to get access to the API.