Call this operation to query the parent group of a subgroup.

Request parameters

Parameter Type Required Description
Action String Yes The operation that is to be performed. Set the value to QuerySuperDeviceGroup.
GroupId String Yes The unique identifier of the subgroup.
Common request parameters - Yes See Common parameters.

Response parameters

Parameter Type Description
RequestId String The globally unique ID generated by Alibaba Cloud for the request.
Success Boolean Indicates whether the call is successful. A value of true indicates that the call is successful. A value of false indicates that the call has failed.
ErrorMessage String The error message returned when the call fails.
Code String See Error Codes.
Data Data The parent group information returned when the call is successful. For more information, see the following table GroupInfo.
Table 1. GroupInfo
Parameter Type Description
GroupName String The parent group name.
GroupId String The unique identifier of the parent group.
GroupDesc String The description of the parent group.

Examples

Request example

https://iot.cn-shanghai.aliyuncs.com/?Action=QuerySuperDeviceGroup
&GroupId=DMoI2Kby5m62Sirz
&Common request parameters

Response example

  • JSON format

    {
        "Data":{
            "GroupName":"IOTTEST",
            "GroupId":"tDQvBJqbUyHskDse",
    	"GroupDesc":"A test."
        },
        "RequestId":"7411716B-A488-4EEB-9AA0-6DB05AD2491F",
        "Success":true
    }
  • XML format

    <? xml version="1.0" encoding="UTF-8" ? >
    <QuerySuperDeviceGroupResponse>
    	<Data>
    	    <GroupName>IOTTEST</GroupName>
    	    <GroupId>tDQvBJqbUyHskDse</GroupId>
    	    <GroupDesc>A test. </GroupDesc>
    	</Data>
    	<RequestId>7411716B-A488-4EEB-9AA0-6DB05AD2491F</RequestId>
    	<Success>true</Success>
    </QuerySuperDeviceGroupResponse>