GET api/Articles/{id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

Body Parameters

None.

Response Information

Resource Description

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": "2022-05-06T23:15:16.6767249+02:00",
  "Content": "sample string 5"
}

application/xml, text/xml

Sample:
<Article xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebApplication1.Models">
  <Author>sample string 2</Author>
  <Content>sample string 5</Content>
  <Id>1</Id>
  <Subject>sample string 3</Subject>
  <Timestamp>2022-05-06T23:15:16.6767249+02:00</Timestamp>
</Article>