Update the RPS Server Selection
Submits the selected RPS server for each phone vendor in one request. The submission is a full replacement: a vendor that is omitted from the request, or that has no rpsServerId, is reset to the default account.
Request URL
PUT {base_url}/uc-cautop/api/v1/rps-servers/selection
Request parameters
- Headers
-
Parameter Required Type Description Authorization Yes String The access token used for authentication. Format: Bearer
{access_token}.x-tenant-code Yes String The tenant name. Note: You can obtain tenant name using the Query Tenants interface.
- Body parameters
-
Parameter Required Type Description selections No Array<Selection_Item> The complete set of selections. If the array is empty or omitted, all the vendors are reset to the default account.
- Selection_Item
-
Parameter Required Type Description vendor Yes String The phone vendor. rpsServerId No String The ID of the RPS server to select. If the value is empty or omitted, the vendor is reset to the default account. You can obtain the ID using the Query RPS Servers interface.
Response parameters
| Parameter | Type | Description |
|---|---|---|
| requestId | String | The unique ID of the request, which can be used to quickly locate the request. |
| code | String | The HTTP status code of the request.
|
| message | String | The status message of the request. |
| detailMessage | String | The detailed error information. When the request is successful, this parameter returns empty. |
| result | Object | The update result. The result object is empty for this interface. Call the Query RPS Servers interface again to read the current selections. |