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": "fe21182d-a512-48d5-a304-32e11c658619",
"AssetId": "eea65905-b283-49fe-a9b6-1c1626b2a607",
"BuildingId": "492f4b17-2491-4fdd-952d-6d8151f0d07a",
"SubBuildingId": "028d6341-51b0-4e03-91c9-fc155ae84c9e",
"LocationTypeId": "a834cf32-efa5-420e-88dd-fb271ab908ee",
"LocationId": "a309b45b-ba66-4d90-9bd3-30773fbae949",
"CategoryId": "a548a369-fed0-423e-ac2a-2f395f61a28a"
}
text/html, multipart/form-data
Sample:
{"DivisionId":"fe21182d-a512-48d5-a304-32e11c658619","AssetId":"eea65905-b283-49fe-a9b6-1c1626b2a607","BuildingId":"492f4b17-2491-4fdd-952d-6d8151f0d07a","SubBuildingId":"028d6341-51b0-4e03-91c9-fc155ae84c9e","LocationTypeId":"a834cf32-efa5-420e-88dd-fb271ab908ee","LocationId":"a309b45b-ba66-4d90-9bd3-30773fbae949","CategoryId":"a548a369-fed0-423e-ac2a-2f395f61a28a"}
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>eea65905-b283-49fe-a9b6-1c1626b2a607</AssetId> <BuildingId>492f4b17-2491-4fdd-952d-6d8151f0d07a</BuildingId> <CategoryId>a548a369-fed0-423e-ac2a-2f395f61a28a</CategoryId> <DivisionId>fe21182d-a512-48d5-a304-32e11c658619</DivisionId> <LocationId>a309b45b-ba66-4d90-9bd3-30773fbae949</LocationId> <LocationTypeId>a834cf32-efa5-420e-88dd-fb271ab908ee</LocationTypeId> <SubBuildingId>028d6341-51b0-4e03-91c9-fc155ae84c9e</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.