POST api/Transazioni/EditTransazione

Request Information

URI Parameters

None.

Body Parameters

EditTransazioneModel
NameDescriptionTypeAdditional information
ID

integer

Required

DESCRIZIONE

string

Required

IMPORTO

decimal number

Required

DATA_TRANSAZIONE

date

Required

ID_CONTO

integer

Required

ID_TIPO_TRANSAZIONE

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "ID": 1,
  "DESCRIZIONE": "sample string 2",
  "IMPORTO": 3.0,
  "DATA_TRANSAZIONE": "2025-05-21T19:32:14.9242652+02:00",
  "ID_CONTO": 5,
  "ID_TIPO_TRANSAZIONE": 6
}

application/xml, text/xml

Sample:
<EditTransazioneModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/HomeFinance.Models">
  <DATA_TRANSAZIONE>2025-05-21T19:32:14.9242652+02:00</DATA_TRANSAZIONE>
  <DESCRIZIONE>sample string 2</DESCRIZIONE>
  <ID_CONTO>5</ID_CONTO>
  <ID_TIPO_TRANSAZIONE>6</ID_TIPO_TRANSAZIONE>
  <IMPORTO>3</IMPORTO>
  <ID>1</ID>
</EditTransazioneModel>

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>