GET api/PrivateArticles

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

Collection of Article
NameDescriptionTypeAdditional information
Id

integer

None.

Author

string

None.

Subject

string

None.

Timestamp

date

None.

Content

string

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "Id": 1,
    "Author": "sample string 2",
    "Subject": "sample string 3",
    "Timestamp": "2024-10-23T19:22:30.0046878+02:00",
    "Content": "sample string 5"
  },
  {
    "Id": 1,
    "Author": "sample string 2",
    "Subject": "sample string 3",
    "Timestamp": "2024-10-23T19:22:30.0046878+02:00",
    "Content": "sample string 5"
  }
]

application/xml, text/xml

Sample:
<ArrayOfArticle xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebApplication1.Models">
  <Article>
    <Author>sample string 2</Author>
    <Content>sample string 5</Content>
    <Id>1</Id>
    <Subject>sample string 3</Subject>
    <Timestamp>2024-10-23T19:22:30.0046878+02:00</Timestamp>
  </Article>
  <Article>
    <Author>sample string 2</Author>
    <Content>sample string 5</Content>
    <Id>1</Id>
    <Subject>sample string 3</Subject>
    <Timestamp>2024-10-23T19:22:30.0046878+02:00</Timestamp>
  </Article>
</ArrayOfArticle>