GET api/LocationNodes/ByLocationTypeByLevel?accountId={accountId}&locationTypeId={locationTypeId}&level={level}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
accountId | integer |
Required |
|
locationTypeId | integer |
Required |
|
level | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
Collection of HierarchyName | Description | Type | Additional information |
---|---|---|---|
Id | integer |
None. |
|
Name | string |
None. |
|
ParentId | integer |
None. |
|
BaseId | integer |
None. |
|
HierarchyId | integer |
None. |
Response Formats
application/json, text/json
Sample:
[ { "Id": 1, "Name": "sample string 2", "ParentId": 3, "BaseId": 4, "HierarchyId": 5 }, { "Id": 1, "Name": "sample string 2", "ParentId": 3, "BaseId": 4, "HierarchyId": 5 } ]
application/xml, text/xml
Sample:
<ArrayOfHierarchy xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Walsh.Model.Models.LocationHirearchy"> <Hierarchy> <BaseId>4</BaseId> <HierarchyId>5</HierarchyId> <Id>1</Id> <Name>sample string 2</Name> <ParentId>3</ParentId> </Hierarchy> <Hierarchy> <BaseId>4</BaseId> <HierarchyId>5</HierarchyId> <Id>1</Id> <Name>sample string 2</Name> <ParentId>3</ParentId> </Hierarchy> </ArrayOfHierarchy>