GET api/News/AllCats
Request Information
URI Parameters
None.
Body Parameters
None.
Response Information
Resource Description
Collection of NewsCat| Name | Description | Type | Additional information |
|---|---|---|---|
| NewsCatID | integer |
None. |
|
| NewsCatDesc | string |
None. |
|
| CreatedBy | globally unique identifier |
None. |
|
| CreatedDate | date |
None. |
|
| ModifiedBy | globally unique identifier |
None. |
|
| ModifiedDate | date |
None. |
|
| hidden | boolean |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"NewsCatID": 1,
"NewsCatDesc": "sample string 2",
"CreatedBy": "3b5c0445-d64a-4a8b-afd0-f910f64c0c9a",
"CreatedDate": "2026-10-14T14:29:33.7319538+03:00",
"ModifiedBy": "51bffd55-dc3a-48e8-adee-20e3b5b3ee22",
"ModifiedDate": "2026-10-14T14:29:33.7319538+03:00",
"hidden": true
},
{
"NewsCatID": 1,
"NewsCatDesc": "sample string 2",
"CreatedBy": "3b5c0445-d64a-4a8b-afd0-f910f64c0c9a",
"CreatedDate": "2026-10-14T14:29:33.7319538+03:00",
"ModifiedBy": "51bffd55-dc3a-48e8-adee-20e3b5b3ee22",
"ModifiedDate": "2026-10-14T14:29:33.7319538+03:00",
"hidden": true
}
]
application/xml, text/xml
Sample:
<ArrayOfNewsCat xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/apiapplawyers">
<NewsCat>
<CreatedBy>3b5c0445-d64a-4a8b-afd0-f910f64c0c9a</CreatedBy>
<CreatedDate>2026-10-14T14:29:33.7319538+03:00</CreatedDate>
<ModifiedBy>51bffd55-dc3a-48e8-adee-20e3b5b3ee22</ModifiedBy>
<ModifiedDate>2026-10-14T14:29:33.7319538+03:00</ModifiedDate>
<NewsCatDesc>sample string 2</NewsCatDesc>
<NewsCatID>1</NewsCatID>
<hidden>true</hidden>
</NewsCat>
<NewsCat>
<CreatedBy>3b5c0445-d64a-4a8b-afd0-f910f64c0c9a</CreatedBy>
<CreatedDate>2026-10-14T14:29:33.7319538+03:00</CreatedDate>
<ModifiedBy>51bffd55-dc3a-48e8-adee-20e3b5b3ee22</ModifiedBy>
<ModifiedDate>2026-10-14T14:29:33.7319538+03:00</ModifiedDate>
<NewsCatDesc>sample string 2</NewsCatDesc>
<NewsCatID>1</NewsCatID>
<hidden>true</hidden>
</NewsCat>
</ArrayOfNewsCat>