POST api/msg/attertionremark

添加/删除备注

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

Request 信息

URI 参数

None.

Body 参数

参数

AttertionRemarkModel
名称说明数据类型附加信息
Label

备注名

string

Max length: 20

Remark

备注信息

string

Max length: 30

Phone

电话号码

string

Max length: 11

CustId

客户id

integer

None.

Cid

客户设备号

string

Required

City

城市

string

Required

Token

token

string

Required

Platform

string

None.

Request 数据格式

application/json, text/json

示例:
{
  "Label": "sample string 1",
  "Remark": "sample string 2",
  "Phone": "sample string 3",
  "CustId": 1,
  "Cid": "sample string 4",
  "City": "sample string 5",
  "Token": "sample string 6",
  "Platform": "sample string 7"
}

application/xml, text/xml

示例:
<AttertionRemarkModel 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 7</Platform>
  <Token xmlns="http://schemas.datacontract.org/2004/07/API.Models.API">sample string 6</Token>
  <City xmlns="http://schemas.datacontract.org/2004/07/API.Models.API">sample string 5</City>
  <Cid>sample string 4</Cid>
  <CustId>1</CustId>
  <Label>sample string 1</Label>
  <Phone>sample string 3</Phone>
  <Remark>sample string 2</Remark>
</AttertionRemarkModel>

application/x-www-form-urlencoded

示例:

Response 信息

输出返回说明

结果

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

API错误码

APIErrorCode

None.

Msg

附带消息

string

None.

Response 返回数据格式

application/json, text/json

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

application/xml, text/xml

示例:
<BaseResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/API.Models.API">
  <ErrorCode>SUCCESS</ErrorCode>
  <Msg>sample string 1</Msg>
</BaseResult>