GET Account/Locations

Get all locations associated with an account

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

Collection of LocationDetail
NameDescriptionTypeAdditional information
LocationID

integer

None.

LocationName

string

None.

Latitude

decimal number

None.

Longitude

decimal number

None.

NormLat

integer

None.

NormLon

integer

None.

InsertDate

date

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "LocationID": 1,
    "LocationName": "sample string 2",
    "Latitude": 3.1,
    "Longitude": 4.1,
    "NormLat": 5,
    "NormLon": 6,
    "InsertDate": "2018-10-15T06:13:31.0252391-07:00"
  },
  {
    "LocationID": 1,
    "LocationName": "sample string 2",
    "Latitude": 3.1,
    "Longitude": 4.1,
    "NormLat": 5,
    "NormLon": 6,
    "InsertDate": "2018-10-15T06:13:31.0252391-07:00"
  }
]

application/xml, text/xml

Sample:
<ArrayOfLocationDetail xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CreatorsAPI.Models">
  <LocationDetail>
    <InsertDate>2018-10-15T06:13:31.0252391-07:00</InsertDate>
    <Latitude>3.1</Latitude>
    <LocationID>1</LocationID>
    <LocationName>sample string 2</LocationName>
    <Longitude>4.1</Longitude>
    <NormLat>5</NormLat>
    <NormLon>6</NormLon>
  </LocationDetail>
  <LocationDetail>
    <InsertDate>2018-10-15T06:13:31.0252391-07:00</InsertDate>
    <Latitude>3.1</Latitude>
    <LocationID>1</LocationID>
    <LocationName>sample string 2</LocationName>
    <Longitude>4.1</Longitude>
    <NormLat>5</NormLat>
    <NormLon>6</NormLon>
  </LocationDetail>
</ArrayOfLocationDetail>