ListExtensionRules (v3)

Overview

Returns a list of recording rules.

The function is available as a Web Service request.

Request

Parameters of the API request:

ParameterType

Description

Requirements
tokenStringAPI authentication tokenMandatory
eidStringEnvironment ID of the tenant we are looking forMandatory

Response

Parameters of the API response:

ParameterType

Description

extensionRules
List<ExtensionRule>List of available recording rules
returnStatus

Possible return values:

    • OK
    • ERROR_GENERAL
    • ERROR_ILLEGAL_ARGUMENT
    • ERROR_UNAUTHORIZED

Examples

 Example ListExtensionRules transaction.
Example ListExtensionRules transaction.
Request:

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:v3="http://v3.provisioning.ws.web.verba.com/">
   <soapenv:Header/>
   <soapenv:Body>
      <v3:listExtensionRules>
         <token>YWygO3Nw0LlqWWThMKxBa18G3zQ8HKq3</token>
         <eid>0000</eid>
      </v3:listExtensionRules>
   </soapenv:Body>
</soapenv:Envelope>

Response:

<S:Envelope xmlns:S="http://schemas.xmlsoap.org/soap/envelope/">
   <S:Body>
      <ns2:listExtensionRulesResponse xmlns:ns2="http://v3.provisioning.ws.web.verba.com/">
         <return>
            <extensionRules>
               <description>Description of the Dev Test Recording rule</description>
               <eid>0000</eid>
               <id>1</id>
               <name>Dev Test Recording rule</name>
            </extensionRules>
            <status>
               <statusCode>OK</statusCode>
            </status>
         </return>
      </ns2:listExtensionRulesResponse>
   </S:Body>
</S:Envelope>