POST api/Tipologie/NuovaTipologia

Request Information

URI Parameters

None.

Body Parameters

NuovaTipologiaModel
NameDescriptionTypeAdditional information
NOME

string

None.

IS_DEFAULT

boolean

None.

IS_DA_RENDICONTARE

boolean

None.

IS_NECESSARIA

boolean

None.

COLORE

string

None.

Request Formats

application/json, text/json

Sample:
{
  "NOME": "sample string 1",
  "IS_DEFAULT": true,
  "IS_DA_RENDICONTARE": true,
  "IS_NECESSARIA": true,
  "COLORE": "sample string 5"
}

application/xml, text/xml

Sample:
<NuovaTipologiaModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/HomeFinance.Models">
  <COLORE>sample string 5</COLORE>
  <IS_DA_RENDICONTARE>true</IS_DA_RENDICONTARE>
  <IS_DEFAULT>true</IS_DEFAULT>
  <IS_NECESSARIA>true</IS_NECESSARIA>
  <NOME>sample string 1</NOME>
</NuovaTipologiaModel>

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>