GET api/news/detail/{id}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
News| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
None. |
|
| Title | string |
None. |
|
| TitleAr | string |
None. |
|
| TitleFr | string |
None. |
|
| Content | string |
None. |
|
| ContentAr | string |
None. |
|
| ContentFr | string |
None. |
|
| Summary | string |
None. |
|
| SummaryAr | string |
None. |
|
| ShortSummary | string |
None. |
|
| ShortSummaryAr | string |
None. |
|
| ShortSummaryFr | string |
None. |
|
| SubCategoryId | integer |
None. |
|
| DateAdded | date |
None. |
|
| Ordering | integer |
None. |
|
| MainPage | integer |
None. |
|
| Highlight | integer |
None. |
|
| HighlightText | string |
None. |
|
| Modified | integer |
None. |
|
| ModifiedBy | string |
None. |
|
| SubCategory | NewsSubCategory |
None. |
Response Formats
application/json, text/json
Sample:
{
"Id": 1,
"Title": "sample string 2",
"TitleAr": "sample string 3",
"TitleFr": "sample string 4",
"Content": "sample string 5",
"ContentAr": "sample string 6",
"ContentFr": "sample string 7",
"Summary": "sample string 8",
"SummaryAr": "sample string 9",
"ShortSummary": "sample string 10",
"ShortSummaryAr": "sample string 11",
"ShortSummaryFr": "sample string 12",
"SubCategoryId": 13,
"DateAdded": "2026-11-03T15:54:40.8218138+03:00",
"Ordering": 1,
"MainPage": 15,
"Highlight": 16,
"HighlightText": "sample string 17",
"Modified": 1,
"ModifiedBy": "sample string 18",
"SubCategory": {
"Id": 1,
"MainCategoryId": 1,
"Name": "sample string 2",
"Ordering": 1
}
}