POST 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

EMailCommerciale

string

None.

NoteDocumenti

string

String length: inclusive between 0 and 3000

NoteCliente

string

None.

SitoInternet

string

None.

IsCliente

boolean

None.

IsFornitore

boolean

None.

IsContatto

boolean

None.

ConsensoEMail

boolean

None.

ConsensoSMS

boolean

None.

IsAttivo

boolean

None.

ImportoMinimoOF

decimal number

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.

IdListino

integer

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",
  "EMailCommerciale": "sample string 16",
  "NoteDocumenti": "sample string 17",
  "NoteCliente": "sample string 18",
  "SitoInternet": "sample string 19",
  "IsCliente": true,
  "IsFornitore": true,
  "IsContatto": true,
  "ConsensoEMail": true,
  "ConsensoSMS": true,
  "IsAttivo": true,
  "ImportoMinimoOF": 1.1,
  "IdZona": 1,
  "Sesso": "sample string 26",
  "Coordinata": "sample string 27",
  "Civico": "sample string 28",
  "Interno": "sample string 29",
  "Piano": "sample string 30",
  "Scala": "sample string 31",
  "Valuta": "sample string 32",
  "IdListino": 1
}

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json

Sample:

Sample not available.