POST api/Templates/GetTemplatesByHierarchy
Request Information
URI Parameters
None.
Body Parameters
TemplateHierarchyDTOName | 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": "ea898230-069b-4f4b-a4e1-17d6a797ad1c", "AssetId": "f8124017-8026-4fe7-aa4b-a90a77a726e0", "BuildingId": "36458ca3-ba4b-4b54-be40-0c9db35d3fdb", "SubBuildingId": "d2a35e8a-d651-40c7-830c-d53f1190df19", "LocationTypeId": "84941e88-bc93-40e0-955c-ffdda7154dee", "LocationId": "41fd1c29-86dc-40ff-93cf-6437177daf57", "CategoryId": "547e509e-ad3d-4b72-aa5c-1dfc35f27842" }
text/html, multipart/form-data
Sample:
{"DivisionId":"ea898230-069b-4f4b-a4e1-17d6a797ad1c","AssetId":"f8124017-8026-4fe7-aa4b-a90a77a726e0","BuildingId":"36458ca3-ba4b-4b54-be40-0c9db35d3fdb","SubBuildingId":"d2a35e8a-d651-40c7-830c-d53f1190df19","LocationTypeId":"84941e88-bc93-40e0-955c-ffdda7154dee","LocationId":"41fd1c29-86dc-40ff-93cf-6437177daf57","CategoryId":"547e509e-ad3d-4b72-aa5c-1dfc35f27842"}
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>f8124017-8026-4fe7-aa4b-a90a77a726e0</AssetId> <BuildingId>36458ca3-ba4b-4b54-be40-0c9db35d3fdb</BuildingId> <CategoryId>547e509e-ad3d-4b72-aa5c-1dfc35f27842</CategoryId> <DivisionId>ea898230-069b-4f4b-a4e1-17d6a797ad1c</DivisionId> <LocationId>41fd1c29-86dc-40ff-93cf-6437177daf57</LocationId> <LocationTypeId>84941e88-bc93-40e0-955c-ffdda7154dee</LocationTypeId> <SubBuildingId>d2a35e8a-d651-40c7-830c-d53f1190df19</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.