PUT /pm-extension-ms/terminal-selection-service/ons
Update ONS numbers for the specific extension number.
-
Perform the authentication and login to the API. For more information, see POST /auth/login.
-
Use PUT /pm-extension-ms/terminal-selection-service/ons to send an HTTP PUT request.
-
Click Try it Out option.
-
Set the parameters as listed in the following table.
Parameter Name
Sample Value
Supported Value
Description
extensionNumber
extensionNumber
string
Indicates the extension number.Note:This parameter is mandatory.
subsystemId
subsystemId
integer 32
Indicates the subsystem ID.Note:This parameter is mandatory.
-
Enter the request body parameter values as follows:
{ "onsVo": [ { "onsid": "string", "onsprefix": "string", "onstranslateNo": "string" } ], "info": { "reason": "string", "parameterList": [ { "fieldName": "string", "value": "string", "item": "string" } ], "message": "string", "component": "string", "id": "string" } }The following table describes the request body parameters.Parameter Name
Sample Value
Description
>onsVo
>>onsid
String
>>onsprefix
String
>>onstranslateNo
String
>info
>>code
String
>>fieldName
String
>>value
String
>>message
String
>>reason
String
>>component
String
>>ok
Boolean
-
Click on Execute to generate the request URL.
Request URL:
The following table lists the expected responses.https://<IP_Address>:<PORT>/pm-extension-ms/pm-extension/v1/virtual?subsystemName=1Response Type
Value
Schema
Valid Response 200 OK
See 200 OK: PUT /pm-extension-ms/terminal-selection-service/ons
Error Response
400 Bad Request
Not applicable
401 Authentication Failure
Not applicable
403 Forbidden
Not applicable
404 Not found
Not applicable