POST api/notices
Request Information
URI Parameters
None.
Body Parameters
SendNoticeRq| Name | Description | Type | Additional information |
|---|---|---|---|
| SendFrom | integer |
None. |
|
| SendTo | integer |
None. |
|
| Type | NoticeType |
None. |
|
| Message | string |
None. |
|
| ActionUrl | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"SendFrom": 1,
"SendTo": 2,
"Type": 0,
"Message": "sample string 3",
"ActionUrl": "sample string 4"
}
application/xml, text/xml
Sample:
<SendNoticeRq xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BlogAdmin.Contracts.Notice"> <ActionUrl>sample string 4</ActionUrl> <Message>sample string 3</Message> <SendFrom>1</SendFrom> <SendTo>2</SendTo> <Type>NewRegister</Type> </SendNoticeRq>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ResponseResultOfString| Name | Description | Type | Additional information |
|---|---|---|---|
| Data | string |
None. |
|
| Message | string |
None. |
|
| Status | integer |
None. |
|
| Page | PageInfo |
None. |
Response Formats
application/json, text/json
Sample:
{
"Data": "sample string 1",
"Message": "sample string 2",
"Status": 3,
"Page": {
"PageIndex": 1,
"PageTotal": 2,
"DataTotal": 3,
"PostSize": 4,
"TagSize": 5,
"ThemeSize": 6
}
}
application/xml, text/xml
Sample:
<ResponseResultOfstring xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BlogAdmin.Models">
<Data>sample string 1</Data>
<Message>sample string 2</Message>
<Page>
<DataTotal>3</DataTotal>
<PageIndex>1</PageIndex>
<PageTotal>2</PageTotal>
<PostSize>4</PostSize>
<TagSize>5</TagSize>
<ThemeSize>6</ThemeSize>
</Page>
<Status>3</Status>
</ResponseResultOfstring>