PUT /pm-extension-ms/available-extensions/v1
Update the extension description.
-
Perform the authentication and login to the API. For more information, see POST /auth/login.
-
Use PUT /pm-extension-ms/available-extensions/v1 to send an HTTP PUT request.
-
Click Try it Out option.
-
Under Request body select application/json from drop-down list.
-
Enter the request body parameter values as follows:
{ "extension": "string", "freeTime": "string", "availabilityType": "string", "description": "string", "mxoneSubsystem": "string" }The following table describes the request body parameters.Parameter Name
Sample Value
Description
>mxoneSubsystem
String
Enter the Telephony System.
Format: String
Options: Available Telephony Subsystems that have been previously created.Note: This parameter is mandatory.>availabilityType
String
When searching for an available extension numbers it is possible to enter the Description either partially or fully. All the available extensions with the entered description are listed.
Format: Up to 250 alphanumerical characters.
Example: reserved
>extension
String
The Extension Number. The extension number is the directory number for the extension.
Format: Non-editableNote: This parameter is mandatory.>description
String
When searching for an available extension numbers it is possible to enter the Description either partially or fully. All the available extensions with the entered description are listed.
Format: Up to 250 alphanumerical characters.
Example: reserved
-
Click on Execute to generate the request URL.
Request URL:
The following table lists the expected responses.https://<IP_Address>:<PORT>/pm-extension-ms/available-extensions/v1Response Type
Value
Schema
Valid Response 200 OK
For 200 OK,{ "extension": "string", "freeTime": "string", "availabilityType": "string", "description": "string", "miVoiceMXONE": "string" }Error Response
400 Bad Request
Not applicable
401 Authentication Failure
Not applicable
403 Forbidden
Not applicable
404 Not found
Not applicable