POST api/location/suggest

Request Information

URI Parameters

None.

Body Parameters

LocationSuggestQueryDataContract
NameDescriptionTypeAdditional information
Text

string

None.

SuggestSize

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "Text": "sample string 1",
  "SuggestSize": 2
}

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'LocationSuggestQueryDataContract'.

Response Information

Resource Description

Collection of LocationSuggestDataContract
NameDescriptionTypeAdditional information
Id

string

None.

Name

string

None.

Type

string

None.

Source

string

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "Id": "sample string 1",
    "Name": "sample string 2",
    "Type": "sample string 3",
    "Source": "sample string 4"
  },
  {
    "Id": "sample string 1",
    "Name": "sample string 2",
    "Type": "sample string 3",
    "Source": "sample string 4"
  }
]