POST api/Riparazioni/AccettaPreventivo

Request Information

URI Parameters

None.

Body Parameters

AccettaRifiutaPreventivoModel
NameDescriptionTypeAdditional information
Anno

integer

None.

Numero

integer

None.

PreventivoAccettato

boolean

None.

Note

string

None.

Request Formats

application/json, text/json

Sample:
{
  "Anno": 1,
  "Numero": 2,
  "PreventivoAccettato": true,
  "Note": "sample string 4"
}

application/xml, text/xml

Sample:
<AccettaRifiutaPreventivoModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MySilver.WebApi.Models">
  <Anno>1</Anno>
  <Note>sample string 4</Note>
  <Numero>2</Numero>
  <PreventivoAccettato>true</PreventivoAccettato>
</AccettaRifiutaPreventivoModel>

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

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.