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": "50c6897d-1604-48da-9924-d12b5fb56150",
"CreatedDate": "2026-08-08T12:47:11.1751655+03:00",
"ModifiedBy": "913368d0-b58e-4956-82bf-aaa1d6fc1421",
"ModifiedDate": "2026-08-08T12:47:11.1761688+03:00",
"hidden": true
},
{
"NewsCatID": 1,
"NewsCatDesc": "sample string 2",
"CreatedBy": "50c6897d-1604-48da-9924-d12b5fb56150",
"CreatedDate": "2026-08-08T12:47:11.1751655+03:00",
"ModifiedBy": "913368d0-b58e-4956-82bf-aaa1d6fc1421",
"ModifiedDate": "2026-08-08T12:47:11.1761688+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>50c6897d-1604-48da-9924-d12b5fb56150</CreatedBy>
<CreatedDate>2026-08-08T12:47:11.1751655+03:00</CreatedDate>
<ModifiedBy>913368d0-b58e-4956-82bf-aaa1d6fc1421</ModifiedBy>
<ModifiedDate>2026-08-08T12:47:11.1761688+03:00</ModifiedDate>
<NewsCatDesc>sample string 2</NewsCatDesc>
<NewsCatID>1</NewsCatID>
<hidden>true</hidden>
</NewsCat>
<NewsCat>
<CreatedBy>50c6897d-1604-48da-9924-d12b5fb56150</CreatedBy>
<CreatedDate>2026-08-08T12:47:11.1751655+03:00</CreatedDate>
<ModifiedBy>913368d0-b58e-4956-82bf-aaa1d6fc1421</ModifiedBy>
<ModifiedDate>2026-08-08T12:47:11.1761688+03:00</ModifiedDate>
<NewsCatDesc>sample string 2</NewsCatDesc>
<NewsCatID>1</NewsCatID>
<hidden>true</hidden>
</NewsCat>
</ArrayOfNewsCat>