POST api/Conti/UpdateConto

Request Information

URI Parameters

None.

Body Parameters

UpdateContoModel
NameDescriptionTypeAdditional information
Id

integer

Required

Nome

string

Required

ValoreDiPartenza

decimal number

Required

Colore

string

String length: inclusive between 0 and 7

Request Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "Nome": "sample string 2",
  "ValoreDiPartenza": 3.0,
  "Colore": "sample string 4"
}

application/xml, text/xml

Sample:
<UpdateContoModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/HomeFinance.Models">
  <Colore>sample string 4</Colore>
  <Nome>sample string 2</Nome>
  <ValoreDiPartenza>3</ValoreDiPartenza>
  <Id>1</Id>
</UpdateContoModel>

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.