GET api/HomeWebAPI/GetTopNineNews?newsType={newsType}&industry={industry}&language={language}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
newsType | integer |
Required |
|
industry | boolean |
Required |
|
language | boolean |
Required |
Body Parameters
None.
Response Information
Resource Description
Collection of GetTop9News_ResultName | Description | Type | Additional information |
---|---|---|---|
pk_news_id | integer |
None. |
|
title | string |
None. |
|
image_icon | string |
None. |
|
description | string |
None. |
|
news_type | integer |
None. |
|
is_bol_kan | boolean |
None. |
|
create_dt | date |
None. |
|
modified_dt | date |
None. |
Response Formats
application/json, text/json
Sample:
[ { "pk_news_id": 1, "title": "sample string 2", "image_icon": "sample string 3", "description": "sample string 4", "news_type": 1, "is_bol_kan": true, "create_dt": "2025-08-12T09:57:16.6726463+01:00", "modified_dt": "2025-08-12T09:57:16.6726463+01:00" }, { "pk_news_id": 1, "title": "sample string 2", "image_icon": "sample string 3", "description": "sample string 4", "news_type": 1, "is_bol_kan": true, "create_dt": "2025-08-12T09:57:16.6726463+01:00", "modified_dt": "2025-08-12T09:57:16.6726463+01:00" } ]
text/html
Sample:
[{"pk_news_id":1,"title":"sample string 2","image_icon":"sample string 3","description":"sample string 4","news_type":1,"is_bol_kan":true,"create_dt":"2025-08-12T09:57:16.6726463+01:00","modified_dt":"2025-08-12T09:57:16.6726463+01:00"},{"pk_news_id":1,"title":"sample string 2","image_icon":"sample string 3","description":"sample string 4","news_type":1,"is_bol_kan":true,"create_dt":"2025-08-12T09:57:16.6726463+01:00","modified_dt":"2025-08-12T09:57:16.6726463+01:00"}]
application/xml, text/xml
Sample:
<ArrayOfGetTop9News_Result xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Nishadi_DataLayer.Model"> <GetTop9News_Result> <create_dt>2025-08-12T09:57:16.6726463+01:00</create_dt> <description>sample string 4</description> <image_icon>sample string 3</image_icon> <is_bol_kan>true</is_bol_kan> <modified_dt>2025-08-12T09:57:16.6726463+01:00</modified_dt> <news_type>1</news_type> <pk_news_id>1</pk_news_id> <title>sample string 2</title> </GetTop9News_Result> <GetTop9News_Result> <create_dt>2025-08-12T09:57:16.6726463+01:00</create_dt> <description>sample string 4</description> <image_icon>sample string 3</image_icon> <is_bol_kan>true</is_bol_kan> <modified_dt>2025-08-12T09:57:16.6726463+01:00</modified_dt> <news_type>1</news_type> <pk_news_id>1</pk_news_id> <title>sample string 2</title> </GetTop9News_Result> </ArrayOfGetTop9News_Result>