Specify the Profile URL for RPS
Specify the Profile URL in RPS (Redirection and Provisioning Service) for a device.
Important: Only devices that are NOT
ye added to Milesight Development Platform can be configured with
RPS, and once configured, they can NOT be subsequently added to the
platform for remote management and configuration, unless deleting
their RPS records.
Request URL
POST {base_url}/device/openapi/v1/rps/profile
Request Parameters
Parameter | Required | Type | Description |
---|---|---|---|
Authorization | Yes | String | The valid access token for making API calls. The format should be Bearer {access_token}. |
Parameter | Required | Type | Description |
---|---|---|---|
sn | Yes | String | The SN (Serial Number) of this device. |
profileUrl | Yes | String | The profile URL of this device. |
Response Parameters
Parameter | Type | Description |
---|---|---|
data | String | The result of the API request. |
status | String | The result of the API request.
|
requestId | String | The unique ID of the request, which can be used to quickly locate the request. |
Examples
- Request example
- Specify the Profile URL for the device with SN "6757D3317995xxxx"
- Response example
-
HTTP/1.1 200 OK { "data": "success", "status": "Success", "requestId": "768acf43e1e492a881b7fdb8721861e3" }