GET api/LocationNodes

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

Collection of LocationNodesModel
NameDescriptionTypeAdditional information
AccountId

integer

None.

BaseId

integer

None.

ParentId

integer

None.

HierarchyId

integer

None.

Name

string

None.

Latitude

decimal number

None.

Longitude

decimal number

None.

Order

integer

None.

Tags

string

None.

LocationTypes

Collection of LocalLocationTypeInfo

None.

Departments

Collection of NodeLocalDepartmentInfo

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,
    "HierarchyId": 4,
    "Name": "sample string 5",
    "Latitude": 6.1,
    "Longitude": 7.1,
    "Order": 8,
    "Tags": "sample string 9",
    "LocationTypes": [
      {
        "Id": 1,
        "Name": "sample string 2"
      },
      {
        "Id": 1,
        "Name": "sample string 2"
      }
    ],
    "Departments": [
      {
        "Id": 1,
        "Name": "sample string 2"
      },
      {
        "Id": 1,
        "Name": "sample string 2"
      }
    ],
    "Id": 10,
    "Status": "sample string 11",
    "CreatedBy": "sample string 12",
    "CreateTimestamp": "2024-11-21T08:52:19.7478371+00:00",
    "ModifiedBy": "sample string 14",
    "ModifiedTimestamp": "2024-11-21T08:52:19.7478371+00:00",
    "DataStateFlag": "sample string 15"
  },
  {
    "AccountId": 1,
    "BaseId": 2,
    "ParentId": 3,
    "HierarchyId": 4,
    "Name": "sample string 5",
    "Latitude": 6.1,
    "Longitude": 7.1,
    "Order": 8,
    "Tags": "sample string 9",
    "LocationTypes": [
      {
        "Id": 1,
        "Name": "sample string 2"
      },
      {
        "Id": 1,
        "Name": "sample string 2"
      }
    ],
    "Departments": [
      {
        "Id": 1,
        "Name": "sample string 2"
      },
      {
        "Id": 1,
        "Name": "sample string 2"
      }
    ],
    "Id": 10,
    "Status": "sample string 11",
    "CreatedBy": "sample string 12",
    "CreateTimestamp": "2024-11-21T08:52:19.7478371+00:00",
    "ModifiedBy": "sample string 14",
    "ModifiedTimestamp": "2024-11-21T08:52:19.7478371+00:00",
    "DataStateFlag": "sample string 15"
  }
]

application/xml, text/xml

