POST api/Conti/NuovoConto

Request Information

URI Parameters

None.

Body Parameters

NuovoContoModel
NameDescriptionTypeAdditional information
Nome

string

Required

ValoreDiPartenza

decimal number

Required

Colore

string

String length: inclusive between 0 and 7

Request Formats

application/json, text/json

Sample:
{
  "Nome": "sample string 1",
  "ValoreDiPartenza": 2.0,
  "Colore": "sample string 3"
}

application/xml, text/xml

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

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

integer

Response Formats

application/json, text/json

Sample:
1

application/xml, text/xml

Sample:
<int xmlns="http://schemas.microsoft.com/2003/10/Serialization/">1</int>