POST api/Account/SetLocalizzazione

Salva la localizzazione di un utente

Request Information

URI Parameters

None.

Body Parameters

LocalizzazioneBindingModel
NameDescriptionTypeAdditional information
Lat

Latitudine

decimal number

Required

Lon

Longitudine

decimal number

Required

Request Formats

application/json, text/json

Sample:
{
  "Lat": 1.1,
  "Lon": 2.1
}

text/html

Sample:
{"Lat":1.1,"Lon":2.1}

application/xml, text/xml

Sample:
<LocalizzazioneBindingModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TaxiServer.Models">
  <Lat>1.1</Lat>
  <Lon>2.1</Lon>
</LocalizzazioneBindingModel>

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 'LocalizzazioneBindingModel'.

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.