GET api/News
Request Information
URI Parameters
None.
Body Parameters
None.
Response Information
Resource Description
Collection of News| Name | Description | Type | Additional information | 
|---|---|---|---|
| ID | integer | 
                             None.  | 
                |
| Title | string | 
                             None.  | 
                |
| Body | string | 
                             None.  | 
                |
| Category | string | 
                             None.  | 
                |
| Published | date | 
                             None.  | 
                |
| Created | date | 
                             None.  | 
                |
| UserId | string | 
                             None.  | 
                
Response Formats
application/json, text/json
            Sample:
        
[
  {
    "ID": 1,
    "Title": "sample string 2",
    "Body": "sample string 3",
    "Category": "sample string 4",
    "Published": "2025-11-04T09:38:14.1057243+01:00",
    "Created": "2025-11-04T09:38:14.1057243+01:00",
    "UserId": "sample string 7"
  },
  {
    "ID": 1,
    "Title": "sample string 2",
    "Body": "sample string 3",
    "Category": "sample string 4",
    "Published": "2025-11-04T09:38:14.1057243+01:00",
    "Created": "2025-11-04T09:38:14.1057243+01:00",
    "UserId": "sample string 7"
  }
]
        application/xml, text/xml
            Sample:
<ArrayOfNews xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/GRUBER.Tennis.App.Server.Models">
  <News>
    <Body>sample string 3</Body>
    <Category>sample string 4</Category>
    <Created>2025-11-04T09:38:14.1057243+01:00</Created>
    <ID>1</ID>
    <Published>2025-11-04T09:38:14.1057243+01:00</Published>
    <Title>sample string 2</Title>
    <UserId>sample string 7</UserId>
  </News>
  <News>
    <Body>sample string 3</Body>
    <Category>sample string 4</Category>
    <Created>2025-11-04T09:38:14.1057243+01:00</Created>
    <ID>1</ID>
    <Published>2025-11-04T09:38:14.1057243+01:00</Published>
    <Title>sample string 2</Title>
    <UserId>sample string 7</UserId>
  </News>
</ArrayOfNews>