PUT api/2.0/crm/voip/opers/{operatorId}
Updates a phone number operator with the parameters specified in the request.
Name |
Description |
Type |
Example |
operatorId
sent in url
|
Phone number operator ID
|
guid
|
9924256A-739C-462b-AF15-E652A3B1B6EB
|
status
sent in body
|
New operator status
optional
|
ASC.VoipService.AgentStatus
|
|
allowOutgoingCalls
sent in body
|
Defines if an operator allows making the outgoing calls or not
optional
|
Bool value
|
true
|
record
sent in body
|
Defines if an operator allows recording calls or not
optional
|
Bool value
|
true
|
answerType
sent in body
|
New operator answer type
optional
|
ASC.VoipService.AnswerType
|
|
redirectToNumber
sent in body
|
New redirect phone number
|
string
|
some text
|
PUT api/2.0/crm/voip/opers/9924256A-739C-462b-AF15-E652A3B1B6EB
Host: yourportal.onlyoffice.com
Content-Type: application/json
Accept: application/json
{
"status": null,
"allowOutgoingCalls": null,
"record": null,
"answerType": null,
"redirectToNumber": "some text"
}