Overview
Updates an extension.
The function is available as a Web Service request.
Request
Parameters of the API request:
Â
Parameter | Type | Description | Requirements |
---|
token | String | API authentication token | Mandatory |
extension | Â Extension | Specifies the extension | Mandatory |
Response
Parameters of the API response:
Parameter | Type | Description |
---|
return | Status | Possible return values: - OK
- ERROR_GENERAL
- ERROR_ILLEGAL_ARGUMENT
- ERROR_UNAUTHORIZED
|
Examples
Â
 Example UpdateExtension transaction.
Request:
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:v2="http://v2.provisioning.ws.web.verba.com/">
<soapenv:Header/>
<soapenv:Body>
<v2:updateExtension>
<token>FipASZ3Y336Kvmv7W1BV7aXY7hDFeMxq</token>
<extension>
<eid>0000</eid>
<!-- Needed if eid is not present
<environmentShortName></environmentShortName>
-->
<extension>verbatestuser2@verbalabs.com</extension>
<recordingMode>CONTROLLED</recordingMode>
<im>1</im>
<voice>1</voice>
<video>1</video>
<screenCaptureEnabled>1</screenCaptureEnabled>
<!--
If the user tag is not present then the extension-user association will be deleted (if) any.
You should always be sure that you have a user tag with a valid ID in it!!
-->
<user>
<id>25</id>
</user>
</extension>
</v2:updateExtension>
</soapenv:Body>
</soapenv:Envelope>
Response:
<S:Envelope xmlns:S="http://schemas.xmlsoap.org/soap/envelope/">
<S:Body>
<ns2:updateExtensionResponse xmlns:ns2="http://v2.provisioning.ws.web.verba.com/">
<return>
<statusCode>OK</statusCode>
</return>
</ns2:updateExtensionResponse>
</S:Body>
</S:Envelope>
Â
Â