POST api/notificacao/notificarDispositivo
Request Information
URI Parameters
None.
Body Parameters
NotificacaoName | Description | Type | Additional information |
---|---|---|---|
id | integer |
None. |
|
tipo | integer |
None. |
|
mensagem | string |
None. |
|
precisaRetorno | boolean |
None. |
|
lido | boolean |
None. |
|
cadastro | date |
None. |
|
idLivre | integer |
None. |
|
idRef | string |
None. |
|
colaboradorFK | integer |
None. |
Request Formats
application/json, text/json
Sample:
{ "id": 1, "tipo": 2, "mensagem": "sample string 3", "precisaRetorno": true, "lido": true, "cadastro": "2025-04-03T23:03:12.1120657-03:00", "idLivre": 1, "idRef": "sample string 7", "colaboradorFK": 8 }
application/xml, text/xml
Sample:
<Notificacao xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Ponto.API.Utils.Classes.GELT"> <cadastro>2025-04-03T23:03:12.1120657-03:00</cadastro> <colaboradorFK>8</colaboradorFK> <id>1</id> <idLivre>1</idLivre> <idRef>sample string 7</idRef> <lido>true</lido> <mensagem>sample string 3</mensagem> <precisaRetorno>true</precisaRetorno> <tipo>2</tipo> </Notificacao>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.