ListExtensionTypes
The ListExtensionTypes command lists available extension types in the system. It is useful for GetConfig and ListExtensions commands to specify the extension type.
Example HTTP request:
http://192.168.115.131:7780/?command=ListExtensionTypes
Example HTTP response:
<?xml version="1.0"?>
<Response xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<Code>200
<Message>Command successfully executed</Message>
<ExtensionTypes>
<Type>ConferenceRoom</Type>
<Type>SQLAuthenticator</Type>
<Type>SQLLogger</Type>
<Type>SQLReporter</Type>
<Type>SQLSMS</Type>
<Type>SQL</Type>
<Type>EchoSoundTest</Type>
<Type>EmailService</Type>
<Type>ExeLauncher</Type>
<Type>ISDNProvider</Type>
<Type>APIExtension</Type>
<Type>RingingGroup</Type>
<Type>SIP</Type>
<Type>PSTNDevice</Type>
<Type>SMPPConnection</Type>
<Type>SMSModem</Type>
<Type>Voicemail</Type>
<Type>VoIPProvider</Type>
<Type>ChatConsole</Type>
<Type>Webphone</Type>
</ExtensionTypes>
</Response>
Request parameters
| Parameter name | Value | Description | Mandatory |
| command | string value, ListExtensionTypes | Specifies the type of the HTTP API command. | Yes |
| These parameters are only required if office user authentication is set in the HTTP API: | |||
| Parameter name | Value | Description | |
| Username | string value, e.g. user1000 |
This is the username of an Ozeki Phone System office user. | |
| Password | string value, e.g. mypassword12 |
This is the password belonging to the username. | |
Response parameters
| Parameter name | Value | Description |
| Code | int value (200, 300, 301, 302, 303) |
Returns the status code of the response. For more infromation go to the status code reference page |
| Message | string value, e.g. Command successfully executed |
Returns the description of the response code. For more infromation go to the status code reference page |
| ExtensionTypes | string value, e.g. <Type>SIP</Type> |
Returns the available extension types in <Type>extension type</Type> format. |