Locking and Updating Calls
ASM API Quick Reference Guide
Start a new Request
In Postman, select 'New' in the top left-hand corner.
Select HTTP from the dialogue window and give the request the name of {Request name}
Request Name - Lock Call
Method: PUT
URL:
{{SystemURLTest}}/alemba.api/api/v2/call/{{CallRef}}/lock
Full URL, if desired:
https://<yourservername>/<yourASMsystemname>/alemba.api/api/v2/call/<yourcallno>/lock
Authorization:
Bearer {{Login_Token}}

Request Name - Update Call Fields
Method: PUT
URL:
{{SystemURLTest}}/alemba.api/api/v2/call/{{CallRef}}
Full URL, if desired:
https://<yourservername>/<yourASMsystemname>/alemba.api/api/v2/call/<yourcallRef>
Headers:
Content-Type: application/json
Body:
Raw
Authorization:
Bearer {{Login_Token}}
To update the Description of the call and the Call Status, the JSON body should look like as follows:
{
"Description":"the new description",
"DescriptionHtml": "the new description",
"CallStatus": 3
}


Request Name - Unlock Call
This is Mandatory after doing an Update, unless an Update is followed by a Forward, Defer or Close action, which will automatically unlock the call.
Method: PUT
URL:
{{SystemURLTest}}/alemba.api/api/v2/call/{{CallRef}}/unlock
Full URL, if desired:
https://<yourservername>/<yourASMsystemname>/alemba.api/api/v2/call/<yourcallno>/unlock
Authorization:
Bearer {{Login_Token}}

Last updated
Was this helpful?