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": "d4a86421-d027-4f53-8347-a898be5bcab7",
"CreatedDate": "2026-04-09T19:42:14.7932979+03:00",
"ModifiedBy": "f7c711f8-d2b8-4a36-9882-17a12428c016",
"ModifiedDate": "2026-04-09T19:42:14.7932979+03:00",
"hidden": true
},
{
"NewsCatID": 1,
"NewsCatDesc": "sample string 2",
"CreatedBy": "d4a86421-d027-4f53-8347-a898be5bcab7",
"CreatedDate": "2026-04-09T19:42:14.7932979+03:00",
"ModifiedBy": "f7c711f8-d2b8-4a36-9882-17a12428c016",
"ModifiedDate": "2026-04-09T19:42:14.7932979+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>d4a86421-d027-4f53-8347-a898be5bcab7</CreatedBy>
<CreatedDate>2026-04-09T19:42:14.7932979+03:00</CreatedDate>
<ModifiedBy>f7c711f8-d2b8-4a36-9882-17a12428c016</ModifiedBy>
<ModifiedDate>2026-04-09T19:42:14.7932979+03:00</ModifiedDate>
<NewsCatDesc>sample string 2</NewsCatDesc>
<NewsCatID>1</NewsCatID>
<hidden>true</hidden>
</NewsCat>
<NewsCat>
<CreatedBy>d4a86421-d027-4f53-8347-a898be5bcab7</CreatedBy>
<CreatedDate>2026-04-09T19:42:14.7932979+03:00</CreatedDate>
<ModifiedBy>f7c711f8-d2b8-4a36-9882-17a12428c016</ModifiedBy>
<ModifiedDate>2026-04-09T19:42:14.7932979+03:00</ModifiedDate>
<NewsCatDesc>sample string 2</NewsCatDesc>
<NewsCatID>1</NewsCatID>
<hidden>true</hidden>
</NewsCat>
</ArrayOfNewsCat>