Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

...

...

...

...

...

...

Table of Contents
minLevel1
maxLevel6
outlinefalse
stylenone
typelist
printablefalse

About

Extend API Methods

The Extend API methods let you query information from Switchvox. 

...

First pick which method you want to run. As an example, we have chosen "switchvox.extension.search". Every single request is encased in the parent tag "request" and the method is an attribute of that tag:

<request method="switchvox.extension.search">

...

For this example, I want a list of all extensions between extension 100 and 200 and I only want extensions that are either an ivr or a call_queue.

So first we need to create the parameters parent tag that will enclose our parameter list:

<request method="switchvox.extensions.search">

...


Next we need to create a tag for each parameter we want to send, and enclose the value of each parameter between starting and closing tags:

<request method="switchvox.extensions.search">

...