POST api/{area}/OEMessages
更新已阅读
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| area | string |
None. |
Body Parameters
MessageBindingModels| Name | Description | Type | Additional information |
|---|---|---|---|
| type |
类型 |
integer |
None. |
| Id |
Id |
string |
None. |
| AccountId |
用户Id |
string |
None. |
| ShopId |
商城Id |
integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"type": 1,
"Id": "sample string 2",
"AccountId": "sample string 3",
"ShopId": 4
}
application/xml, text/xml
Sample:
<MessageBindingModels xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/open.wst.com.Areas.OnlineEducation.Models"> <AccountId xmlns="http://schemas.datacontract.org/2004/07/open.wst.com.Models">sample string 3</AccountId> <Id xmlns="http://schemas.datacontract.org/2004/07/open.wst.com.Models">sample string 2</Id> <ShopId xmlns="http://schemas.datacontract.org/2004/07/open.wst.com.Models">4</ShopId> <type>1</type> </MessageBindingModels>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
BaseResultModels| Name | Description | Type | Additional information |
|---|---|---|---|
| errcode | integer |
None. |
|
| errmsg | string |
None. |
|
| url | string |
None. |
|
| data | string |
None. |
|
| dataObj | Object |
None. |
|
| IsReceive | boolean |
None. |
|
| BtnTitle | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"errcode": 1,
"errmsg": "sample string 2",
"url": "sample string 3",
"data": "sample string 4",
"dataObj": {},
"IsReceive": true,
"BtnTitle": "sample string 7"
}
application/xml, text/xml
Sample:
<BaseResultModels xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/open.wst.com.Areas.Beauty.Models"> <BtnTitle>sample string 7</BtnTitle> <IsReceive>true</IsReceive> <data>sample string 4</data> <dataObj /> <errcode>1</errcode> <errmsg>sample string 2</errmsg> <url>sample string 3</url> </BaseResultModels>