> For the complete documentation index, see [llms.txt](https://ajuda.consistem.com.br/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://ajuda.consistem.com.br/consistem-api/consistem-erp-api/componentes/componentes-v1.0/sincronizacao-dos-eventos-do-sistema-consistem-cloud-com-o-sistema-consistem-erp.md).

# Sincronização dos eventos do sistema Consistem Cloud com o sistema Consistem ERP

cloud

## POST /event

> Evento para sincronização cloud

```json
{"openapi":"3.1.1","info":{"title":"Componentes","version":"1.0"},"tags":[{"name":"Sincronização dos eventos do sistema Consistem Cloud com o sistema Consistem ERP","description":"cloud"}],"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"}}},"EventCloud":{"type":"object","required":["method","class"],"properties":{"method":{"type":"string","minLength":1,"maxLength":50,"description":"Método para sincronização."},"class":{"type":"string","minLength":1,"maxLength":50,"description":"Classe para sincronização."},"parameter":{"type":"array","items":{"$ref":"#/components/schemas/Args"}}}},"Args":{"type":"object","required":["method","class"],"properties":{"arg":{"minLength":1,"maxLength":50,"description":"Parâmetro do evento","type":"string"}}}}},"paths":{"/event":{"post":{"tags":["Sincronização dos eventos do sistema Consistem Cloud com o sistema Consistem ERP"],"summary":"Evento para sincronização cloud","operationId":"CloudEvent","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/EventCloud"}}},"description":"Método para sincronização dos dados cloud com o ERP Consistem.","required":true}}}}}
```


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://ajuda.consistem.com.br/consistem-api/consistem-erp-api/componentes/componentes-v1.0/sincronizacao-dos-eventos-do-sistema-consistem-cloud-com-o-sistema-consistem-erp.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
