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": "9ec9ce7e-d789-4cfd-877f-0da52a93ce5f",
"CreatedDate": "2026-04-14T09:46:38.3482955+03:00",
"ModifiedBy": "02c1bd48-3ed1-4115-84f6-844e3cb22569",
"ModifiedDate": "2026-04-14T09:46:38.3482955+03:00",
"hidden": true
},
{
"NewsCatID": 1,
"NewsCatDesc": "sample string 2",
"CreatedBy": "9ec9ce7e-d789-4cfd-877f-0da52a93ce5f",
"CreatedDate": "2026-04-14T09:46:38.3482955+03:00",
"ModifiedBy": "02c1bd48-3ed1-4115-84f6-844e3cb22569",
"ModifiedDate": "2026-04-14T09:46:38.3482955+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>9ec9ce7e-d789-4cfd-877f-0da52a93ce5f</CreatedBy>
<CreatedDate>2026-04-14T09:46:38.3482955+03:00</CreatedDate>
<ModifiedBy>02c1bd48-3ed1-4115-84f6-844e3cb22569</ModifiedBy>
<ModifiedDate>2026-04-14T09:46:38.3482955+03:00</ModifiedDate>
<NewsCatDesc>sample string 2</NewsCatDesc>
<NewsCatID>1</NewsCatID>
<hidden>true</hidden>
</NewsCat>
<NewsCat>
<CreatedBy>9ec9ce7e-d789-4cfd-877f-0da52a93ce5f</CreatedBy>
<CreatedDate>2026-04-14T09:46:38.3482955+03:00</CreatedDate>
<ModifiedBy>02c1bd48-3ed1-4115-84f6-844e3cb22569</ModifiedBy>
<ModifiedDate>2026-04-14T09:46:38.3482955+03:00</ModifiedDate>
<NewsCatDesc>sample string 2</NewsCatDesc>
<NewsCatID>1</NewsCatID>
<hidden>true</hidden>
</NewsCat>
</ArrayOfNewsCat>