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": "b657da1a-b05c-496c-87e0-627386ac8f8e",
"CreatedDate": "2025-12-10T23:55:51.3861268+02:00",
"ModifiedBy": "5011596d-c108-4a6f-a79b-3d676acb7c95",
"ModifiedDate": "2025-12-10T23:55:51.3861268+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>b657da1a-b05c-496c-87e0-627386ac8f8e</CreatedBy> <CreatedDate>2025-12-10T23:55:51.3861268+02:00</CreatedDate> <ModifiedBy>5011596d-c108-4a6f-a79b-3d676acb7c95</ModifiedBy> <ModifiedDate>2025-12-10T23:55:51.3861268+02:00</ModifiedDate> <NewsCatDesc>sample string 2</NewsCatDesc> <NewsCatID>1</NewsCatID> <hidden>true</hidden> </NewsCat>