PUT api/Fornitore

Request Information

URI Parameters

None.

Body Parameters

DTOFornitore
NameDescriptionTypeAdditional information
Id

Gets or sets the id of the entity.

integer

None.

IdPagamento

integer

None.

ExtCodice

string

String length: inclusive between 0 and 50

RagioneSociale1

string

String length: inclusive between 1 and 80

RagioneSociale2

string

String length: inclusive between 0 and 80

Indirizzo

string

String length: inclusive between 0 and 150

CAP

string

String length: inclusive between 0 and 50

Comune

string

String length: inclusive between 0 and 50

Provincia

string

String length: inclusive between 0 and 4

Nazione

string

String length: inclusive between 0 and 50

PartitaIva

string

String length: inclusive between 0 and 50

CodiceFiscale

string

String length: inclusive between 0 and 50

Telefono

string

String length: inclusive between 0 and 50

Telefono2

string

String length: inclusive between 0 and 50

Fax

string

String length: inclusive between 0 and 50

EMail

string

String length: inclusive between 0 and 255

SitoInternet

string

None.

IsCliente

boolean

None.

IsFornitore

boolean

None.

IsContatto

boolean

None.

ConsensoEMail

boolean

None.

ConsensoSMS

boolean

None.

IsAttivo

boolean

None.

IdZona

integer

None.

Sesso

string

String length: inclusive between 0 and 1

Coordinata

string

String length: inclusive between 0 and 15

Civico

string

String length: inclusive between 0 and 100

Interno

string

String length: inclusive between 0 and 100

Piano

string

String length: inclusive between 0 and 100

Scala

string

String length: inclusive between 0 and 100

Valuta

string

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "IdPagamento": 1,
  "ExtCodice": "sample string 2",
  "RagioneSociale1": "sample string 3",
  "RagioneSociale2": "sample string 4",
  "Indirizzo": "sample string 5",
  "CAP": "sample string 6",
  "Comune": "sample string 7",
  "Provincia": "sample string 8",
  "Nazione": "sample string 9",
  "PartitaIva": "sample string 10",
  "CodiceFiscale": "sample string 11",
  "Telefono": "sample string 12",
  "Telefono2": "sample string 13",
  "Fax": "sample string 14",
  "EMail": "sample string 15",
  "SitoInternet": "sample string 16",
  "IsCliente": true,
  "IsFornitore": true,
  "IsContatto": true,
  "ConsensoEMail": true,
  "ConsensoSMS": true,
  "IsAttivo": true,
  "IdZona": 1,
  "Sesso": "sample string 23",
  "Coordinata": "sample string 24",
  "Civico": "sample string 25",
  "Interno": "sample string 26",
  "Piano": "sample string 27",
  "Scala": "sample string 28",
  "Valuta": "sample string 29"
}

application/xml, text/xml

Sample:
<DTOFornitore xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DueBit.DTO">
  <CAP>sample string 6</CAP>
  <Civico>sample string 25</Civico>
  <CodiceFiscale>sample string 11</CodiceFiscale>
  <Comune>sample string 7</Comune>
  <ConsensoEMail>true</ConsensoEMail>
  <ConsensoSMS>true</ConsensoSMS>
  <Coordinata>sample string 24</Coordinata>
  <EMail>sample string 15</EMail>
  <ExtCodice>sample string 2</ExtCodice>
  <Fax>sample string 14</Fax>
  <Id>1</Id>
  <IdPagamento>1</IdPagamento>
  <IdZona>1</IdZona>
  <Indirizzo>sample string 5</Indirizzo>
  <Interno>sample string 26</Interno>
  <IsAttivo>true</IsAttivo>
  <IsCliente>true</IsCliente>
  <IsContatto>true</IsContatto>
  <IsFornitore>true</IsFornitore>
  <Nazione>sample string 9</Nazione>
  <PartitaIva>sample string 10</PartitaIva>
  <Piano>sample string 27</Piano>
  <Provincia>sample string 8</Provincia>
  <RagioneSociale1>sample string 3</RagioneSociale1>
  <RagioneSociale2>sample string 4</RagioneSociale2>
  <Scala>sample string 28</Scala>
  <Sesso>sample string 23</Sesso>
  <SitoInternet>sample string 16</SitoInternet>
  <Telefono>sample string 12</Telefono>
  <Telefono2>sample string 13</Telefono2>
  <Valuta>sample string 29</Valuta>
</DTOFornitore>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.