POST api/NotificacionesApi/ObtenerNotificaciones

Request Information

URI Parameters

None.

Body Parameters

ParamTraerNotificacion
NameDescriptionTypeAdditional information
UsuarioId

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "UsuarioId": 1
}

application/xml, text/xml

Sample:
<ParamTraerNotificacion xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Mastersoft.CredencialesApp.Entities">
  <UsuarioId>1</UsuarioId>
</ParamTraerNotificacion>

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

Response Information

Resource Description

NotificacionesResult
NameDescriptionTypeAdditional information
Errores

Collection of MSErrorMessage

None.

Notificaciones

Collection of Notificacion

None.

MensError

string

None.

Response Formats

application/json, text/json

Sample:
{
  "Errores": [
    {
      "Source": "sample string 1",
      "Message": "sample string 2"
    },
    {
      "Source": "sample string 1",
      "Message": "sample string 2"
    }
  ],
  "Notificaciones": [
    {
      "NotificacionesId": 1,
      "Titulo": "sample string 2",
      "ImagenUrl": "sample string 3",
      "Detalle": "sample string 4",
      "FechaEnvio": "2026-01-09T05:21:05.0736108-03:00",
      "FechaLectura": "2026-01-09T05:21:05.0736108-03:00",
      "AdjuntoUrl": "sample string 5",
      "MensError": "sample string 6"
    },
    {
      "NotificacionesId": 1,
      "Titulo": "sample string 2",
      "ImagenUrl": "sample string 3",
      "Detalle": "sample string 4",
      "FechaEnvio": "2026-01-09T05:21:05.0736108-03:00",
      "FechaLectura": "2026-01-09T05:21:05.0736108-03:00",
      "AdjuntoUrl": "sample string 5",
      "MensError": "sample string 6"
    }
  ],
  "MensError": "sample string 1"
}

application/xml, text/xml

Sample:
<NotificacionesResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Mastersoft.CredencialesApp.Entities">
  <Errores xmlns:d2p1="http://schemas.datacontract.org/2004/07/Mastersoft.Framework.Standard">
    <d2p1:MSErrorMessage>
      <d2p1:Message>sample string 2</d2p1:Message>
      <d2p1:Source>sample string 1</d2p1:Source>
    </d2p1:MSErrorMessage>
    <d2p1:MSErrorMessage>
      <d2p1:Message>sample string 2</d2p1:Message>
      <d2p1:Source>sample string 1</d2p1:Source>
    </d2p1:MSErrorMessage>
  </Errores>
  <MensError>sample string 1</MensError>
  <Notificaciones>
    <Notificacion>
      <AdjuntoUrl>sample string 5</AdjuntoUrl>
      <Detalle>sample string 4</Detalle>
      <FechaEnvio>2026-01-09T05:21:05.0736108-03:00</FechaEnvio>
      <FechaLectura>2026-01-09T05:21:05.0736108-03:00</FechaLectura>
      <ImagenUrl>sample string 3</ImagenUrl>
      <MensError>sample string 6</MensError>
      <NotificacionesId>1</NotificacionesId>
      <Titulo>sample string 2</Titulo>
    </Notificacion>
    <Notificacion>
      <AdjuntoUrl>sample string 5</AdjuntoUrl>
      <Detalle>sample string 4</Detalle>
      <FechaEnvio>2026-01-09T05:21:05.0736108-03:00</FechaEnvio>
      <FechaLectura>2026-01-09T05:21:05.0736108-03:00</FechaLectura>
      <ImagenUrl>sample string 3</ImagenUrl>
      <MensError>sample string 6</MensError>
      <NotificacionesId>1</NotificacionesId>
      <Titulo>sample string 2</Titulo>
    </Notificacion>
  </Notificaciones>
</NotificacionesResult>