Sample:
<ArrayOfLocationNodesModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Walsh.Service.Models.LocationStructure">
  <LocationNodesModel>
    <CreateTimestamp xmlns:d3p1="http://schemas.datacontract.org/2004/07/System" xmlns="http://schemas.datacontract.org/2004/07/Walsh.Service.Models">
      <d3p1:DateTime>2024-11-21T08:52:19.7478371Z</d3p1:DateTime>
      <d3p1:OffsetMinutes>0</d3p1:OffsetMinutes>
    </CreateTimestamp>
    <CreatedBy xmlns="http://schemas.datacontract.org/2004/07/Walsh.Service.Models">sample string 12</CreatedBy>
    <DataStateFlag xmlns="http://schemas.datacontract.org/2004/07/Walsh.Service.Models">sample string 15</DataStateFlag>
    <Id xmlns="http://schemas.datacontract.org/2004/07/Walsh.Service.Models">10</Id>
    <ModifiedBy xmlns="http://schemas.datacontract.org/2004/07/Walsh.Service.Models">sample string 14</ModifiedBy>
    <ModifiedTimestamp xmlns:d3p1="http://schemas.datacontract.org/2004/07/System" xmlns="http://schemas.datacontract.org/2004/07/Walsh.Service.Models">
      <d3p1:DateTime>2024-11-21T08:52:19.7478371Z</d3p1:DateTime>
      <d3p1:OffsetMinutes>0</d3p1:OffsetMinutes>
    </ModifiedTimestamp>
    <Status xmlns="http://schemas.datacontract.org/2004/07/Walsh.Service.Models">sample string 11</Status>
    <AccountId>1</AccountId>
    <BaseId>2</BaseId>
    <Departments>
      <NodeLocalDepartmentInfo>
        <Id>1</Id>
        <Name>sample string 2</Name>
      </NodeLocalDepartmentInfo>
      <NodeLocalDepartmentInfo>
        <Id>1</Id>
        <Name>sample string 2</Name>
      </NodeLocalDepartmentInfo>
    </Departments>
    <HierarchyId>4</HierarchyId>
    <Latitude>6.1</Latitude>
    <LocationTypes>
      <LocalLocationTypeInfo>
        <Id>1</Id>
        <Name>sample string 2</Name>
      </LocalLocationTypeInfo>
      <LocalLocationTypeInfo>
        <Id>1</Id>
        <Name>sample string 2</Name>
      </LocalLocationTypeInfo>
    </LocationTypes>
    <Longitude>7.1</Longitude>
    <Name>sample string 5</Name>
    <Order>8</Order>
    <ParentId>3</ParentId>
    <Tags>sample string 9</Tags>
  </LocationNodesModel>
  <LocationNodesModel>
    <CreateTimestamp xmlns:d3p1="http://schemas.datacontract.org/2004/07/System" xmlns="http://schemas.datacontract.org/2004/07/Walsh.Service.Models">
      <d3p1:DateTime>2024-11-21T08:52:19.7478371Z</d3p1:DateTime>
      <d3p1:OffsetMinutes>0</d3p1:OffsetMinutes>
    </CreateTimestamp>
    <CreatedBy xmlns="http://schemas.datacontract.org/2004/07/Walsh.Service.Models">sample string 12</CreatedBy>
    <DataStateFlag xmlns="http://schemas.datacontract.org/2004/07/Walsh.Service.Models">sample string 15</DataStateFlag>
    <Id xmlns="http://schemas.datacontract.org/2004/07/Walsh.Service.Models">10</Id>
    <ModifiedBy xmlns="http://schemas.datacontract.org/2004/07/Walsh.Service.Models">sample string 14</ModifiedBy>
    <ModifiedTimestamp xmlns:d3p1="http://schemas.datacontract.org/2004/07/System" xmlns="http://schemas.datacontract.org/2004/07/Walsh.Service.Models">
      <d3p1:DateTime>2024-11-21T08:52:19.7478371Z</d3p1:DateTime>
      <d3p1:OffsetMinutes>0</d3p1:OffsetMinutes>
    </ModifiedTimestamp>
    <Status xmlns="http://schemas.datacontract.org/2004/07/Walsh.Service.Models">sample string 11</Status>
    <AccountId>1</AccountId>
    <BaseId>2</BaseId>
    <Departments>
      <NodeLocalDepartmentInfo>
        <Id>1</Id>
        <Name>sample string 2</Name>
      </NodeLocalDepartmentInfo>
      <NodeLocalDepartmentInfo>
        <Id>1</Id>
        <Name>sample string 2</Name>
      </NodeLocalDepartmentInfo>
    </Departments>
    <HierarchyId>4</HierarchyId>
    <Latitude>6.1</Latitude>
    <LocationTypes>
      <LocalLocationTypeInfo>
        <Id>1</Id>
        <Name>sample string 2</Name>
      </LocalLocationTypeInfo>
      <LocalLocationTypeInfo>
        <Id>1</Id>
        <Name>sample string 2</Name>
      </LocalLocationTypeInfo>
    </LocationTypes>
    <Longitude>7.1</Longitude>
    <Name>sample string 5</Name>
    <Order>8</Order>
    <ParentId>3</ParentId>
    <Tags>sample string 9</Tags>
  </LocationNodesModel>
</ArrayOfLocationNodesModel>