GET api/LocationHierarchy/{id}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
id | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
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-21T09:13:28.0234134+00:00", "ModifiedBy": "sample string 16", "ModifiedTimestamp": "2024-11-21T09:13:28.0234134+00:00", "DataStateFlag": "sample string 17" }
application/xml, text/xml
Sample:
<LocationHierarchyModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Walsh.Service.Models"> <CreateTimestamp xmlns:d2p1="http://schemas.datacontract.org/2004/07/System"> <d2p1:DateTime>2024-11-21T09:13:28.0234134Z</d2p1:DateTime> <d2p1:OffsetMinutes>0</d2p1:OffsetMinutes> </CreateTimestamp> <CreatedBy>sample string 14</CreatedBy> <DataStateFlag>sample string 17</DataStateFlag> <Id>12</Id> <ModifiedBy>sample string 16</ModifiedBy> <ModifiedTimestamp xmlns:d2p1="http://schemas.datacontract.org/2004/07/System"> <d2p1:DateTime>2024-11-21T09:13:28.0234134Z</d2p1:DateTime> <d2p1:OffsetMinutes>0</d2p1: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>