POST api/collector/removebroker

删除经纪人收藏(同时可删除关注的经纪人)

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

Request 信息

URI 参数

None.

Body 参数

BrokerRemoveModel
名称说明数据类型附加信息
IsRemoveAttention

收藏是否同时关注经纪人

boolean

None.

Cid

您的设备id, 如果需要关注经纪人,且未登录,cid需要填写

string

None.

Id

收藏Id,批量删除

Collection of integer

Required

Type

删除的类型

CollectorType

Required

City

城市

string

Required

Token

token

string

Required

Platform

string

None.

Request 数据格式

application/json, text/json

示例:
{
  "IsRemoveAttention": true,
  "Cid": "sample string 2",
  "Id": [
    1,
    2
  ],
  "Type": 1,
  "City": "sample string 3",
  "Token": "sample string 4",
  "Platform": "sample string 5"
}

application/xml, text/xml

示例:
<BrokerRemoveModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/API.Models.API.Collector">
  <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>
  <Id xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:long>1</d2p1:long>
    <d2p1:long>2</d2p1:long>
  </Id>
  <Type>Trade</Type>
  <Cid>sample string 2</Cid>
  <IsRemoveAttention>true</IsRemoveAttention>
</BrokerRemoveModel>

application/x-www-form-urlencoded

示例:

Response 信息

输出返回说明

RemoveResult
名称说明数据类型附加信息
ErrorCode

API错误码

APIErrorCode

None.

Msg

附带消息

string

None.

Response 返回数据格式

application/json, text/json

示例:
{
  "ErrorCode": 0,
  "Msg": "sample string 1"
}

application/xml, text/xml

示例:
<RemoveResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/API.Models.API.Collector">
  <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 1</Msg>
</RemoveResult>