POST 17.0/database/news/list

Description

Retrieve a list of News

URI Parameters

None.

Name Description Type Additional information
Fields

Collection of string

None.

Filters

Collection of DatabaseFilter

None.

Order

string

None.

application/json, text/json

Sample:
{
  "fields": [
    "sample string 1",
    "sample string 2"
  ],
  "filters": [
    {
      "fieldName": "sample string 1",
      "value": "sample string 2",
      "operator": "sample string 3",
      "valueType": "sample string 4"
    },
    {
      "fieldName": "sample string 1",
      "value": "sample string 2",
      "operator": "sample string 3",
      "valueType": "sample string 4"
    }
  ],
  "order": "sample string 1"
}

application/xml, text/xml

Sample:
<ListOptions xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <Fields>
    <string>sample string 1</string>
    <string>sample string 2</string>
  </Fields>
  <Filters>
    <DatabaseFilter>
      <FieldName>sample string 1</FieldName>
      <Value>sample string 2</Value>
      <Operator>sample string 3</Operator>
      <ValueType>sample string 4</ValueType>
    </DatabaseFilter>
    <DatabaseFilter>
      <FieldName>sample string 1</FieldName>
      <Value>sample string 2</Value>
      <Operator>sample string 3</Operator>
      <ValueType>sample string 4</ValueType>
    </DatabaseFilter>
  </Filters>
  <Order>sample string 1</Order>
</ListOptions>

application/x-www-form-urlencoded

Sample:

Sample not available.

Collection of NewsUpdate
Name Description Type Additional information
ID

integer

None.

NewsDate

date

None.

Subject

string

String length: inclusive between 0 and 255

Body

string

None.

WebPage

string

String length: inclusive between 0 and 50

SiteID

integer

None.

Pictures

string

None.

UploadPictures

byte

None.

Attachments

string

None.

UpdatedDate

date

None.

InActive

byte

None.

application/json, text/json

Sample:
[
  {
    "id": 1,
    "newsDate": "2025-01-09T20:28",
    "subject": "sample string 1",
    "body": "sample string 2",
    "webPage": "sample string 3",
    "siteID": 1,
    "pictures": "sample string 4",
    "uploadPictures": 64,
    "attachments": "sample string 5",
    "updatedDate": "2025-01-09T20:28",
    "inActive": 64
  },
  {
    "id": 1,
    "newsDate": "2025-01-09T20:28",
    "subject": "sample string 1",
    "body": "sample string 2",
    "webPage": "sample string 3",
    "siteID": 1,
    "pictures": "sample string 4",
    "uploadPictures": 64,
    "attachments": "sample string 5",
    "updatedDate": "2025-01-09T20:28",
    "inActive": 64
  }
]

application/xml, text/xml

Sample:
<ArrayOfNewsUpdate xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <NewsUpdate>
    <ID>1</ID>
    <NewsDate>2025-01-09T20:28:17.6339041+00:00</NewsDate>
    <Subject>sample string 1</Subject>
    <Body>sample string 2</Body>
    <WebPage>sample string 3</WebPage>
    <SiteID>1</SiteID>
    <Pictures>sample string 4</Pictures>
    <UploadPictures>64</UploadPictures>
    <Attachments>sample string 5</Attachments>
    <UpdatedDate>2025-01-09T20:28:17.6339041+00:00</UpdatedDate>
    <InActive>64</InActive>
  </NewsUpdate>
  <NewsUpdate>
    <ID>1</ID>
    <NewsDate>2025-01-09T20:28:17.6339041+00:00</NewsDate>
    <Subject>sample string 1</Subject>
    <Body>sample string 2</Body>
    <WebPage>sample string 3</WebPage>
    <SiteID>1</SiteID>
    <Pictures>sample string 4</Pictures>
    <UploadPictures>64</UploadPictures>
    <Attachments>sample string 5</Attachments>
    <UpdatedDate>2025-01-09T20:28:17.6339041+00:00</UpdatedDate>
    <InActive>64</InActive>
  </NewsUpdate>
</ArrayOfNewsUpdate>