Import the Postman Collection to be able to fetch your instance and request a decision.  
 

IMPORTANT: Please make sure your Postman Environment is setup with Globals and Locals.  


Importing the Collection by selecting Import in the “My workspace” header. Graphical user interface, text

Description automatically generated 

 
Graphical user interface, application, Teams

Description automatically generated


Select the file from the location on your device and Import the Collection.  

 

IMPORTANT: All the Elements will be imported during this process. 
  

A screenshot of a computer

Description automatically generated with medium confidence 

 

Authentication

Authentication involves sending a verified username and password with your request. In the request Authorisation tab, select Bearer Token from the Type dropdown list. 

Enter your Connect API username and password in the Username and Password fields. For extra security, store these in variables. 
  

Example below: 

  1. Click on the “Authenticate” tab and perform the below checks before you hit the “Send” the request for successful authentication: 
  1. Authorization: 
  1. Type – Bearer Token 
  2. Token – {{token}}     
  1. Body: 

    "username": "",        [Connect API Username] 

    "password": ""         [Connect API Password] 

  1. Tests:  

var jsonData = JSON.parse(responseBody); 

pm.globals.set("token", jsonData.token); 
  

  1. Once the above checks are complete, hit the “Send” button to generate your token.

    Graphical user interface, text

Description automatically generated