# Switch Device Set

This API endpoint allows you to switch the active device set. A device set includes one primary device, and this interface can be used to change which device set is currently active.

# Request Path

{CLTPlatform-ip}:8086/processor/changeDeviceSet

  • Replace {CLTPlatform-ip} with the corresponding IP address.
  • The request port is 8086.

# Protocol

HTTP

# Method

POST

# Request Parameters

  • Set the Content-Type of the request body to application/json.
Parameter Name Description Required Type Data Dictionary Restriction Example
command Command type Yes string - - processor/changeDeviceSet
data Data Yes object - - -
data >> ipAddress Device set IP address Yes string - - 192.168.1.102

# Request Example

{
    "command": "processor/changeDeviceSet",
    "data": {
        "ipAddress": "192.168.1.102"
    }
}

# Response

Parameter Name Description Required Type Data Dictionary Restriction Example
command Command type Yes string - - processor/changeDeviceSet
code Status code Yes int - - 20000
message Message Yes string - - Common_Success
data Data Yes object - - -

# Response Example

{
    "command": "processor/changeDeviceSet",
    "code": 20000,
    "message": "Common_Success",
    "data": {}
}

# Detailed Description