PUT api/alertas/subscripciones
Request Information
URI Parameters
None.
Body Parameters
AlertEmailSubscription| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
None. |
|
| TipoAlerta | ETipoAlerta |
None. |
|
| Enabled | boolean |
None. |
|
| TipoEnvio | ETipoEnvio |
None. |
|
| IntervaloEnvioReport | integer |
None. |
|
| FechaEnvioUltimoReport | date |
None. |
|
| Destinatarios | Collection of string |
None. |
|
| NombreTipoAlerta | string |
None. |
|
| HoraInicio | integer |
None. |
|
| HoraFin | integer |
None. |
|
| DiasSemana | Dictionary of string [key] and boolean [value] |
None. |
Request Formats
application/json, text/json
Sample:
{
"Id": 1,
"TipoAlerta": 0,
"Enabled": true,
"TipoEnvio": 0,
"IntervaloEnvioReport": 3,
"FechaEnvioUltimoReport": "2026-06-29T05:15:25.8927766+03:00",
"Destinatarios": [],
"NombreTipoAlerta": "",
"HoraInicio": 5,
"HoraFin": 6,
"DiasSemana": {
"sample string 1": true,
"sample string 3": true
}
}
application/xml, text/xml
Sample:
<AlertEmailSubscription xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SysGetM2M.Entities">
<Destinatarios xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" />
<DiasSemana xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:KeyValueOfstringboolean>
<d2p1:Key>sample string 1</d2p1:Key>
<d2p1:Value>true</d2p1:Value>
</d2p1:KeyValueOfstringboolean>
<d2p1:KeyValueOfstringboolean>
<d2p1:Key>sample string 3</d2p1:Key>
<d2p1:Value>true</d2p1:Value>
</d2p1:KeyValueOfstringboolean>
</DiasSemana>
<Enabled>true</Enabled>
<FechaEnvioUltimoReport>2026-06-29T05:15:25.8927766+03:00</FechaEnvioUltimoReport>
<HoraFin>6</HoraFin>
<HoraInicio>5</HoraInicio>
<Id>1</Id>
<IntervaloEnvioReport>3</IntervaloEnvioReport>
<TipoAlerta>None</TipoAlerta>
<TipoEnvio>Inmediato</TipoEnvio>
</AlertEmailSubscription>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
HttpResponseMessage| Name | Description | Type | Additional information |
|---|---|---|---|
| Version | Version |
None. |
|
| Content | HttpContent |
None. |
|
| StatusCode | HttpStatusCode |
None. |
|
| ReasonPhrase | string |
None. |
|
| Headers | Collection of Object |
None. |
|
| RequestMessage | HttpRequestMessage |
None. |
|
| IsSuccessStatusCode | boolean |
None. |