GET api/Categories/Site/{siteId}
Get All Category Of Site.
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| siteId | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
Collection of Category| Name | Description | Type | Additional information |
|---|---|---|---|
| CategoryId | integer |
None. |
|
| CompanyId | integer |
None. |
|
| Name | string |
None. |
|
| DefaultHexaColor | string |
None. |
|
| Description | string |
None. |
|
| LastChanged | date |
None. |
|
| LastChange_AuthorId | integer |
None. |
|
| CategoryType | string |
None. |
|
| IsFavorite | boolean |
None. |
|
| FavoritePosition | integer |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"CategoryId": 1,
"CompanyId": 1,
"Name": "sample string 2",
"DefaultHexaColor": "sample string 3",
"Description": "sample string 4",
"LastChanged": "2025-12-22T23:52:11.3422103+00:00",
"LastChange_AuthorId": 1,
"CategoryType": "sample string 6",
"IsFavorite": true,
"FavoritePosition": 1
},
{
"CategoryId": 1,
"CompanyId": 1,
"Name": "sample string 2",
"DefaultHexaColor": "sample string 3",
"Description": "sample string 4",
"LastChanged": "2025-12-22T23:52:11.3422103+00:00",
"LastChange_AuthorId": 1,
"CategoryType": "sample string 6",
"IsFavorite": true,
"FavoritePosition": 1
}
]
application/xml, text/xml
Sample:
<ArrayOfCategory xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ELO_IdentityAPI_Eloapp.net.Models">
<Category>
<CategoryId>1</CategoryId>
<CategoryType>sample string 6</CategoryType>
<CompanyId>1</CompanyId>
<DefaultHexaColor>sample string 3</DefaultHexaColor>
<Description>sample string 4</Description>
<FavoritePosition>1</FavoritePosition>
<IsFavorite>true</IsFavorite>
<LastChange_AuthorId>1</LastChange_AuthorId>
<LastChanged>2025-12-22T23:52:11.3422103+00:00</LastChanged>
<Name>sample string 2</Name>
</Category>
<Category>
<CategoryId>1</CategoryId>
<CategoryType>sample string 6</CategoryType>
<CompanyId>1</CompanyId>
<DefaultHexaColor>sample string 3</DefaultHexaColor>
<Description>sample string 4</Description>
<FavoritePosition>1</FavoritePosition>
<IsFavorite>true</IsFavorite>
<LastChange_AuthorId>1</LastChange_AuthorId>
<LastChanged>2025-12-22T23:52:11.3422103+00:00</LastChanged>
<Name>sample string 2</Name>
</Category>
</ArrayOfCategory>