GET api/Locations

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

Collection of Locations
NameDescriptionTypeAdditional information
location_id

integer

None.

location_name

string

None.

location_head

string

None.

status

boolean

None.

Response Formats

application/json, text/json, text/html

Sample:
[
  {
    "location_id": 1,
    "location_name": "sample string 2",
    "location_head": "sample string 3",
    "status": true
  },
  {
    "location_id": 1,
    "location_name": "sample string 2",
    "location_head": "sample string 3",
    "status": true
  }
]

application/xml, text/xml

Sample:
<ArrayOfLocations xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/circularAPI.Models">
  <Locations>
    <location_head>sample string 3</location_head>
    <location_id>1</location_id>
    <location_name>sample string 2</location_name>
    <status>true</status>
  </Locations>
  <Locations>
    <location_head>sample string 3</location_head>
    <location_id>1</location_id>
    <location_name>sample string 2</location_name>
    <status>true</status>
  </Locations>
</ArrayOfLocations>