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": "9b8260e9-b4f3-481d-a8cd-fec3a73a164d",
"CreatedDate": "2026-08-08T12:47:31.8534685+03:00",
"ModifiedBy": "fd6fe8d7-7fa8-480e-9482-2f128db932fa",
"ModifiedDate": "2026-08-08T12:47:31.8534685+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>9b8260e9-b4f3-481d-a8cd-fec3a73a164d</CreatedBy> <CreatedDate>2026-08-08T12:47:31.8534685+03:00</CreatedDate> <ModifiedBy>fd6fe8d7-7fa8-480e-9482-2f128db932fa</ModifiedBy> <ModifiedDate>2026-08-08T12:47:31.8534685+03:00</ModifiedDate> <NewsCatDesc>sample string 2</NewsCatDesc> <NewsCatID>1</NewsCatID> <hidden>true</hidden> </NewsCat>