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": "00d78565-fed5-49f5-81d0-cc3ed443f338",
"AssetId": "eadc9510-4d84-46b0-9650-cef82de09e4d",
"BuildingId": "c27afdbc-c339-4d31-8673-4eb292d52a1e",
"SubBuildingId": "cdb46973-28c2-4591-94d6-d39f033ae414",
"LocationTypeId": "acb7bd04-ca00-4ef1-ac66-e5562afc5d87",
"LocationId": "218cd152-346e-4069-b64b-afd210d32e47",
"CategoryId": "1e020d9c-b5cf-45d2-92d7-f43a28a85e4e"
}
text/html, multipart/form-data
Sample:
{"DivisionId":"00d78565-fed5-49f5-81d0-cc3ed443f338","AssetId":"eadc9510-4d84-46b0-9650-cef82de09e4d","BuildingId":"c27afdbc-c339-4d31-8673-4eb292d52a1e","SubBuildingId":"cdb46973-28c2-4591-94d6-d39f033ae414","LocationTypeId":"acb7bd04-ca00-4ef1-ac66-e5562afc5d87","LocationId":"218cd152-346e-4069-b64b-afd210d32e47","CategoryId":"1e020d9c-b5cf-45d2-92d7-f43a28a85e4e"}
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>eadc9510-4d84-46b0-9650-cef82de09e4d</AssetId> <BuildingId>c27afdbc-c339-4d31-8673-4eb292d52a1e</BuildingId> <CategoryId>1e020d9c-b5cf-45d2-92d7-f43a28a85e4e</CategoryId> <DivisionId>00d78565-fed5-49f5-81d0-cc3ed443f338</DivisionId> <LocationId>218cd152-346e-4069-b64b-afd210d32e47</LocationId> <LocationTypeId>acb7bd04-ca00-4ef1-ac66-e5562afc5d87</LocationTypeId> <SubBuildingId>cdb46973-28c2-4591-94d6-d39f033ae414</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.