POST api/Customer/CustomerMessage?sign={sign}
用户--消息
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| sign |
Sign(密钥2) |
string |
Required |
Body Parameters
ModelMessageRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| customerid |
客户索引ID |
string |
None. |
| username |
客户登陆名 |
string |
None. |
| maker |
消息发送人 |
string |
None. |
Request Formats
application/json, text/json
Sample:
{
"customerid": "sample string 1",
"username": "sample string 2",
"maker": "sample string 3"
}
application/xml, text/xml
Sample:
<ModelMessageRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/lms.mobile.api.Models"> <customerid>sample string 1</customerid> <maker>sample string 3</maker> <username>sample string 2</username> </ModelMessageRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
Collection of ModelCustomerMessage| Name | Description | Type | Additional information |
|---|---|---|---|
| customerid |
用户索引ID |
string |
None. |
| isread |
阅读状态(true:已读) |
boolean |
None. |
| readdate |
阅读时间 |
string |
None. |
| autoinc |
索引ID |
string |
None. |
| type |
消息类型 |
string |
None. |
| maker |
消息发布人 |
string |
None. |
| message |
消息内容 |
string |
None. |
| messageid |
消息索引ID |
string |
None. |
| inputdate |
发布日期 |
string |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"customerid": "sample string 1",
"isread": true,
"readdate": "sample string 3",
"autoinc": "sample string 4",
"type": "sample string 5",
"maker": "sample string 6",
"message": "sample string 7",
"messageid": "sample string 8",
"inputdate": "sample string 9"
},
{
"customerid": "sample string 1",
"isread": true,
"readdate": "sample string 3",
"autoinc": "sample string 4",
"type": "sample string 5",
"maker": "sample string 6",
"message": "sample string 7",
"messageid": "sample string 8",
"inputdate": "sample string 9"
}
]
application/xml, text/xml
Sample:
<ArrayOfModelCustomerMessage xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/lms.mobile.api.Models.customer">
<ModelCustomerMessage>
<inputdate xmlns="http://schemas.datacontract.org/2004/07/lms.mobile.api.Models">sample string 9</inputdate>
<maker xmlns="http://schemas.datacontract.org/2004/07/lms.mobile.api.Models">sample string 6</maker>
<message xmlns="http://schemas.datacontract.org/2004/07/lms.mobile.api.Models">sample string 7</message>
<messageid xmlns="http://schemas.datacontract.org/2004/07/lms.mobile.api.Models">sample string 8</messageid>
<type xmlns="http://schemas.datacontract.org/2004/07/lms.mobile.api.Models">sample string 5</type>
<autoinc>sample string 4</autoinc>
<customerid>sample string 1</customerid>
<isread>true</isread>
<readdate>sample string 3</readdate>
</ModelCustomerMessage>
<ModelCustomerMessage>
<inputdate xmlns="http://schemas.datacontract.org/2004/07/lms.mobile.api.Models">sample string 9</inputdate>
<maker xmlns="http://schemas.datacontract.org/2004/07/lms.mobile.api.Models">sample string 6</maker>
<message xmlns="http://schemas.datacontract.org/2004/07/lms.mobile.api.Models">sample string 7</message>
<messageid xmlns="http://schemas.datacontract.org/2004/07/lms.mobile.api.Models">sample string 8</messageid>
<type xmlns="http://schemas.datacontract.org/2004/07/lms.mobile.api.Models">sample string 5</type>
<autoinc>sample string 4</autoinc>
<customerid>sample string 1</customerid>
<isread>true</isread>
<readdate>sample string 3</readdate>
</ModelCustomerMessage>
</ArrayOfModelCustomerMessage>