GET api/LocationHierarchy?accountId={accountId}&baseId={baseId}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
accountId | integer |
Required |
|
baseId | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
Collection of LocationHierarchyModelName | Description | Type | Additional information |
---|---|---|---|
AccountId | integer |
None. |
|
BaseId | integer |
None. |
|
ParentId | integer |
None. |
|
Name | string |
None. |
|
Order | integer |
None. |
|
IndustryId | integer |
None. |
|
IndustryName | string |
None. |
|
SubIndustryId | integer |
None. |
|
SubIndustryName | string |
None. |
|
GlobalLocationHierarchyId | integer |
None. |
|
GlobalLocationHierarchyName | string |
None. |
|
Id | integer |
None. |
|
Status | string |
None. |
|
CreatedBy | string |
None. |
|
CreateTimestamp | date |
None. |
|
ModifiedBy | string |
None. |
|
ModifiedTimestamp | date |
None. |
|
DataStateFlag | string |
None. |
Response Formats
application/json, text/json
Sample:
[ { "AccountId": 1, "BaseId": 2, "ParentId": 3, "Name": "sample string 4", "Order": 5, "IndustryId": 6, "IndustryName": "sample string 7", "SubIndustryId": 8, "SubIndustryName": "sample string 9", "GlobalLocationHierarchyId": 10, "GlobalLocationHierarchyName": "sample string 11", "Id": 12, "Status": "sample string 13", "CreatedBy": "sample string 14", "CreateTimestamp": "2024-11-21T08:41:01.5477314+00:00", "ModifiedBy": "sample string 16", "ModifiedTimestamp": "2024-11-21T08:41:01.5477314+00:00", "DataStateFlag": "sample string 17" }, { "AccountId": 1, "BaseId": 2, "ParentId": 3, "Name": "sample string 4", "Order": 5, "IndustryId": 6, "IndustryName": "sample string 7", "SubIndustryId": 8, "SubIndustryName": "sample string 9", "GlobalLocationHierarchyId": 10, "GlobalLocationHierarchyName": "sample string 11", "Id": 12, "Status": "sample string 13", "CreatedBy": "sample string 14", "CreateTimestamp": "2024-11-21T08:41:01.5477314+00:00", "ModifiedBy": "sample string 16", "ModifiedTimestamp": "2024-11-21T08:41:01.5477314+00:00", "DataStateFlag": "sample string 17" } ]
application/xml, text/xml
Sample:
<ArrayOfLocationHierarchyModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Walsh.Service.Models"> <LocationHierarchyModel> <CreateTimestamp xmlns:d3p1="http://schemas.datacontract.org/2004/07/System"> <d3p1:DateTime>2024-11-21T08:41:01.5477314Z</d3p1:DateTime> <d3p1:OffsetMinutes>0</d3p1:OffsetMinutes> </CreateTimestamp> <CreatedBy>sample string 14</CreatedBy> <DataStateFlag>sample string 17</DataStateFlag> <Id>12</Id> <ModifiedBy>sample string 16</ModifiedBy> <ModifiedTimestamp xmlns:d3p1="http://schemas.datacontract.org/2004/07/System"> <d3p1:DateTime>2024-11-21T08:41:01.5477314Z</d3p1:DateTime> <d3p1:OffsetMinutes>0</d3p1:OffsetMinutes> </ModifiedTimestamp> <Status>sample string 13</Status> <AccountId>1</AccountId> <BaseId>2</BaseId> <GlobalLocationHierarchyId>10</GlobalLocationHierarchyId> <GlobalLocationHierarchyName>sample string 11</GlobalLocationHierarchyName> <IndustryId>6</IndustryId> <IndustryName>sample string 7</IndustryName> <Name>sample string 4</Name> <Order>5</Order> <ParentId>3</ParentId> <SubIndustryId>8</SubIndustryId> <SubIndustryName>sample string 9</SubIndustryName> </LocationHierarchyModel> <LocationHierarchyModel> <CreateTimestamp xmlns:d3p1="http://schemas.datacontract.org/2004/07/System"> <d3p1:DateTime>2024-11-21T08:41:01.5477314Z</d3p1:DateTime> <d3p1:OffsetMinutes>0</d3p1:OffsetMinutes> </CreateTimestamp> <CreatedBy>sample string 14</CreatedBy> <DataStateFlag>sample string 17</DataStateFlag> <Id>12</Id> <ModifiedBy>sample string 16</ModifiedBy> <ModifiedTimestamp xmlns:d3p1="http://schemas.datacontract.org/2004/07/System"> <d3p1:DateTime>2024-11-21T08:41:01.5477314Z</d3p1:DateTime> <d3p1:OffsetMinutes>0</d3p1:OffsetMinutes> </ModifiedTimestamp> <Status>sample string 13</Status> <AccountId>1</AccountId> <BaseId>2</BaseId> <GlobalLocationHierarchyId>10</GlobalLocationHierarchyId> <GlobalLocationHierarchyName>sample string 11</GlobalLocationHierarchyName> <IndustryId>6</IndustryId> <IndustryName>sample string 7</IndustryName> <Name>sample string 4</Name> <Order>5</Order> <ParentId>3</ParentId> <SubIndustryId>8</SubIndustryId> <SubIndustryName>sample string 9</SubIndustryName> </LocationHierarchyModel> </ArrayOfLocationHierarchyModel>