# Gerar notificação para usuários do sistema Consistem ERP

notificacao

## POST /notificacao

> Gerar notificação para usuários do Consistem ERP

```json
{"openapi":"3.1.1","info":{"title":"Componentes","version":"1.0"},"tags":[{"name":"Gerar notificação para usuários do sistema Consistem ERP","description":"notificacao"}],"servers":[{"url":"https://localhost/componentes/v10"},{"url":"http://localhost/componentes/v10"}],"security":[{"csw_auth":[]}],"components":{"securitySchemes":{"csw_auth":{"type":"apiKey","name":"Authorization","in":"header"}},"schemas":{"Erro":{"type":"object","properties":{"mensagem":{"type":"string"}}},"ListaNotificacoes":{"type":"object","required":["listaNotificacao"],"properties":{"listaNotificacao":{"type":"array","items":{"$ref":"#/components/schemas/Notificacao"}}}},"Notificacao":{"type":"object","required":["texto","usuarios"],"properties":{"texto":{"type":"string","minLength":1,"maxLength":1024,"description":"Conteúdo do texto que deve ser gerado na notificação."},"usuarios":{"type":"array","items":{"$ref":"#/components/schemas/Usuarios"}}}},"Usuarios":{"type":"object","required":["usuario"],"properties":{"usuario":{"minLength":1,"maxLength":50,"description":"Necessário informar um usuário cadastrado no sistema Consistem ERP.","type":"string"}}}}},"paths":{"/notificacao":{"post":{"tags":["Gerar notificação para usuários do sistema Consistem ERP"],"summary":"Gerar notificação para usuários do Consistem ERP","operationId":"GerarNotificacao","responses":{"200":{"description":"OK"},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Erro"}}}}},"429":{"description":"Too Many Requests"},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Erro"}}}}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ListaNotificacoes"}}},"description":"Listagem de notificações que devem ser geradas aos usuários do Consistem.","required":true}}}}}
```
