PUT v1/CatEye/SetTargetIntercoms?num={num}

设置对方对讲账号 已有的对讲账号将被删除

ÇëÇóÐÅÏ¢

URI²ÎÊý

×Ö¶ÎÃû³ÆÃèÊöÀàÐÍÔ¼Êø
num

猫眼机身号

string

必须

Body²ÎÊý

IntercomInfo[]
×Ö¶ÎÃû³ÆÃèÊöÀàÐÍÔ¼Êø
userId

对讲的userId

string

必填

长度范围: [1, 36]

loginToken

对讲的登录令牌

string

必填

nickName

昵称

string

必填

长度范围: [1, 20]

scope

对讲适用范围

CEIntercomScope

必填

ÇëÇó¸ñʽ

application/json, text/json

Àý×Ó:
[
  {
    "userId": "sample string 1",
    "loginToken": "sample string 2",
    "nickName": "sample string 3",
    "scope": 0
  },
  {
    "userId": "sample string 1",
    "loginToken": "sample string 2",
    "nickName": "sample string 3",
    "scope": 0
  }
]

application/x-www-form-urlencoded

Àý×Ó:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'IntercomInfo[]'.

ÏìÓ¦ÐÅÏ¢

·µ»ØÀàÐÍ

ApiResultOfBoolean
×Ö¶ÎÃû³ÆÃèÊöÀàÐÍÔ¼Êø
code

错误码

ErrorCode

必填

msg

相关提示信息

string

必填

data

业务数据

boolean

必填

ÏìÓ¦¸ñʽ

application/json, text/json

Àý×Ó:
{
  "code": 0,
  "msg": "sample string 1",
  "data": true
}

接口调试

Authorization

AppId

Token

URI

PUT

Body参数

对讲的userId

对讲的登录令牌

昵称

对讲适用范围

请求header

请求body

响应body