GET api/Location?type={type}&longitude={longitude}&latitude={latitude}&cuname={cuname}&address={address}&city={city}&state={state}&zip={zip}&country={country}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
type

Type

None.

longitude

decimal number

None.

latitude

decimal number

None.

cuname

string

None.

address

string

None.

city

string

None.

state

string

None.

zip

string

None.

country

string

None.

Body Parameters

None.

Response Information

Resource Description

LocationResult
NameDescriptionTypeAdditional information
ImageUrl

string

None.

Locations

Collection of Location

None.

ResponseCode

string

None.

ResponseMessage

string

None.

Response Formats

application/json, text/json

Sample:
{
  "ImageUrl": "sample string 1",
  "Locations": [
    {
      "$id": "2",
      "LocationType": 0,
      "Distance": 1.0,
      "Name": "sample string 1",
      "Address": "sample string 2",
      "City": "sample string 3",
      "State": "sample string 4",
      "PostalCode": "sample string 5",
      "Country": "sample string 6",
      "Phone": "sample string 7",
      "Fax": "sample string 8",
      "WebAddress": "sample string 9",
      "Latitude": 1.0,
      "Longitude": 1.0,
      "Hours": [
        {
          "$id": "3",
          "Day": "sample string 1",
          "Open": "sample string 2",
          "Close": "sample string 3"
        },
        {
          "$ref": "3"
        }
      ]
    },
    {
      "$ref": "2"
    }
  ],
  "ResponseCode": "sample string 2",
  "ResponseMessage": "sample string 3"
}