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": "7c750b07-4f8a-4744-861f-5ce4ef48e4b0",
"CreatedDate": "2026-02-09T12:30:11.7772622+02:00",
"ModifiedBy": "a39c2ac0-6c2d-4d56-a56e-b78c73277a3a",
"ModifiedDate": "2026-02-09T12:30:11.7772622+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>7c750b07-4f8a-4744-861f-5ce4ef48e4b0</CreatedBy> <CreatedDate>2026-02-09T12:30:11.7772622+02:00</CreatedDate> <ModifiedBy>a39c2ac0-6c2d-4d56-a56e-b78c73277a3a</ModifiedBy> <ModifiedDate>2026-02-09T12:30:11.7772622+02:00</ModifiedDate> <NewsCatDesc>sample string 2</NewsCatDesc> <NewsCatID>1</NewsCatID> <hidden>true</hidden> </NewsCat>