GET api/TriviaWebAPI/GetFirstFiveCategoryList?lang={lang}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
lang | boolean |
Required |
Body Parameters
None.
Response Information
Resource Description
Collection of GetAllCategoryList_ResultName | Description | Type | Additional information |
---|---|---|---|
pk_category_id | integer |
None. |
|
category | string |
None. |
|
created_date | date |
None. |
|
created_by | integer |
None. |
Response Formats
application/json, text/json
Sample:
[ { "pk_category_id": 1, "category": "sample string 2", "created_date": "2025-06-17T19:32:10.3125849+01:00", "created_by": 1 }, { "pk_category_id": 1, "category": "sample string 2", "created_date": "2025-06-17T19:32:10.3125849+01:00", "created_by": 1 } ]
text/html
Sample:
[{"pk_category_id":1,"category":"sample string 2","created_date":"2025-06-17T19:32:10.3125849+01:00","created_by":1},{"pk_category_id":1,"category":"sample string 2","created_date":"2025-06-17T19:32:10.3125849+01:00","created_by":1}]
application/xml, text/xml
Sample:
<ArrayOfGetAllCategoryList_Result xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Nishadi_DataLayer.Model"> <GetAllCategoryList_Result> <category>sample string 2</category> <created_by>1</created_by> <created_date>2025-06-17T19:32:10.3125849+01:00</created_date> <pk_category_id>1</pk_category_id> </GetAllCategoryList_Result> <GetAllCategoryList_Result> <category>sample string 2</category> <created_by>1</created_by> <created_date>2025-06-17T19:32:10.3125849+01:00</created_date> <pk_category_id>1</pk_category_id> </GetAllCategoryList_Result> </ArrayOfGetAllCategoryList_Result>