# KPI

<figure><img src="https://996532473-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9W8CrynHF75AGRuysd2y%2Fuploads%2FSl0BAAACiLb93xLiOMG5%2F%C3%8Dcone%2090x90.png?alt=media&#x26;token=3a248a96-adcd-493a-aa40-74ecc2b92501" alt=""><figcaption><p>Ícone da conexão KPI</p></figcaption></figure>

Configure sua conexão:

<figure><img src="https://996532473-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9W8CrynHF75AGRuysd2y%2Fuploads%2FskpSC4AaeSm9Vwvgj9Iq%2Fkpi-propriedades.png?alt=media&#x26;token=9564721f-b5ca-45ee-9c3a-a33e838f334d" alt="" width="491"><figcaption><p>Configuração da conexão API</p></figcaption></figure>

<table><thead><tr><th width="159">Parâmetro</th><th>Descrição</th><th data-hidden></th></tr></thead><tbody><tr><td>URL</td><td>Endereço host da KPI</td><td></td></tr><tr><td>User</td><td>Nome do usuário, se a conexão exigir</td><td></td></tr><tr><td>Password</td><td>Senha de acesso, se a conexão exigir</td><td></td></tr><tr><td>KPIKey</td><td>Chave de acesso se configurada para exigir</td><td></td></tr></tbody></table>

## API

<table><thead><tr><th width="98.33333333333331">Método</th><th width="166">Chamada</th><th>Exemplo</th></tr></thead><tbody><tr><td>POST</td><td>http://<code>Servidor</code>:<code>Porta</code>/<strong>GetRegra</strong>/<code>:CodReg</code></td><td>http://localhost:5557/GetRegra/75</td></tr></tbody></table>

{% hint style="success" %}
**1.0.0.1**

<mark style="background-color:blue;">06/11/2023</mark>&#x20;

* Modificado **GetRegra** para integração entre KPIServer
  {% endhint %}
