GET api/Product/GetCategories
Request Information
URI Parameters
None.
Body Parameters
None.
Response Information
Resource Description
GetCategoriesResponse| Name | Description | Type | Additional information |
|---|---|---|---|
| Status | boolean |
None. |
|
| Message | string |
None. |
|
| Token | globally unique identifier |
None. |
|
| BaseObjects | Collection of BaseCategoryModel |
None. |
Response Formats
application/json, text/json
Sample:
{
"Status": true,
"Message": "sample string 2",
"Token": "4d7be231-a835-4ab1-8eff-16071e1963af",
"BaseObjects": [
{
"BusinessId": 1,
"CategoryName": "sample string 1",
"BackColor": "sample string 2",
"ForeColor": "sample string 3",
"SortOrder": 4,
"TillNo": "sample string 5",
"Active": true,
"CreatedBy": 1,
"ModifiedBy": 1,
"CreatedDate": "2026-03-20T14:29:01.4176805+00:00",
"LastUpdated": "2026-03-20T14:29:01.4176805+00:00",
"Id": 1
},
{
"BusinessId": 1,
"CategoryName": "sample string 1",
"BackColor": "sample string 2",
"ForeColor": "sample string 3",
"SortOrder": 4,
"TillNo": "sample string 5",
"Active": true,
"CreatedBy": 1,
"ModifiedBy": 1,
"CreatedDate": "2026-03-20T14:29:01.4176805+00:00",
"LastUpdated": "2026-03-20T14:29:01.4176805+00:00",
"Id": 1
}
]
}
application/xml, text/xml
Sample:
<GetCategoriesResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TAG.ReqResp">
<BaseObjects xmlns:d2p1="http://schemas.datacontract.org/2004/07/TAG.DataModels">
<d2p1:BaseCategoryModel>
<d2p1:Id>1</d2p1:Id>
<d2p1:CreatedDate>2026-03-20T14:29:01.4176805+00:00</d2p1:CreatedDate>
<d2p1:LastUpdated>2026-03-20T14:29:01.4176805+00:00</d2p1:LastUpdated>
<d2p1:CreatedBy>1</d2p1:CreatedBy>
<d2p1:ModifiedBy>1</d2p1:ModifiedBy>
<d2p1:Active>true</d2p1:Active>
<d2p1:BackColor>sample string 2</d2p1:BackColor>
<d2p1:BusinessId>1</d2p1:BusinessId>
<d2p1:CategoryName>sample string 1</d2p1:CategoryName>
<d2p1:ForeColor>sample string 3</d2p1:ForeColor>
<d2p1:SortOrder>4</d2p1:SortOrder>
<d2p1:TillNo>sample string 5</d2p1:TillNo>
</d2p1:BaseCategoryModel>
<d2p1:BaseCategoryModel>
<d2p1:Id>1</d2p1:Id>
<d2p1:CreatedDate>2026-03-20T14:29:01.4176805+00:00</d2p1:CreatedDate>
<d2p1:LastUpdated>2026-03-20T14:29:01.4176805+00:00</d2p1:LastUpdated>
<d2p1:CreatedBy>1</d2p1:CreatedBy>
<d2p1:ModifiedBy>1</d2p1:ModifiedBy>
<d2p1:Active>true</d2p1:Active>
<d2p1:BackColor>sample string 2</d2p1:BackColor>
<d2p1:BusinessId>1</d2p1:BusinessId>
<d2p1:CategoryName>sample string 1</d2p1:CategoryName>
<d2p1:ForeColor>sample string 3</d2p1:ForeColor>
<d2p1:SortOrder>4</d2p1:SortOrder>
<d2p1:TillNo>sample string 5</d2p1:TillNo>
</d2p1:BaseCategoryModel>
</BaseObjects>
<Message>sample string 2</Message>
<Status>true</Status>
<Token>4d7be231-a835-4ab1-8eff-16071e1963af</Token>
</GetCategoriesResponse>