POST news/add
Adds a News entry
Request Information
URI Parameters
None.
Body Parameters
NewsAddRequest object containing the details of the News entry
NewsAddRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| Title | string |
None. |
|
| TitleEs | string |
None. |
|
| Body | string |
None. |
|
| BodyEs | string |
None. |
|
| IsActive | boolean |
None. |
Request Formats
application/json, text/json
Sample:
{
"Title": "sample string 1",
"TitleEs": "sample string 2",
"Body": "sample string 3",
"BodyEs": "sample string 4",
"IsActive": true
}
application/xml, text/xml
Sample:
<NewsAddRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SALT2.Objects.CommunicationObjects"> <IsActive xmlns="http://schemas.datacontract.org/2004/07/SALT2.Objects">true</IsActive> <Body>sample string 3</Body> <BodyEs>sample string 4</BodyEs> <Title>sample string 1</Title> <TitleEs>sample string 2</TitleEs> </NewsAddRequest>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
NewsAddResponse
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.