POST api/v1

Get News Service Content

Request Information

URI Parameters

None.

Body Parameters

InputData
NameDescriptionTypeAdditional information
Provider

string

Required

Type

string

Required

Language

string

None.

NewerThan

string

None.

Category

Collection of string

Required

Request Formats

application/json, text/json

Sample:
{
  "Provider": "sample string 1",
  "Type": "sample string 2",
  "Language": "sample string 3",
  "NewerThan": "sample string 4",
  "Category": [
    "sample string 1",
    "sample string 2"
  ]
}

application/xml, text/xml

Sample:
<InputData xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RCNS.Models.v1">
  <Category xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:string>sample string 1</d2p1:string>
    <d2p1:string>sample string 2</d2p1:string>
  </Category>
  <Language>sample string 3</Language>
  <NewerThan>sample string 4</NewerThan>
  <NewerThanDate>2024-09-01T11:17:17.6658674+00:00</NewerThanDate>
  <Provider>sample string 1</Provider>
  <Type>sample string 2</Type>
</InputData>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

Content Collection

OutputData
NameDescriptionTypeAdditional information
Provider

string

Required

Type

string

Required

Language

string

None.

NewerThan

string

None.

Content

Collection of ContentBase

Required

Response Formats

application/json, text/json

Sample:
{
  "Provider": "sample string 1",
  "Type": "sample string 2",
  "Language": "sample string 3",
  "NewerThan": "sample string 4"
}

application/xml, text/xml

Sample:
<OutputData xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RCNS.Models.v1">
  <Content i:nil="true" />
  <Language>sample string 3</Language>
  <NewerThan>sample string 4</NewerThan>
  <Provider>sample string 1</Provider>
  <Type>sample string 2</Type>
</OutputData>