POST api/v{version}/user/astapreferita

Request Information

URI Parameters

NameDescriptionTypeAdditional information
version

string

None.

Body Parameters

AstaPreferita
NameDescriptionTypeAdditional information
idAstaPreferita

integer

None.

idUser

integer

None.

idAsta

integer

None.

dataInserimento

date

None.

dataUltimaVisualizzazione

date

None.

dataUltimaNotificaPush

date

None.

nota

string

None.

idLotto

integer

None.

dataUltimaNotificaEmail

date

None.

Request Formats

application/json, text/json

Sample:
{
  "idAstaPreferita": 1,
  "idUser": 2,
  "idAsta": 3,
  "dataInserimento": "2024-11-16T02:59:16.0443625+01:00",
  "dataUltimaVisualizzazione": "2024-11-16T02:59:16.0443929+01:00",
  "dataUltimaNotificaPush": "2024-11-16T02:59:16.0443929+01:00",
  "nota": "sample string 6",
  "idLotto": 7,
  "dataUltimaNotificaEmail": "2024-11-16T02:59:16.0443929+01:00"
}

application/xml, text/xml

Sample:
<AstaPreferita xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Inlinea.Astegiudiziarie.BL.User">
  <dataInserimento>2024-11-16T02:59:16.0443625+01:00</dataInserimento>
  <dataUltimaNotificaEmail>2024-11-16T02:59:16.0443929+01:00</dataUltimaNotificaEmail>
  <dataUltimaNotificaPush>2024-11-16T02:59:16.0443929+01:00</dataUltimaNotificaPush>
  <dataUltimaVisualizzazione>2024-11-16T02:59:16.0443929+01:00</dataUltimaVisualizzazione>
  <idAsta>3</idAsta>
  <idAstaPreferita>1</idAstaPreferita>
  <idLotto>7</idLotto>
  <idUser>2</idUser>
  <nota>sample string 6</nota>
</AstaPreferita>

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

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.