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