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": "9564e745-fe5b-48f1-8620-0d604127e2df",
"CreatedDate": "2026-04-14T09:45:14.6296317+03:00",
"ModifiedBy": "67b4378a-15ad-4dd7-b1ec-a9783477a57e",
"ModifiedDate": "2026-04-14T09:45:14.6296317+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>9564e745-fe5b-48f1-8620-0d604127e2df</CreatedBy> <CreatedDate>2026-04-14T09:45:14.6296317+03:00</CreatedDate> <ModifiedBy>67b4378a-15ad-4dd7-b1ec-a9783477a57e</ModifiedBy> <ModifiedDate>2026-04-14T09:45:14.6296317+03:00</ModifiedDate> <NewsCatDesc>sample string 2</NewsCatDesc> <NewsCatID>1</NewsCatID> <hidden>true</hidden> </NewsCat>