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": "0f550a18-4357-4d5f-bb1b-1deb0b4548e5",
"CreatedDate": "2026-06-08T17:48:55.2720989+03:00",
"ModifiedBy": "4b49f162-5800-41b2-888d-6e718f5565e2",
"ModifiedDate": "2026-06-08T17:48:55.2720989+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>0f550a18-4357-4d5f-bb1b-1deb0b4548e5</CreatedBy> <CreatedDate>2026-06-08T17:48:55.2720989+03:00</CreatedDate> <ModifiedBy>4b49f162-5800-41b2-888d-6e718f5565e2</ModifiedBy> <ModifiedDate>2026-06-08T17:48:55.2720989+03:00</ModifiedDate> <NewsCatDesc>sample string 2</NewsCatDesc> <NewsCatID>1</NewsCatID> <hidden>true</hidden> </NewsCat>