POST api/order

Request Information

URI Parameters

None.

Body Parameters

Ordine
NameDescriptionTypeAdditional information
ID

integer

None.

CLIENTE

Cliente

None.

PROTOCOLLO

integer

None.

DATA

string

None.

TOTIMP

decimal number

None.

IVA

integer

None.

TOTIVA

decimal number

None.

TOTALE

decimal number

None.

SPEDIZIONE

string

None.

NOTE

string

None.

ARTICOLI

Collection of Articolo

None.

Request Formats

application/json, text/json

Sample:
{
  "ID": 1,
  "CLIENTE": {
    "ID": 1,
    "CODCF": "sample string 2",
    "RAGSOC": "sample string 3",
    "LISART": 4,
    "CODPAG": "sample string 5",
    "NOTE": "sample string 6",
    "SCONTI": "sample string 7"
  },
  "PROTOCOLLO": 2,
  "DATA": "sample string 3",
  "TOTIMP": 4.0,
  "IVA": 5,
  "TOTIVA": 6.0,
  "TOTALE": 7.0,
  "SPEDIZIONE": "sample string 8",
  "NOTE": "sample string 9",
  "ARTICOLI": [
    {
      "CODART": "sample string 1",
      "DESART": "sample string 2",
      "UNMIS": "sample string 3",
      "PREZZO": 4.0,
      "SCONTO": 5,
      "SCONTO2": 6,
      "SCONTO3": 7,
      "CODIVA": "sample string 8",
      "DESCIVA": "sample string 9",
      "PERCIVA": 10,
      "QUANTI": 11,
      "OMASCO": "sample string 12"
    },
    {
      "CODART": "sample string 1",
      "DESART": "sample string 2",
      "UNMIS": "sample string 3",
      "PREZZO": 4.0,
      "SCONTO": 5,
      "SCONTO2": 6,
      "SCONTO3": 7,
      "CODIVA": "sample string 8",
      "DESCIVA": "sample string 9",
      "PERCIVA": 10,
      "QUANTI": 11,
      "OMASCO": "sample string 12"
    }
  ]
}

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json

Sample:

Sample not available.