UpdateExtension (v2)

Overview

Updates an extension.

The function is available as a Web Service request.

Request

Parameters of the API request:

 

ParameterType

Description

Requirements
tokenStringAPI authentication tokenMandatory
extension ExtensionSpecifies the extensionMandatory

Response

Parameters of the API response:

ParameterType

Description

returnStatus

Possible return values:

    • OK
    • ERROR_GENERAL
    • ERROR_ILLEGAL_ARGUMENT
    • ERROR_UNAUTHORIZED

Examples

 

 Example UpdateExtension transaction.
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>