PUT api/ComposizionePietanza

Request Information

URI Parameters

None.

Body Parameters

DTOComposizionePietanza
NameDescriptionTypeAdditional information
Id

Campo DB: [--]. Chiave composizione pietanza

EnumTipoComposizione

None.

Descrizione

Campo DB: [--]. Descrizione composizione pietanza

string

None.

NumeroSpicchi

Campo DB: [--]. Numero di porzioni che compongono la pietanza.

integer

None.

Attivo

Campo DB: [--]. Indica se la composizione è attiva nel sistema.

boolean

None.

PercorsoImmagine

Campo DB: [--]. Percorso file thumbnail da associare alla composizione.

string

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": 0,
  "Descrizione": "sample string 1",
  "NumeroSpicchi": 2,
  "Attivo": true,
  "PercorsoImmagine": "sample string 4"
}

application/xml, text/xml

Sample:
<DTOComposizionePietanza xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DueBit.DTO">
  <Attivo>true</Attivo>
  <Descrizione>sample string 1</Descrizione>
  <Id>DueMezzi</Id>
  <NumeroSpicchi>2</NumeroSpicchi>
  <PercorsoImmagine>sample string 4</PercorsoImmagine>
</DTOComposizionePietanza>

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.