POST api/msg/isattention

查询是否已加关注

默认返回json数据,若要返回xml格式数据在访问地址后加上xml=true

Request 信息

URI 参数

None.

Body 参数

参数

AttentionModel
名称说明数据类型附加信息
TargetCustId

要关注/取消经纪人的Id

integer

Required

Type

操作类型

AttentionOperateType

Required

Cid

设备id

string

Required

CustId

你的用户Id

integer

None.

City

城市

string

Required

Token

token

string

Required

Platform

string

None.

Request 数据格式

application/json, text/json

示例:
{
  "TargetCustId": 1,
  "Type": 0,
  "Cid": "sample string 2",
  "CustId": 1,
  "City": "sample string 3",
  "Token": "sample string 4",
  "Platform": "sample string 5"
}

application/xml, text/xml

示例:
<AttentionModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/API.Models.API.Msg">
  <Platform xmlns="http://schemas.datacontract.org/2004/07/API.Models.API">sample string 5</Platform>
  <Token xmlns="http://schemas.datacontract.org/2004/07/API.Models.API">sample string 4</Token>
  <City xmlns="http://schemas.datacontract.org/2004/07/API.Models.API">sample string 3</City>
  <Cid>sample string 2</Cid>
  <CustId>1</CustId>
  <TargetCustId>1</TargetCustId>
  <Type>Add</Type>
</AttentionModel>

application/x-www-form-urlencoded

示例:

Response 信息

输出返回说明

结果

IsAttentionResult
名称说明数据类型附加信息
IsAttention

是否加关注

boolean

None.

Label

备注名

string

None.

Phone

备注手机号

string

None.

Remark

备注信息

string

None.

IsStar

是否标星

boolean

None.

ErrorCode

API错误码

APIErrorCode

None.

Msg

附带消息

string

None.

Response 返回数据格式

application/json, text/json

示例:
{
  "IsAttention": true,
  "Label": "sample string 2",
  "Phone": "sample string 3",
  "Remark": "sample string 4",
  "IsStar": true,
  "ErrorCode": 0,
  "Msg": "sample string 6"
}

application/xml, text/xml

示例:
<IsAttentionResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/API.Models.API.Msg">
  <ErrorCode xmlns="http://schemas.datacontract.org/2004/07/API.Models.API">SUCCESS</ErrorCode>
  <Msg xmlns="http://schemas.datacontract.org/2004/07/API.Models.API">sample string 6</Msg>
  <IsAttention>true</IsAttention>
  <IsStar>true</IsStar>
  <Label>sample string 2</Label>
  <Phone>sample string 3</Phone>
  <Remark>sample string 4</Remark>
</IsAttentionResult>