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": "edb69920-0d51-4745-9b10-6353bb6e4f75",
"AssetId": "85d2ba4f-17dc-4019-b8f6-eef11fa7c86e",
"BuildingId": "a2d817f6-effc-471d-86e0-d0fbae3ce6f8",
"SubBuildingId": "997f524c-5655-408b-aff9-d6cb232e2b30",
"LocationTypeId": "2bf02735-07ae-4a52-a361-4e3dd1119e44",
"LocationId": "ff64ee42-13d2-4d88-82e2-b92087196dde",
"CategoryId": "0f22f13f-eb81-49fd-8989-de42ab085fed"
}
text/html, multipart/form-data
Sample:
{"DivisionId":"edb69920-0d51-4745-9b10-6353bb6e4f75","AssetId":"85d2ba4f-17dc-4019-b8f6-eef11fa7c86e","BuildingId":"a2d817f6-effc-471d-86e0-d0fbae3ce6f8","SubBuildingId":"997f524c-5655-408b-aff9-d6cb232e2b30","LocationTypeId":"2bf02735-07ae-4a52-a361-4e3dd1119e44","LocationId":"ff64ee42-13d2-4d88-82e2-b92087196dde","CategoryId":"0f22f13f-eb81-49fd-8989-de42ab085fed"}
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>85d2ba4f-17dc-4019-b8f6-eef11fa7c86e</AssetId> <BuildingId>a2d817f6-effc-471d-86e0-d0fbae3ce6f8</BuildingId> <CategoryId>0f22f13f-eb81-49fd-8989-de42ab085fed</CategoryId> <DivisionId>edb69920-0d51-4745-9b10-6353bb6e4f75</DivisionId> <LocationId>ff64ee42-13d2-4d88-82e2-b92087196dde</LocationId> <LocationTypeId>2bf02735-07ae-4a52-a361-4e3dd1119e44</LocationTypeId> <SubBuildingId>997f524c-5655-408b-aff9-d6cb232e2b30</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.