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": "f6b10ba2-2dff-44dd-9af4-873e6bb2c575",
"CreatedDate": "2026-10-07T10:21:05.5417782+03:00",
"ModifiedBy": "1db5cc5e-0e4e-46ae-8a43-2d43f7a371a0",
"ModifiedDate": "2026-10-07T10:21:05.5417782+03:00",
"hidden": true
},
{
"NewsCatID": 1,
"NewsCatDesc": "sample string 2",
"CreatedBy": "f6b10ba2-2dff-44dd-9af4-873e6bb2c575",
"CreatedDate": "2026-10-07T10:21:05.5417782+03:00",
"ModifiedBy": "1db5cc5e-0e4e-46ae-8a43-2d43f7a371a0",
"ModifiedDate": "2026-10-07T10:21:05.5417782+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>f6b10ba2-2dff-44dd-9af4-873e6bb2c575</CreatedBy>
<CreatedDate>2026-10-07T10:21:05.5417782+03:00</CreatedDate>
<ModifiedBy>1db5cc5e-0e4e-46ae-8a43-2d43f7a371a0</ModifiedBy>
<ModifiedDate>2026-10-07T10:21:05.5417782+03:00</ModifiedDate>
<NewsCatDesc>sample string 2</NewsCatDesc>
<NewsCatID>1</NewsCatID>
<hidden>true</hidden>
</NewsCat>
<NewsCat>
<CreatedBy>f6b10ba2-2dff-44dd-9af4-873e6bb2c575</CreatedBy>
<CreatedDate>2026-10-07T10:21:05.5417782+03:00</CreatedDate>
<ModifiedBy>1db5cc5e-0e4e-46ae-8a43-2d43f7a371a0</ModifiedBy>
<ModifiedDate>2026-10-07T10:21:05.5417782+03:00</ModifiedDate>
<NewsCatDesc>sample string 2</NewsCatDesc>
<NewsCatID>1</NewsCatID>
<hidden>true</hidden>
</NewsCat>
</ArrayOfNewsCat>