POST api/Notificaciones/Agrega
Request Information
URI Parameters
None.
Body Parameters
Notificaciones| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
Required |
|
| UsuarioReceptorId | integer |
None. |
|
| UsuarioEmisorId | integer |
None. |
|
| FechaRegistro | date |
None. |
|
| Mensaje | string |
None. |
|
| Leido | boolean |
None. |
|
| Eliminado | boolean |
None. |
|
| ComentarioId | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"Id": 1,
"UsuarioReceptorId": 2,
"UsuarioEmisorId": 3,
"FechaRegistro": "2026-02-26T18:35:05.2085654+00:00",
"Mensaje": "sample string 5",
"Leido": true,
"Eliminado": true,
"ComentarioId": 1
}
application/xml, text/xml
Sample:
<Notificaciones xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/STW.Domain"> <ComentarioId>1</ComentarioId> <Eliminado>true</Eliminado> <FechaRegistro>2026-02-26T18:35:05.2085654+00:00</FechaRegistro> <Id>1</Id> <Leido>true</Leido> <Mensaje>sample string 5</Mensaje> <UsuarioEmisorId>3</UsuarioEmisorId> <UsuarioReceptorId>2</UsuarioReceptorId> </Notificaciones>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
SimpleResponse| Name | Description | Type | Additional information |
|---|---|---|---|
| Estatus | boolean |
None. |
|
| Mensaje | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"Estatus": true,
"Mensaje": "sample string 2"
}
application/xml, text/xml
Sample:
<SimpleResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/STW.Servicios.Models"> <Estatus>true</Estatus> <Mensaje>sample string 2</Mensaje> </SimpleResponse>