GET api/News/CatById/{Id}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
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": "e3870c1f-9018-4dde-8be3-89e222b7d306",
"CreatedDate": "2026-10-07T10:21:05.5417782+03:00",
"ModifiedBy": "c66652b6-79d2-45bb-9b9e-850bb9a8d0db",
"ModifiedDate": "2026-10-07T10:21:05.5417782+03:00",
"hidden": true
}
application/xml, text/xml
Sample:
<NewsCat xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/apiapplawyers"> <CreatedBy>e3870c1f-9018-4dde-8be3-89e222b7d306</CreatedBy> <CreatedDate>2026-10-07T10:21:05.5417782+03:00</CreatedDate> <ModifiedBy>c66652b6-79d2-45bb-9b9e-850bb9a8d0db</ModifiedBy> <ModifiedDate>2026-10-07T10:21:05.5417782+03:00</ModifiedDate> <NewsCatDesc>sample string 2</NewsCatDesc> <NewsCatID>1</NewsCatID> <hidden>true</hidden> </NewsCat>