# CreateConsumerGroupSubscribeRelation

调用该接口在AMQP订阅中添加一个消费组。

# 请求参数

名称 类型 是否必选 示例值 描述
Action String CreateConsumerGroupSubscribeRelation 系统规定参数。取值:CreateConsumerGroupSubscribeRelation。
ConsumerGroupId String 72310871085914**** 消费组ID。
ProductKey String a1fyXVF**** 该订阅中的产品的ProductKey。
IotInstanceId String 71592493182878**** 实例ID。您可在物联网平台控制台的实例概览页面,查看当前实例的ID。

# 返回数据

名称 类型 示例值 描述
Code String iot.system.SystemException 调用失败时,返回的错误码。
ErrorMessage String 系统异常 调用失败时,返回的出错信息。
RequestId String 71a86574e8aa4c069d600e7658b3a533 平台为该请求生成的唯一标识符。
Success Boolean true 是否调用成功。true:调用成功。false:调用失败。

# 示例

请求示例

http://open.${区域}.fenydata.com/fenydata-java-open/?Action=CreateConsumerGroupSubscribeRelation
&IotInstanceId=70255861902711****
&ProductKey=a1Zkii7****
&ConsumerGroupId=72310871085914****
&<公共请求参数>

正常返回示例

XML格式

<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<xml>
    <RequestId>4788a8c3af63465a87a115358106b6a3</RequestId>
    <Success>true</Success>
</xml>

JSON格式

{
  "RequestId": "c7ff3a6790a844c4b931f20b40177a5e",
  "Success": true
}