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": "d6b99a01-3f6d-4c29-9423-7dab872a4a5c",
"CreatedDate": "2026-02-26T15:58:32.5990965+02:00",
"ModifiedBy": "f9a54f22-4a73-420a-87bf-0a444e593b99",
"ModifiedDate": "2026-02-26T15:58:32.5990965+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>d6b99a01-3f6d-4c29-9423-7dab872a4a5c</CreatedBy> <CreatedDate>2026-02-26T15:58:32.5990965+02:00</CreatedDate> <ModifiedBy>f9a54f22-4a73-420a-87bf-0a444e593b99</ModifiedBy> <ModifiedDate>2026-02-26T15:58:32.5990965+02:00</ModifiedDate> <NewsCatDesc>sample string 2</NewsCatDesc> <NewsCatID>1</NewsCatID> <hidden>true</hidden> </NewsCat>