PUT api/alerts/{idAlert}
Aggiorna l'associazione di un alert con Asta e Lotto.
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| idAlert |
Identificativo univoco dell'alert da aggiornare |
integer |
Required |
Body Parameters
Oggetto contenente i nuovi valori di IdAsta e IdLotto
UpdateAlertRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| IdAsta |
Identificativo dell'asta da associare all'alert |
integer |
None. |
| IdLotto |
Numero del lotto da associare all'alert |
integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"IdAsta": 1,
"IdLotto": 2
}
application/xml, text/xml
Sample:
<UpdateAlertRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Inlinea.ReteAste.WebApi.Models"> <IdAsta>1</IdAsta> <IdLotto>2</IdLotto> </UpdateAlertRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
204 NoContent: aggiornamento eseguito con successo 400 BadRequest: parametri non validi 404 NotFound: alert non trovato 500 InternalServerError: errore interno
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.