POST api/location/suggest
Suggest. Processes this location API request. The parameter and response sections describe the data exchanged with the API.
Request Information
URI Parameters
None.
Body Parameters
The location suggest query data contract supplied with the request.
LocationSuggestQueryDataContract| Name | Description | Type | Additional information |
|---|---|---|---|
| Text |
The text value. |
string |
None. |
| SuggestSize |
The suggest size value. |
integer |
None. |
Request Formats
application/x-www-form-urlencoded
Sample:
Sample not available.
application/json, text/json
Sample:
{
"Text": "sample string 1",
"SuggestSize": 2
}
Response Information
Resource Description
The response returned after the operation completes.
Collection of LocationSuggestDataContract| Name | Description | Type | Additional information |
|---|---|---|---|
| Id |
The unique identifier of this resource. |
string |
None. |
| Name |
The name value. |
string |
None. |
| Type |
The type value. |
string |
None. |
| Source |
The source value. |
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"
}
]