POST api/Templates/GetTemplatesByHierarchy
Request Information
URI Parameters
None.
Body Parameters
TemplateHierarchyDTO| Name | Description | Type | Additional information |
|---|---|---|---|
| DivisionId | globally unique identifier |
None. |
|
| AssetId | globally unique identifier |
None. |
|
| BuildingId | globally unique identifier |
None. |
|
| SubBuildingId | globally unique identifier |
None. |
|
| LocationTypeId | globally unique identifier |
None. |
|
| LocationId | globally unique identifier |
None. |
|
| CategoryId | globally unique identifier |
None. |
Request Formats
application/json, text/json
Sample:
{
"DivisionId": "f245fc54-99e7-4d7e-841c-911a1269f46b",
"AssetId": "013bc582-385f-4350-9358-45971ffe5730",
"BuildingId": "0c76347d-2c44-4ecc-ac08-8987d8a0cafa",
"SubBuildingId": "197a9fd9-c159-47c8-b238-29f306e594bf",
"LocationTypeId": "089504e0-bf4c-4a48-9e31-2ab637f37f10",
"LocationId": "24304a83-16a0-4cbe-bc78-5bc29a796275",
"CategoryId": "1aedd87a-6728-4837-a0d8-bd21fd4acf72"
}
text/html, multipart/form-data
Sample:
{"DivisionId":"f245fc54-99e7-4d7e-841c-911a1269f46b","AssetId":"013bc582-385f-4350-9358-45971ffe5730","BuildingId":"0c76347d-2c44-4ecc-ac08-8987d8a0cafa","SubBuildingId":"197a9fd9-c159-47c8-b238-29f306e594bf","LocationTypeId":"089504e0-bf4c-4a48-9e31-2ab637f37f10","LocationId":"24304a83-16a0-4cbe-bc78-5bc29a796275","CategoryId":"1aedd87a-6728-4837-a0d8-bd21fd4acf72"}
application/xml, text/xml
Sample:
<TemplateHierarchyDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MSMChecklistFlow.DTO"> <AssetId>013bc582-385f-4350-9358-45971ffe5730</AssetId> <BuildingId>0c76347d-2c44-4ecc-ac08-8987d8a0cafa</BuildingId> <CategoryId>1aedd87a-6728-4837-a0d8-bd21fd4acf72</CategoryId> <DivisionId>f245fc54-99e7-4d7e-841c-911a1269f46b</DivisionId> <LocationId>24304a83-16a0-4cbe-bc78-5bc29a796275</LocationId> <LocationTypeId>089504e0-bf4c-4a48-9e31-2ab637f37f10</LocationTypeId> <SubBuildingId>197a9fd9-c159-47c8-b238-29f306e594bf</SubBuildingId> </TemplateHierarchyDTO>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, text/html, multipart/form-data, application/xml, text/xml
Sample:
Sample not available.