GET api/transactions/Locations

Get a list of locations

Request Information

URI Parameters

None.

Body Parameters

Response Information

Resource Description

locationssresult
NameDescriptionTypeAdditional information
success

Indicates if the action was successfull

boolean

None.

remark

A description regarding the result

string

None.

locations

The list of locations

Collection of location

None.

Response Formats

application/json, text/json

Sample:
{
  "success": true,
  "remark": "sample string 2",
  "locations": [
    {
      "externalid": 1,
      "code": "sample string 2",
      "description": "sample string 3",
      "street": "sample string 4",
      "housenumber": "sample string 5",
      "postalcode": "sample string 6",
      "city": "sample string 7"
    },
    {
      "externalid": 1,
      "code": "sample string 2",
      "description": "sample string 3",
      "street": "sample string 4",
      "housenumber": "sample string 5",
      "postalcode": "sample string 6",
      "city": "sample string 7"
    }
  ]
}

application/xml, text/xml

Sample:
<locationssresult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TechnoDataSystems.Enterprise.TotalWash.Web.API">
  <locations>
    <location>
      <city>sample string 7</city>
      <code>sample string 2</code>
      <description>sample string 3</description>
      <externalid>1</externalid>
      <housenumber>sample string 5</housenumber>
      <postalcode>sample string 6</postalcode>
      <street>sample string 4</street>
    </location>
    <location>
      <city>sample string 7</city>
      <code>sample string 2</code>
      <description>sample string 3</description>
      <externalid>1</externalid>
      <housenumber>sample string 5</housenumber>
      <postalcode>sample string 6</postalcode>
      <street>sample string 4</street>
    </location>
  </locations>
  <remark>sample string 2</remark>
  <success>true</success>
</locationssresult>