GET api/Locations

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

Collection of Location
NameDescriptionTypeAdditional information
id_location

integer

None.

id_merchant

integer

None.

description

string

None.

ext_id_location

string

None.

isHidden

boolean

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "id_location": 1,
    "id_merchant": 2,
    "description": "sample string 3",
    "ext_id_location": "sample string 4",
    "isHidden": true
  },
  {
    "id_location": 1,
    "id_merchant": 2,
    "description": "sample string 3",
    "ext_id_location": "sample string 4",
    "isHidden": true
  }
]

application/xml, text/xml

Sample:
<ArrayOfLocation xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FABITrackAPI.Models">
  <Location>
    <description>sample string 3</description>
    <ext_id_location>sample string 4</ext_id_location>
    <id_location>1</id_location>
    <id_merchant>2</id_merchant>
    <isHidden>true</isHidden>
  </Location>
  <Location>
    <description>sample string 3</description>
    <ext_id_location>sample string 4</ext_id_location>
    <id_location>1</id_location>
    <id_merchant>2</id_merchant>
    <isHidden>true</isHidden>
  </Location>
</ArrayOfLocation>