POST api/Client/GetPredictedGoogleMapsAddress
Intenta obtener una direccion de Google maps API a partir de una address pasada por parametro
Request Information
URI Parameters
None.
Body Parameters
AddressViewModel para intentar insertar como Google maps API address
AddressViewModel| Name | Description | Type | Additional information |
|---|---|---|---|
| Country | string |
Required |
|
| Department | string |
Required |
|
| Street | string |
Required |
|
| Street2 | string |
None. |
|
| Latitude | decimal number |
None. |
|
| Longitude | decimal number |
None. |
|
| GLN | integer |
None. |
|
| Id | string |
None. |
|
| Name | string |
None. |
|
| CountryIso | string |
None. |
|
| ZipCode | string |
None. |
|
| Location | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"Country": "sample string 1",
"Department": "sample string 2",
"Street": "sample string 3",
"Street2": "sample string 4",
"Latitude": 5.1,
"Longitude": 6.1,
"GLN": 7,
"Id": "sample string 8",
"Name": "sample string 9",
"CountryIso": "sample string 10",
"ZipCode": "sample string 11",
"Location": "sample string 12"
}
application/xml, text/xml
Sample:
<AddressViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Tempo.Core.WebAPI.ViewModels"> <Country>sample string 1</Country> <CountryIso>sample string 10</CountryIso> <Department>sample string 2</Department> <Id>sample string 8</Id> <Location>sample string 12</Location> <Name>sample string 9</Name> <Street>sample string 3</Street> <ZipCode>sample string 11</ZipCode> <GLN>7</GLN> <Latitude>5.1</Latitude> <Longitude>6.1</Longitude> <Street2>sample string 4</Street2> </AddressViewModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
Id address modificado. BadRequest si la consulta no es válida
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.