POST api/Call/UpdateAgentPassword
Update password of existing operator (linked to agent email) from callcenter to VOIP line password. The administration role is required.
Request Information
URI Parameters
None.
Body Parameters
UpdateAgentPasswordPostName | Description | Type | Additional information |
---|---|---|---|
|
string |
None. |
|
NewPassword |
NewPassword |
string |
None. |
Request Formats
application/json, text/json
Sample:
{ "Email": "john.doe@domain.com", "NewPassword": "n3wSup3rPa$$w0rd" }
application/xml, text/xml
Sample:
<UpdateAgentPasswordPost xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RequestorApiDataStructures.Posts.Call"> <Email>john.doe@domain.com</Email> <NewPassword>n3wSup3rPa$$w0rd</NewPassword> </UpdateAgentPasswordPost>
Response Information
Resource Description
HttpStatusCode 200 OK with or 400 BadRequest with Message.
UpdateAgentPasswordResultName | Description | Type | Additional information |
---|---|---|---|
Success |
Succes |
boolean |
None. |
Response Formats
application/json, text/json
Sample:
{ "Success": true }
application/xml, text/xml
Sample:
<UpdateAgentPasswordResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RequestorApiDataStructures.Results.Call"> <Success>true</Success> </UpdateAgentPasswordResult>