POST api/News?htmldoc={htmldoc}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
htmldoc | string |
Required |
Body Parameters
None.
Response Information
Resource Description
NewsObjectName | Description | Type | Additional information |
---|---|---|---|
Date | date |
None. |
|
Title | string |
None. |
|
EndDate | date |
None. |
|
ImagePath | string |
None. |
|
PageLink | string |
None. |
|
Description | string |
None. |
|
Order | integer |
None. |
|
AllHtml | string |
None. |
Response Formats
application/json, text/json
Sample:
{ "Date": "2024-11-21T12:40:10.288849+03:00", "Title": "sample string 1", "EndDate": "2024-11-21T12:40:10.288849+03:00", "ImagePath": "sample string 2", "PageLink": "sample string 3", "Description": "sample string 4", "Order": 5, "AllHtml": "sample string 6" }
application/xml, text/xml
Sample:
<NewsController.NewsObject xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SesricContentAPIV3.Controllers"> <AllHtml>sample string 6</AllHtml> <Date>2024-11-21T12:40:10.288849+03:00</Date> <Description>sample string 4</Description> <EndDate>2024-11-21T12:40:10.288849+03:00</EndDate> <ImagePath>sample string 2</ImagePath> <Order>5</Order> <PageLink>sample string 3</PageLink> <Title>sample string 1</Title> </NewsController.NewsObject>