POST api/msg/senddescription

发送经纪人介绍【需登录】

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

Request 信息

URI 参数

None.

Body 参数

参数

ChatModel
名称说明数据类型附加信息
Platform

平台参数

string

Required

Info

加密的信息,加密内容详见User

string

Required

To

接收人ClientId

string

Required

CustId

接收人Id

string

None.

ConectionId

连接Id

string

Required

City

城市

string

Required

Request 数据格式

application/json, text/json

示例:
{
  "Platform": "sample string 1",
  "Info": "sample string 2",
  "To": "sample string 3",
  "CustId": "sample string 4",
  "ConectionId": "sample string 5",
  "City": "sample string 6"
}

application/xml, text/xml

示例:
<ChatModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/API.Models.API.Msg">
  <City>sample string 6</City>
  <ConectionId>sample string 5</ConectionId>
  <CustId>sample string 4</CustId>
  <Info>sample string 2</Info>
  <Platform>sample string 1</Platform>
  <To>sample string 3</To>
</ChatModel>

application/x-www-form-urlencoded

示例:

Response 信息

输出返回说明

结果

MsgResult
名称说明数据类型附加信息
IsOnline

是否在线

boolean

None.

Info

附带信息

Object

None.

MsgId

消息Id

integer

None.

PreviousId

前一条消息,可能为null

integer

None.

ErrorCode

API错误码

APIErrorCode

None.

Msg

附带消息

string

None.

Response 返回数据格式

application/json, text/json

示例:
{
  "IsOnline": true,
  "Info": {},
  "MsgId": 3,
  "PreviousId": 1,
  "ErrorCode": 0,
  "Msg": "sample string 4"
}

application/xml, text/xml

示例:
<MsgResult 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 4</Msg>
  <Info />
  <IsOnline>true</IsOnline>
  <MsgId>3</MsgId>
  <PreviousId>1</PreviousId>
</MsgResult>