POST api/Account/SetInfoTaxi

Request Information

URI Parameters

None.

Body Parameters

InfoTaxi
NameDescriptionTypeAdditional information
SettingNomeTaxi

string

Required

SettingNumeroPosti

integer

Required

SettingModelloAuto

string

Required

SettingAnimali

boolean

Required

SettingDisabili

boolean

Required

SettingEcologico

boolean

Required

SettingGrande

boolean

Required

Request Formats

application/json, text/json

Sample:
{
  "SettingNomeTaxi": "sample string 1",
  "SettingNumeroPosti": 2,
  "SettingModelloAuto": "sample string 3",
  "SettingAnimali": true,
  "SettingDisabili": true,
  "SettingEcologico": true,
  "SettingGrande": true
}

text/html

Sample:
{"SettingNomeTaxi":"sample string 1","SettingNumeroPosti":2,"SettingModelloAuto":"sample string 3","SettingAnimali":true,"SettingDisabili":true,"SettingEcologico":true,"SettingGrande":true}

application/xml, text/xml

Sample:
<InfoTaxi xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TaxiServer.Models">
  <SettingAnimali>true</SettingAnimali>
  <SettingDisabili>true</SettingDisabili>
  <SettingEcologico>true</SettingEcologico>
  <SettingGrande>true</SettingGrande>
  <SettingModelloAuto>sample string 3</SettingModelloAuto>
  <SettingNomeTaxi>sample string 1</SettingNomeTaxi>
  <SettingNumeroPosti>2</SettingNumeroPosti>
</InfoTaxi>

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

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.