GET api/DashboardApi/GetSubBuildingsByAssetIdAndCategoryId?divisionId={divisionId}&assetId={assetId}&dateFrom={dateFrom}&dateTo={dateTo}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| divisionId | globally unique identifier |
Required |
|
| assetId | globally unique identifier |
Required |
|
| dateFrom | date |
Required |
|
| dateTo | date |
Required |
Body Parameters
None.
Response Information
Resource Description
Collection of CategorieSubBuildings| Name | Description | Type | Additional information |
|---|---|---|---|
| CategoryId | globally unique identifier |
None. |
|
| CategoryName | string |
None. |
|
| SubBuildings | Collection of ItemsDashboard |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"CategoryId": "b577469f-3de9-4da6-b20c-ae1e85e36e70",
"CategoryName": "sample string 2",
"SubBuildings": [
{
"ItemId": "e685cb46-4307-47b3-958e-b8e58e7ddde0",
"EnName": "sample string 2",
"ArName": "sample string 3",
"Score": 4.0
},
{
"ItemId": "e685cb46-4307-47b3-958e-b8e58e7ddde0",
"EnName": "sample string 2",
"ArName": "sample string 3",
"Score": 4.0
}
]
},
{
"CategoryId": "b577469f-3de9-4da6-b20c-ae1e85e36e70",
"CategoryName": "sample string 2",
"SubBuildings": [
{
"ItemId": "e685cb46-4307-47b3-958e-b8e58e7ddde0",
"EnName": "sample string 2",
"ArName": "sample string 3",
"Score": 4.0
},
{
"ItemId": "e685cb46-4307-47b3-958e-b8e58e7ddde0",
"EnName": "sample string 2",
"ArName": "sample string 3",
"Score": 4.0
}
]
}
]
text/html, multipart/form-data
Sample:
[{"CategoryId":"b577469f-3de9-4da6-b20c-ae1e85e36e70","CategoryName":"sample string 2","SubBuildings":[{"ItemId":"e685cb46-4307-47b3-958e-b8e58e7ddde0","EnName":"sample string 2","ArName":"sample string 3","Score":4.0},{"ItemId":"e685cb46-4307-47b3-958e-b8e58e7ddde0","EnName":"sample string 2","ArName":"sample string 3","Score":4.0}]},{"CategoryId":"b577469f-3de9-4da6-b20c-ae1e85e36e70","CategoryName":"sample string 2","SubBuildings":[{"ItemId":"e685cb46-4307-47b3-958e-b8e58e7ddde0","EnName":"sample string 2","ArName":"sample string 3","Score":4.0},{"ItemId":"e685cb46-4307-47b3-958e-b8e58e7ddde0","EnName":"sample string 2","ArName":"sample string 3","Score":4.0}]}]
application/xml, text/xml
Sample:
<ArrayOfCategorieSubBuildings xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MSMChecklistFlow.DTO">
<CategorieSubBuildings>
<CategoryId>b577469f-3de9-4da6-b20c-ae1e85e36e70</CategoryId>
<CategoryName>sample string 2</CategoryName>
<SubBuildings>
<ItemsDashboard>
<ArName>sample string 3</ArName>
<EnName>sample string 2</EnName>
<ItemId>e685cb46-4307-47b3-958e-b8e58e7ddde0</ItemId>
<Score>4</Score>
</ItemsDashboard>
<ItemsDashboard>
<ArName>sample string 3</ArName>
<EnName>sample string 2</EnName>
<ItemId>e685cb46-4307-47b3-958e-b8e58e7ddde0</ItemId>
<Score>4</Score>
</ItemsDashboard>
</SubBuildings>
</CategorieSubBuildings>
<CategorieSubBuildings>
<CategoryId>b577469f-3de9-4da6-b20c-ae1e85e36e70</CategoryId>
<CategoryName>sample string 2</CategoryName>
<SubBuildings>
<ItemsDashboard>
<ArName>sample string 3</ArName>
<EnName>sample string 2</EnName>
<ItemId>e685cb46-4307-47b3-958e-b8e58e7ddde0</ItemId>
<Score>4</Score>
</ItemsDashboard>
<ItemsDashboard>
<ArName>sample string 3</ArName>
<EnName>sample string 2</EnName>
<ItemId>e685cb46-4307-47b3-958e-b8e58e7ddde0</ItemId>
<Score>4</Score>
</ItemsDashboard>
</SubBuildings>
</CategorieSubBuildings>
</ArrayOfCategorieSubBuildings>