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": "a5d5120e-8afd-434f-83bd-5d6f8aed6e29",
"CreatedDate": "2025-12-13T20:07:33.2869699+02:00",
"ModifiedBy": "13e1da4c-06ab-4d2a-97db-68ac6ead32fb",
"ModifiedDate": "2025-12-13T20:07:33.2869699+02: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>a5d5120e-8afd-434f-83bd-5d6f8aed6e29</CreatedBy> <CreatedDate>2025-12-13T20:07:33.2869699+02:00</CreatedDate> <ModifiedBy>13e1da4c-06ab-4d2a-97db-68ac6ead32fb</ModifiedBy> <ModifiedDate>2025-12-13T20:07:33.2869699+02:00</ModifiedDate> <NewsCatDesc>sample string 2</NewsCatDesc> <NewsCatID>1</NewsCatID> <hidden>true</hidden> </NewsCat>