Search for Existing Calls
ASM API Quick Reference Guide
Searching for Existing Calls
- In Postman, select 'New' in the top left-hand corner. 
- Select HTTP from the dialogue window and give the request the name of Get Call List 

- Set the method to Get and the URL will be as follows, you have two options: - Option 1: use the system variable for your base system url: - {{SystemURLTest}}/alemba.api/api/v2/call- Option 2: write the full base url: - https://<yourservername>/<yourasmsystemname>/alemba.api/api/v2/call
- Click the Authorization tab. 
- Set Type as No Auth 

- Click Headers and add the following lines 
Key
Value
Content-Type
Application/json
Authorization
Bearer {{Login_Token}}
- {{Login_Token}} is the name of the environment variable we created earlier. This can be replaced with the actual access_token value obtained, e.g. Bearer awerff32h347hb4tgb34 
- The space between Bearer and the {{Login_Token}}/access_token is intentional and REQUIRED 
- Verify the Headers tab appears as follows 

- Send the request to get a list of calls. You will get a “results” array as per below. An array is a list of objects in JSON 

OPTIONAL: You can now make a note of a call number from the result and update the CallRef variable by
- Access Environments on left hand menu 
- Select your Environment 
- Fill a Current Value for Call Ref, as per below: 

- Click save in the top right hand corner of your screen, to save the new variable 

Last updated
Was this helpful?
