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": "24374c50-8114-4c34-9167-0cf22e48d18e",
"AssetId": "f0e3a89e-8184-4710-990a-b15ce01c7fc4",
"BuildingId": "7cdea306-be69-4a8e-8cfb-df2acac61926",
"SubBuildingId": "87137153-6621-4689-bada-df3665802b94",
"LocationTypeId": "6c224574-17c3-46d8-838f-41685950e553",
"LocationId": "cc4daba7-5ddc-4a0d-9e4e-14cc441f072d",
"CategoryId": "0ea98185-03fc-4433-9d19-450e5de872d8"
}
text/html, multipart/form-data
Sample:
{"DivisionId":"24374c50-8114-4c34-9167-0cf22e48d18e","AssetId":"f0e3a89e-8184-4710-990a-b15ce01c7fc4","BuildingId":"7cdea306-be69-4a8e-8cfb-df2acac61926","SubBuildingId":"87137153-6621-4689-bada-df3665802b94","LocationTypeId":"6c224574-17c3-46d8-838f-41685950e553","LocationId":"cc4daba7-5ddc-4a0d-9e4e-14cc441f072d","CategoryId":"0ea98185-03fc-4433-9d19-450e5de872d8"}
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>f0e3a89e-8184-4710-990a-b15ce01c7fc4</AssetId> <BuildingId>7cdea306-be69-4a8e-8cfb-df2acac61926</BuildingId> <CategoryId>0ea98185-03fc-4433-9d19-450e5de872d8</CategoryId> <DivisionId>24374c50-8114-4c34-9167-0cf22e48d18e</DivisionId> <LocationId>cc4daba7-5ddc-4a0d-9e4e-14cc441f072d</LocationId> <LocationTypeId>6c224574-17c3-46d8-838f-41685950e553</LocationTypeId> <SubBuildingId>87137153-6621-4689-bada-df3665802b94</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.