# Manual da API de Semelhantes

Manual contendo as últimas atualizações efetuadas em 08/03/2024.

# Introdução

A API tem a função de realizar a consulta de semelhantes ativos e semelhantes que já foram excluídos, além de vincular novos materiais semelhantes e desvincular aqueles que já estão cadastrados.

# Acesso

**Comunicação:** REST/JSON  
  
**Para acessar a coleção de chamadas: <u>[Clique aqui](https://www.dropbox.com/scl/fi/p271zk01snpa8yvh0sdm3/API-Semelhantes.postman_collection.json?rlkey=4wuij7w7o8m7vgofw37zu68wl&dl=0)</u>**

**Listage dos Endpoint's que contemplam a API de semelhantes:**

<table border="0" cellpadding="0" cellspacing="0" class="MsoNormalTable" id="bkmrk-descri%C3%A7%C3%A3o-m%C3%A9todo-url" style="width: 579.0pt; border-collapse: collapse; mso-yfti-tbllook: 1184; mso-padding-alt: 0cm 3.5pt 0cm 3.5pt;" width="772"><tbody><tr style="mso-yfti-irow: 0; mso-yfti-firstrow: yes; height: 15.75pt;"><td nowrap="nowrap" style="width: 161.0pt; border: solid black 1.0pt; background: white; padding: 0cm 3.5pt 0cm 3.5pt; height: 15.75pt;" width="215">**<span style="font-size: 11.0pt; font-family: 'Arial',sans-serif; mso-fareast-font-family: 'Times New Roman'; color: #212529; mso-font-kerning: 0pt; mso-ligatures: none; mso-fareast-language: PT-BR;">Descrição</span>**

</td><td nowrap="nowrap" style="width: 46.0pt; border: solid black 1.0pt; border-left: none; background: white; padding: 0cm 3.5pt 0cm 3.5pt; height: 15.75pt;" width="61">**<span style="font-size: 11.0pt; font-family: 'Arial',sans-serif; mso-fareast-font-family: 'Times New Roman'; color: #212529; mso-font-kerning: 0pt; mso-ligatures: none; mso-fareast-language: PT-BR;">Método</span>**

</td><td nowrap="nowrap" style="width: 372.0pt; border: solid black 1.0pt; border-left: none; background: white; padding: 0cm 3.5pt 0cm 3.5pt; height: 15.75pt;" width="496">**<span style="font-size: 11.0pt; font-family: 'Arial',sans-serif; mso-fareast-font-family: 'Times New Roman'; color: #212529; mso-font-kerning: 0pt; mso-ligatures: none; mso-fareast-language: PT-BR;">URL Endpoint</span>**

</td></tr><tr style="mso-yfti-irow: 1; height: 15.75pt;"><td nowrap="nowrap" style="width: 161.0pt; border: solid black 1.0pt; border-top: none; background: white; padding: 0cm 3.5pt 0cm 3.5pt; height: 15.75pt;" width="215"><span style="font-size: 11.0pt; font-family: 'Arial',sans-serif; mso-fareast-font-family: 'Times New Roman'; color: #212529; mso-font-kerning: 0pt; mso-ligatures: none; mso-fareast-language: PT-BR;">API Semelhantes</span>

</td><td nowrap="nowrap" style="width: 46.0pt; border-top: none; border-left: none; border-bottom: solid black 1.0pt; border-right: solid black 1.0pt; background: white; padding: 0cm 3.5pt 0cm 3.5pt; height: 15.75pt;" width="61"><span style="font-size: 11.0pt; font-family: 'Arial',sans-serif; mso-fareast-font-family: 'Times New Roman'; color: #212529; mso-font-kerning: 0pt; mso-ligatures: none; mso-fareast-language: PT-BR;">Post</span>

</td><td nowrap="nowrap" style="width: 372.0pt; border-top: none; border-left: none; border-bottom: solid black 1.0pt; border-right: solid black 1.0pt; background: white; padding: 0cm 3.5pt 0cm 3.5pt; height: 15.75pt;" width="496"><span style="font-size: 11.0pt; font-family: 'Arial',sans-serif; mso-fareast-font-family: 'Times New Roman'; color: #212529; mso-font-kerning: 0pt; mso-ligatures: none; mso-fareast-language: PT-BR;">https://wscockpit.systax.com.br/api/api/material\_Semelhante/auth</span>

</td></tr><tr style="mso-yfti-irow: 2; height: 15.75pt;"><td nowrap="nowrap" style="width: 161.0pt; border: solid black 1.0pt; border-top: none; background: white; padding: 0cm 3.5pt 0cm 3.5pt; height: 15.75pt;" width="215"><span style="font-size: 11.0pt; font-family: 'Arial',sans-serif; mso-fareast-font-family: 'Times New Roman'; color: #212529; mso-font-kerning: 0pt; mso-ligatures: none; mso-fareast-language: PT-BR;">API Semelhantes - Vincular</span>

</td><td nowrap="nowrap" style="width: 46.0pt; border-top: none; border-left: none; border-bottom: solid black 1.0pt; border-right: solid black 1.0pt; background: white; padding: 0cm 3.5pt 0cm 3.5pt; height: 15.75pt;" width="61"><span style="font-size: 11.0pt; font-family: 'Arial',sans-serif; mso-fareast-font-family: 'Times New Roman'; color: #212529; mso-font-kerning: 0pt; mso-ligatures: none; mso-fareast-language: PT-BR;">Post</span>

</td><td nowrap="nowrap" style="width: 372.0pt; border-top: none; border-left: none; border-bottom: solid black 1.0pt; border-right: solid black 1.0pt; background: white; padding: 0cm 3.5pt 0cm 3.5pt; height: 15.75pt;" width="496"><span style="font-size: 11.0pt; font-family: 'Arial',sans-serif; mso-fareast-font-family: 'Times New Roman'; color: #212529; mso-font-kerning: 0pt; mso-ligatures: none; mso-fareast-language: PT-BR;">https://wscockpit.systax.com.br/api/api/material\_Semelhante/vincular</span>

</td></tr><tr style="mso-yfti-irow: 3; mso-yfti-lastrow: yes; height: 15.75pt;"><td nowrap="nowrap" style="width: 161.0pt; border: solid black 1.0pt; border-top: none; background: white; padding: 0cm 3.5pt 0cm 3.5pt; height: 15.75pt;" width="215"><span style="font-size: 11.0pt; font-family: 'Arial',sans-serif; mso-fareast-font-family: 'Times New Roman'; color: #212529; mso-font-kerning: 0pt; mso-ligatures: none; mso-fareast-language: PT-BR;">API Semelhantes - Descinvular</span>

</td><td nowrap="nowrap" style="width: 46.0pt; border-top: none; border-left: none; border-bottom: solid black 1.0pt; border-right: solid black 1.0pt; background: white; padding: 0cm 3.5pt 0cm 3.5pt; height: 15.75pt;" width="61"><span style="font-size: 11.0pt; font-family: 'Arial',sans-serif; mso-fareast-font-family: 'Times New Roman'; color: #212529; mso-font-kerning: 0pt; mso-ligatures: none; mso-fareast-language: PT-BR;">Post</span>

</td><td nowrap="nowrap" style="width: 372.0pt; border-top: none; border-left: none; border-bottom: solid black 1.0pt; border-right: solid black 1.0pt; background: white; padding: 0cm 3.5pt 0cm 3.5pt; height: 15.75pt;" width="496"><span style="font-size: 11.0pt; font-family: 'Arial',sans-serif; mso-fareast-font-family: 'Times New Roman'; color: #212529; mso-font-kerning: 0pt; mso-ligatures: none; mso-fareast-language: PT-BR;">https://wscockpit.systax.com.br/api//api/material\_Semelhante/desvincular</span>

</td></tr></tbody></table>

**Swagger:** [https://wscockpit.systax.com.br/Api/swagger/index.html](https://wscockpit.systax.com.br/Api/swagger/index.html)

# Autenticação

A autenticação na API mencionada nesse documento, é feita via Bearer Token. A obtenção do Token é via autenticação pelo tipo Basic Auth (via usuário e senha, disponibilizados pela Systax). Para mais informações <u>[Clique aqui.](https://documentacao.systax.com.br/books/manual-da-api-de-geracao-de-token)</u>

**URL para obtenção do Token:** https://app.systax.com.br/auth/access-token

# Descrição dos campos de chamada e retorno

**Chamada**

<table border="0" cellpadding="0" cellspacing="0" class="MsoNormalTable" id="bkmrk-campo-descri%C3%A7%C3%A3o-tipo" style="width: 458.0pt; border-collapse: collapse; mso-yfti-tbllook: 1184; mso-padding-alt: 0cm 3.5pt 0cm 3.5pt;" width="611"><tbody><tr style="mso-yfti-irow: 0; mso-yfti-firstrow: yes; height: 15.0pt;"><td nowrap="nowrap" style="width: 107.0pt; border: solid black 1.0pt; mso-border-alt: solid black .5pt; background: #DDDDDD; padding: 0cm 3.5pt 0cm 3.5pt; height: 15.0pt;" width="143">**<span style="font-size: 11.0pt; font-family: 'Arial',sans-serif; mso-fareast-font-family: 'Times New Roman'; color: #212529; mso-font-kerning: 0pt; mso-ligatures: none; mso-fareast-language: PT-BR;">Campo</span>**

</td><td nowrap="nowrap" style="width: 298.0pt; border: solid black 1.0pt; border-left: none; mso-border-top-alt: solid black .5pt; mso-border-bottom-alt: solid black .5pt; mso-border-right-alt: solid black .5pt; background: #DDDDDD; padding: 0cm 3.5pt 0cm 3.5pt; height: 15.0pt;" width="397">**<span style="font-size: 11.0pt; font-family: 'Arial',sans-serif; mso-fareast-font-family: 'Times New Roman'; color: #212529; mso-font-kerning: 0pt; mso-ligatures: none; mso-fareast-language: PT-BR;">Descrição</span>**

</td><td nowrap="nowrap" style="width: 53.0pt; border: solid black 1.0pt; border-left: none; mso-border-top-alt: solid black .5pt; mso-border-bottom-alt: solid black .5pt; mso-border-right-alt: solid black .5pt; background: #DDDDDD; padding: 0cm 3.5pt 0cm 3.5pt; height: 15.0pt;" width="71">**<span style="font-size: 11.0pt; font-family: 'Arial',sans-serif; mso-fareast-font-family: 'Times New Roman'; color: #212529; mso-font-kerning: 0pt; mso-ligatures: none; mso-fareast-language: PT-BR;">Tipo</span>**

</td></tr><tr style="mso-yfti-irow: 1; height: 28.5pt;"><td nowrap="nowrap" style="width: 107.0pt; border: solid black 1.0pt; border-top: none; mso-border-left-alt: solid black .5pt; mso-border-bottom-alt: solid black .5pt; mso-border-right-alt: solid black .5pt; background: white; padding: 0cm 3.5pt 0cm 3.5pt; height: 28.5pt;" width="143"><span style="font-size: 11.0pt; font-family: 'Arial',sans-serif; mso-fareast-font-family: 'Times New Roman'; color: #212529; mso-font-kerning: 0pt; mso-ligatures: none; mso-fareast-language: PT-BR;">mas\_cod\_prod</span>

</td><td style="width: 298.0pt; border-top: none; border-left: none; border-bottom: solid black 1.0pt; border-right: solid black 1.0pt; mso-border-bottom-alt: solid black .5pt; mso-border-right-alt: solid black .5pt; background: white; padding: 0cm 3.5pt 0cm 3.5pt; height: 28.5pt;" width="397"><span style="font-size: 11.0pt; font-family: 'Arial',sans-serif; mso-fareast-font-family: 'Times New Roman'; color: #212529; mso-font-kerning: 0pt; mso-ligatures: none; mso-fareast-language: PT-BR;">Código do semelhante. Iniciar a sequência de requisições pelo menor código de semelhante, por exemplo, 0.</span>

</td><td nowrap="nowrap" style="width: 53.0pt; border-top: none; border-left: none; border-bottom: solid black 1.0pt; border-right: solid black 1.0pt; mso-border-bottom-alt: solid black .5pt; mso-border-right-alt: solid black .5pt; background: white; padding: 0cm 3.5pt 0cm 3.5pt; height: 28.5pt;" width="71"><span style="font-size: 11.0pt; font-family: 'Arial',sans-serif; mso-fareast-font-family: 'Times New Roman'; color: #212529; mso-font-kerning: 0pt; mso-ligatures: none; mso-fareast-language: PT-BR;">String</span>

</td></tr><tr style="mso-yfti-irow: 2; height: 28.5pt;"><td nowrap="nowrap" style="width: 107.0pt; border: solid black 1.0pt; border-top: none; mso-border-left-alt: solid black .5pt; mso-border-bottom-alt: solid black .5pt; mso-border-right-alt: solid black .5pt; background: white; padding: 0cm 3.5pt 0cm 3.5pt; height: 28.5pt;" width="143"><span style="font-size: 11.0pt; font-family: 'Arial',sans-serif; mso-fareast-font-family: 'Times New Roman'; color: #212529; mso-font-kerning: 0pt; mso-ligatures: none; mso-fareast-language: PT-BR;">mas\_origem</span>

</td><td style="width: 298.0pt; border-top: none; border-left: none; border-bottom: solid black 1.0pt; border-right: solid black 1.0pt; mso-border-bottom-alt: solid black .5pt; mso-border-right-alt: solid black .5pt; background: white; padding: 0cm 3.5pt 0cm 3.5pt; height: 28.5pt;" width="397"><span style="font-size: 11.0pt; font-family: 'Arial',sans-serif; mso-fareast-font-family: 'Times New Roman'; color: #212529; mso-font-kerning: 0pt; mso-ligatures: none; mso-fareast-language: PT-BR;">Origem do semelhante. Iniciar a sequência de requisições pelo menor código de origem, por exemplo, 0.</span>

</td><td nowrap="nowrap" style="width: 53.0pt; border-top: none; border-left: none; border-bottom: solid black 1.0pt; border-right: solid black 1.0pt; mso-border-bottom-alt: solid black .5pt; mso-border-right-alt: solid black .5pt; background: white; padding: 0cm 3.5pt 0cm 3.5pt; height: 28.5pt;" width="71"><span style="font-size: 11.0pt; font-family: 'Arial',sans-serif; mso-fareast-font-family: 'Times New Roman'; color: #212529; mso-font-kerning: 0pt; mso-ligatures: none; mso-fareast-language: PT-BR;">String</span>

</td></tr><tr style="mso-yfti-irow: 3; height: 42.75pt;"><td nowrap="nowrap" style="width: 107.0pt; border: solid black 1.0pt; border-top: none; mso-border-left-alt: solid black .5pt; mso-border-bottom-alt: solid black .5pt; mso-border-right-alt: solid black .5pt; background: white; padding: 0cm 3.5pt 0cm 3.5pt; height: 42.75pt;" width="143"><span style="font-size: 11.0pt; font-family: 'Arial',sans-serif; mso-fareast-font-family: 'Times New Roman'; color: #212529; mso-font-kerning: 0pt; mso-ligatures: none; mso-fareast-language: PT-BR;">retornar\_excluidos</span>

</td><td style="width: 298.0pt; border-top: none; border-left: none; border-bottom: solid black 1.0pt; border-right: solid black 1.0pt; mso-border-bottom-alt: solid black .5pt; mso-border-right-alt: solid black .5pt; background: white; padding: 0cm 3.5pt 0cm 3.5pt; height: 42.75pt;" width="397"><span style="font-size: 11.0pt; font-family: 'Arial',sans-serif; mso-fareast-font-family: 'Times New Roman'; color: #212529; mso-font-kerning: 0pt; mso-ligatures: none; mso-fareast-language: PT-BR;">Caso "false" será retornado apenas os semelhantes ativos. Caso "true" será retornado apenas os semelhantes excluídos.</span>

</td><td nowrap="nowrap" style="width: 53.0pt; border-top: none; border-left: none; border-bottom: solid black 1.0pt; border-right: solid black 1.0pt; mso-border-bottom-alt: solid black .5pt; mso-border-right-alt: solid black .5pt; background: white; padding: 0cm 3.5pt 0cm 3.5pt; height: 42.75pt;" width="71"><span style="font-size: 11.0pt; font-family: 'Arial',sans-serif; mso-fareast-font-family: 'Times New Roman'; color: #212529; mso-font-kerning: 0pt; mso-ligatures: none; mso-fareast-language: PT-BR;">Boolean</span>

</td></tr><tr style="mso-yfti-irow: 4; height: 28.5pt;"><td nowrap="nowrap" style="width: 107.0pt; border: solid black 1.0pt; border-top: none; mso-border-left-alt: solid black .5pt; mso-border-bottom-alt: solid black .5pt; mso-border-right-alt: solid black .5pt; background: white; padding: 0cm 3.5pt 0cm 3.5pt; height: 28.5pt;" width="143"><span style="font-size: 11.0pt; font-family: 'Arial',sans-serif; mso-fareast-font-family: 'Times New Roman'; color: #212529; mso-font-kerning: 0pt; mso-ligatures: none; mso-fareast-language: PT-BR;">paginacao</span>

</td><td style="width: 298.0pt; border-top: none; border-left: none; border-bottom: solid black 1.0pt; border-right: solid black 1.0pt; mso-border-bottom-alt: solid black .5pt; mso-border-right-alt: solid black .5pt; background: white; padding: 0cm 3.5pt 0cm 3.5pt; height: 28.5pt;" width="397"><span style="font-size: 11.0pt; font-family: 'Arial',sans-serif; mso-fareast-font-family: 'Times New Roman'; color: #212529; mso-font-kerning: 0pt; mso-ligatures: none; mso-fareast-language: PT-BR;">Quantidade de registros retornados por requisição com um limite de 100. </span>

</td><td nowrap="nowrap" style="width: 53.0pt; border-top: none; border-left: none; border-bottom: solid black 1.0pt; border-right: solid black 1.0pt; mso-border-bottom-alt: solid black .5pt; mso-border-right-alt: solid black .5pt; background: white; padding: 0cm 3.5pt 0cm 3.5pt; height: 28.5pt;" width="71"><span style="font-size: 11.0pt; font-family: 'Arial',sans-serif; mso-fareast-font-family: 'Times New Roman'; color: #212529; mso-font-kerning: 0pt; mso-ligatures: none; mso-fareast-language: PT-BR;">Numerico</span>

</td></tr><tr style="mso-yfti-irow: 5; mso-yfti-lastrow: yes; height: 28.5pt;"><td nowrap="nowrap" style="width: 107.0pt; border: solid black 1.0pt; border-top: none; mso-border-left-alt: solid black .5pt; mso-border-bottom-alt: solid black .5pt; mso-border-right-alt: solid black .5pt; background: white; padding: 0cm 3.5pt 0cm 3.5pt; height: 28.5pt;" width="143"><span style="font-size: 11.0pt; font-family: 'Arial',sans-serif; mso-fareast-font-family: 'Times New Roman'; color: #212529; mso-font-kerning: 0pt; mso-ligatures: none; mso-fareast-language: PT-BR;">ponteiro\_atualizacao</span>

</td><td style="width: 298.0pt; border-top: none; border-left: none; border-bottom: solid black 1.0pt; border-right: solid black 1.0pt; mso-border-bottom-alt: solid black .5pt; mso-border-right-alt: solid black .5pt; background: white; padding: 0cm 3.5pt 0cm 3.5pt; height: 28.5pt;" width="397"><span style="font-size: 11.0pt; font-family: 'Arial',sans-serif; mso-fareast-font-family: 'Times New Roman'; color: #212529; mso-font-kerning: 0pt; mso-ligatures: none; mso-fareast-language: PT-BR;">Controle do envio de registros novos, modificados e excluídos.</span>

</td><td nowrap="nowrap" style="width: 53.0pt; border-top: none; border-left: none; border-bottom: solid black 1.0pt; border-right: solid black 1.0pt; mso-border-bottom-alt: solid black .5pt; mso-border-right-alt: solid black .5pt; background: white; padding: 0cm 3.5pt 0cm 3.5pt; height: 28.5pt;" width="71"><span style="font-size: 11.0pt; font-family: 'Arial',sans-serif; mso-fareast-font-family: 'Times New Roman'; color: #212529; mso-font-kerning: 0pt; mso-ligatures: none; mso-fareast-language: PT-BR;">String</span>

</td></tr></tbody></table>

**Paginação**: Quando a quantidade de registros a serem exibidos excede o valor informado no parâmetro "paginação", é necessário fazer uma nova requisição para listar os registros restantes. Para isso, é preciso combinar os campos "**mas\_cod\_prod**" e "**mas\_origem**" informando-os com os <u>últimos valores</u> da <u>requisição anterior</u>.

**Ponteiro\_atualização**: Esse parâmetro garante o retorno somente dos registros novos, alterados ou excluídos a partir de uma determinada data e hora. A máscara utilizada é: **aaaammddhhmmss**. O valor desse campo deve ser armazenado para requisições de atualizações, evitando assim, o envio do cadastro todo.

**Retorno**

<table border="0" cellpadding="0" cellspacing="0" class="MsoNormalTable" id="bkmrk-campo-descri%C3%A7%C3%A3o-tipo-1" style="width: 408.0pt; border-collapse: collapse; mso-yfti-tbllook: 1184; mso-padding-alt: 0cm 3.5pt 0cm 3.5pt;" width="544"><tbody><tr style="mso-yfti-irow: 0; mso-yfti-firstrow: yes; height: 15.0pt;"><td nowrap="nowrap" style="width: 107.0pt; border: solid black 1.0pt; mso-border-alt: solid black .5pt; background: #DDDDDD; padding: 0cm 3.5pt 0cm 3.5pt; height: 15.0pt;" width="143">**<span style="font-size: 11.0pt; font-family: 'Arial',sans-serif; mso-fareast-font-family: 'Times New Roman'; color: #212529; mso-font-kerning: 0pt; mso-ligatures: none; mso-fareast-language: PT-BR;">Campo</span>**

</td><td nowrap="nowrap" style="width: 254.0pt; border: solid black 1.0pt; border-left: none; mso-border-top-alt: solid black .5pt; mso-border-bottom-alt: solid black .5pt; mso-border-right-alt: solid black .5pt; background: #DDDDDD; padding: 0cm 3.5pt 0cm 3.5pt; height: 15.0pt;" width="339">**<span style="font-size: 11.0pt; font-family: 'Arial',sans-serif; mso-fareast-font-family: 'Times New Roman'; color: #212529; mso-font-kerning: 0pt; mso-ligatures: none; mso-fareast-language: PT-BR;">Descrição</span>**

</td><td nowrap="nowrap" style="width: 47.0pt; border: solid black 1.0pt; border-left: none; mso-border-top-alt: solid black .5pt; mso-border-bottom-alt: solid black .5pt; mso-border-right-alt: solid black .5pt; background: #DDDDDD; padding: 0cm 3.5pt 0cm 3.5pt; height: 15.0pt;" width="63">**<span style="font-size: 11.0pt; font-family: 'Arial',sans-serif; mso-fareast-font-family: 'Times New Roman'; color: #212529; mso-font-kerning: 0pt; mso-ligatures: none; mso-fareast-language: PT-BR;">Tipo</span>**

</td></tr><tr style="mso-yfti-irow: 1; height: 15.0pt;"><td nowrap="nowrap" style="width: 107.0pt; border: solid black 1.0pt; border-top: none; mso-border-left-alt: solid black .5pt; mso-border-bottom-alt: solid black .5pt; mso-border-right-alt: solid black .5pt; background: white; padding: 0cm 3.5pt 0cm 3.5pt; height: 15.0pt;" width="143"><span style="font-size: 11.0pt; font-family: 'Arial',sans-serif; mso-fareast-font-family: 'Times New Roman'; color: #212529; mso-font-kerning: 0pt; mso-ligatures: none; mso-fareast-language: PT-BR;">total\_registro</span>

</td><td style="width: 254.0pt; border-top: none; border-left: none; border-bottom: solid black 1.0pt; border-right: solid black 1.0pt; mso-border-bottom-alt: solid black .5pt; mso-border-right-alt: solid black .5pt; background: white; padding: 0cm 3.5pt 0cm 3.5pt; height: 15.0pt;" width="339"><span style="font-size: 11.0pt; font-family: 'Arial',sans-serif; mso-fareast-font-family: 'Times New Roman'; color: #212529; mso-font-kerning: 0pt; mso-ligatures: none; mso-fareast-language: PT-BR;">Quantidade de registros retornados</span>

</td><td nowrap="nowrap" style="width: 47.0pt; border-top: none; border-left: none; border-bottom: solid black 1.0pt; border-right: solid black 1.0pt; mso-border-bottom-alt: solid black .5pt; mso-border-right-alt: solid black .5pt; background: white; padding: 0cm 3.5pt 0cm 3.5pt; height: 15.0pt;" width="63"><span style="font-size: 11.0pt; font-family: 'Arial',sans-serif; mso-fareast-font-family: 'Times New Roman'; color: #212529; mso-font-kerning: 0pt; mso-ligatures: none; mso-fareast-language: PT-BR;">Numeric</span>

</td></tr><tr style="mso-yfti-irow: 2; height: 15.0pt;"><td nowrap="nowrap" style="width: 107.0pt; border: solid black 1.0pt; border-top: none; mso-border-left-alt: solid black .5pt; mso-border-bottom-alt: solid black .5pt; mso-border-right-alt: solid black .5pt; background: white; padding: 0cm 3.5pt 0cm 3.5pt; height: 15.0pt;" width="143"><span style="font-size: 11.0pt; font-family: 'Arial',sans-serif; mso-fareast-font-family: 'Times New Roman'; color: #212529; mso-font-kerning: 0pt; mso-ligatures: none; mso-fareast-language: PT-BR;">cod\_prod</span>

</td><td style="width: 254.0pt; border-top: none; border-left: none; border-bottom: solid black 1.0pt; border-right: solid black 1.0pt; mso-border-bottom-alt: solid black .5pt; mso-border-right-alt: solid black .5pt; background: white; padding: 0cm 3.5pt 0cm 3.5pt; height: 15.0pt;" width="339"><span style="font-size: 11.0pt; font-family: 'Arial',sans-serif; mso-fareast-font-family: 'Times New Roman'; color: #212529; mso-font-kerning: 0pt; mso-ligatures: none; mso-fareast-language: PT-BR;">Código do produto original</span>

</td><td nowrap="nowrap" style="width: 47.0pt; border-top: none; border-left: none; border-bottom: solid black 1.0pt; border-right: solid black 1.0pt; mso-border-bottom-alt: solid black .5pt; mso-border-right-alt: solid black .5pt; background: white; padding: 0cm 3.5pt 0cm 3.5pt; height: 15.0pt;" width="63"><span style="font-size: 11.0pt; font-family: 'Arial',sans-serif; mso-fareast-font-family: 'Times New Roman'; color: #212529; mso-font-kerning: 0pt; mso-ligatures: none; mso-fareast-language: PT-BR;">String</span>

</td></tr><tr style="mso-yfti-irow: 3; height: 15.0pt;"><td nowrap="nowrap" style="width: 107.0pt; border: solid black 1.0pt; border-top: none; mso-border-left-alt: solid black .5pt; mso-border-bottom-alt: solid black .5pt; mso-border-right-alt: solid black .5pt; background: white; padding: 0cm 3.5pt 0cm 3.5pt; height: 15.0pt;" width="143"><span style="font-size: 11.0pt; font-family: 'Arial',sans-serif; mso-fareast-font-family: 'Times New Roman'; color: #212529; mso-font-kerning: 0pt; mso-ligatures: none; mso-fareast-language: PT-BR;">mat\_origem</span>

</td><td style="width: 254.0pt; border-top: none; border-left: none; border-bottom: solid black 1.0pt; border-right: solid black 1.0pt; mso-border-bottom-alt: solid black .5pt; mso-border-right-alt: solid black .5pt; background: white; padding: 0cm 3.5pt 0cm 3.5pt; height: 15.0pt;" width="339"><span style="font-size: 11.0pt; font-family: 'Arial',sans-serif; mso-fareast-font-family: 'Times New Roman'; color: #212529; mso-font-kerning: 0pt; mso-ligatures: none; mso-fareast-language: PT-BR;">Origem do produto original</span>

</td><td nowrap="nowrap" style="width: 47.0pt; border-top: none; border-left: none; border-bottom: solid black 1.0pt; border-right: solid black 1.0pt; mso-border-bottom-alt: solid black .5pt; mso-border-right-alt: solid black .5pt; background: white; padding: 0cm 3.5pt 0cm 3.5pt; height: 15.0pt;" width="63"><span style="font-size: 11.0pt; font-family: 'Arial',sans-serif; mso-fareast-font-family: 'Times New Roman'; color: #212529; mso-font-kerning: 0pt; mso-ligatures: none; mso-fareast-language: PT-BR;">String</span>

</td></tr><tr style="mso-yfti-irow: 4; height: 15.0pt;"><td nowrap="nowrap" style="width: 107.0pt; border: solid black 1.0pt; border-top: none; mso-border-left-alt: solid black .5pt; mso-border-bottom-alt: solid black .5pt; mso-border-right-alt: solid black .5pt; background: white; padding: 0cm 3.5pt 0cm 3.5pt; height: 15.0pt;" width="143"><span style="font-size: 11.0pt; font-family: 'Arial',sans-serif; mso-fareast-font-family: 'Times New Roman'; color: #212529; mso-font-kerning: 0pt; mso-ligatures: none; mso-fareast-language: PT-BR;">mas\_cod\_prod</span>

</td><td style="width: 254.0pt; border-top: none; border-left: none; border-bottom: solid black 1.0pt; border-right: solid black 1.0pt; mso-border-bottom-alt: solid black .5pt; mso-border-right-alt: solid black .5pt; background: white; padding: 0cm 3.5pt 0cm 3.5pt; height: 15.0pt;" width="339"><span style="font-size: 11.0pt; font-family: 'Arial',sans-serif; mso-fareast-font-family: 'Times New Roman'; color: #212529; mso-font-kerning: 0pt; mso-ligatures: none; mso-fareast-language: PT-BR;">Código do semelhante</span>

</td><td nowrap="nowrap" style="width: 47.0pt; border-top: none; border-left: none; border-bottom: solid black 1.0pt; border-right: solid black 1.0pt; mso-border-bottom-alt: solid black .5pt; mso-border-right-alt: solid black .5pt; background: white; padding: 0cm 3.5pt 0cm 3.5pt; height: 15.0pt;" width="63"><span style="font-size: 11.0pt; font-family: 'Arial',sans-serif; mso-fareast-font-family: 'Times New Roman'; color: #212529; mso-font-kerning: 0pt; mso-ligatures: none; mso-fareast-language: PT-BR;">String</span>

</td></tr><tr style="mso-yfti-irow: 5; height: 15.0pt;"><td nowrap="nowrap" style="width: 107.0pt; border: solid black 1.0pt; border-top: none; mso-border-left-alt: solid black .5pt; mso-border-bottom-alt: solid black .5pt; mso-border-right-alt: solid black .5pt; background: white; padding: 0cm 3.5pt 0cm 3.5pt; height: 15.0pt;" width="143"><span style="font-size: 11.0pt; font-family: 'Arial',sans-serif; mso-fareast-font-family: 'Times New Roman'; color: #212529; mso-font-kerning: 0pt; mso-ligatures: none; mso-fareast-language: PT-BR;">mas\_origem</span>

</td><td style="width: 254.0pt; border-top: none; border-left: none; border-bottom: solid black 1.0pt; border-right: solid black 1.0pt; mso-border-bottom-alt: solid black .5pt; mso-border-right-alt: solid black .5pt; background: white; padding: 0cm 3.5pt 0cm 3.5pt; height: 15.0pt;" width="339"><span style="font-size: 11.0pt; font-family: 'Arial',sans-serif; mso-fareast-font-family: 'Times New Roman'; color: #212529; mso-font-kerning: 0pt; mso-ligatures: none; mso-fareast-language: PT-BR;">Origem do semelhante</span>

</td><td nowrap="nowrap" style="width: 47.0pt; border-top: none; border-left: none; border-bottom: solid black 1.0pt; border-right: solid black 1.0pt; mso-border-bottom-alt: solid black .5pt; mso-border-right-alt: solid black .5pt; background: white; padding: 0cm 3.5pt 0cm 3.5pt; height: 15.0pt;" width="63"><span style="font-size: 11.0pt; font-family: 'Arial',sans-serif; mso-fareast-font-family: 'Times New Roman'; color: #212529; mso-font-kerning: 0pt; mso-ligatures: none; mso-fareast-language: PT-BR;">String</span>

</td></tr><tr style="mso-yfti-irow: 6; height: 15.0pt;"><td nowrap="nowrap" style="width: 107.0pt; border: solid black 1.0pt; border-top: none; mso-border-left-alt: solid black .5pt; mso-border-bottom-alt: solid black .5pt; mso-border-right-alt: solid black .5pt; background: white; padding: 0cm 3.5pt 0cm 3.5pt; height: 15.0pt;" width="143"><span style="font-size: 11.0pt; font-family: 'Arial',sans-serif; mso-fareast-font-family: 'Times New Roman'; color: #212529; mso-font-kerning: 0pt; mso-ligatures: none; mso-fareast-language: PT-BR;">mas\_desc</span>

</td><td style="width: 254.0pt; border-top: none; border-left: none; border-bottom: solid black 1.0pt; border-right: solid black 1.0pt; mso-border-bottom-alt: solid black .5pt; mso-border-right-alt: solid black .5pt; background: white; padding: 0cm 3.5pt 0cm 3.5pt; height: 15.0pt;" width="339"><span style="font-size: 11.0pt; font-family: 'Arial',sans-serif; mso-fareast-font-family: 'Times New Roman'; color: #212529; mso-font-kerning: 0pt; mso-ligatures: none; mso-fareast-language: PT-BR;">Descrição do semelhante</span>

</td><td nowrap="nowrap" style="width: 47.0pt; border-top: none; border-left: none; border-bottom: solid black 1.0pt; border-right: solid black 1.0pt; mso-border-bottom-alt: solid black .5pt; mso-border-right-alt: solid black .5pt; background: white; padding: 0cm 3.5pt 0cm 3.5pt; height: 15.0pt;" width="63"><span style="font-size: 11.0pt; font-family: 'Arial',sans-serif; mso-fareast-font-family: 'Times New Roman'; color: #212529; mso-font-kerning: 0pt; mso-ligatures: none; mso-fareast-language: PT-BR;">String</span>

</td></tr><tr style="mso-yfti-irow: 7; height: 15.0pt;"><td nowrap="nowrap" style="width: 107.0pt; border: solid black 1.0pt; border-top: none; mso-border-left-alt: solid black .5pt; mso-border-bottom-alt: solid black .5pt; mso-border-right-alt: solid black .5pt; background: white; padding: 0cm 3.5pt 0cm 3.5pt; height: 15.0pt;" width="143"><span style="font-size: 11.0pt; font-family: 'Arial',sans-serif; mso-fareast-font-family: 'Times New Roman'; color: #212529; mso-font-kerning: 0pt; mso-ligatures: none; mso-fareast-language: PT-BR;">mas\_dt\_incl</span>

</td><td style="width: 254.0pt; border-top: none; border-left: none; border-bottom: solid black 1.0pt; border-right: solid black 1.0pt; mso-border-bottom-alt: solid black .5pt; mso-border-right-alt: solid black .5pt; background: white; padding: 0cm 3.5pt 0cm 3.5pt; height: 15.0pt;" width="339"><span style="font-size: 11.0pt; font-family: 'Arial',sans-serif; mso-fareast-font-family: 'Times New Roman'; color: #212529; mso-font-kerning: 0pt; mso-ligatures: none; mso-fareast-language: PT-BR;">Data de criação do semelhante</span>

</td><td nowrap="nowrap" style="width: 47.0pt; border-top: none; border-left: none; border-bottom: solid black 1.0pt; border-right: solid black 1.0pt; mso-border-bottom-alt: solid black .5pt; mso-border-right-alt: solid black .5pt; background: white; padding: 0cm 3.5pt 0cm 3.5pt; height: 15.0pt;" width="63"><span style="font-size: 11.0pt; font-family: 'Arial',sans-serif; mso-fareast-font-family: 'Times New Roman'; color: #212529; mso-font-kerning: 0pt; mso-ligatures: none; mso-fareast-language: PT-BR;">String</span>

</td></tr><tr style="mso-yfti-irow: 8; height: 15.0pt;"><td nowrap="nowrap" style="width: 107.0pt; border: solid black 1.0pt; border-top: none; mso-border-left-alt: solid black .5pt; mso-border-bottom-alt: solid black .5pt; mso-border-right-alt: solid black .5pt; background: white; padding: 0cm 3.5pt 0cm 3.5pt; height: 15.0pt;" width="143"><span style="font-size: 11.0pt; font-family: 'Arial',sans-serif; mso-fareast-font-family: 'Times New Roman'; color: #212529; mso-font-kerning: 0pt; mso-ligatures: none; mso-fareast-language: PT-BR;">usu\_nome</span>

</td><td style="width: 254.0pt; border-top: none; border-left: none; border-bottom: solid black 1.0pt; border-right: solid black 1.0pt; mso-border-bottom-alt: solid black .5pt; mso-border-right-alt: solid black .5pt; background: white; padding: 0cm 3.5pt 0cm 3.5pt; height: 15.0pt;" width="339"><span style="font-size: 11.0pt; font-family: 'Arial',sans-serif; mso-fareast-font-family: 'Times New Roman'; color: #212529; mso-font-kerning: 0pt; mso-ligatures: none; mso-fareast-language: PT-BR;">Usuário responsável pela criação do semelhante</span>

</td><td nowrap="nowrap" style="width: 47.0pt; border-top: none; border-left: none; border-bottom: solid black 1.0pt; border-right: solid black 1.0pt; mso-border-bottom-alt: solid black .5pt; mso-border-right-alt: solid black .5pt; background: white; padding: 0cm 3.5pt 0cm 3.5pt; height: 15.0pt;" width="63"><span style="font-size: 11.0pt; font-family: 'Arial',sans-serif; mso-fareast-font-family: 'Times New Roman'; color: #212529; mso-font-kerning: 0pt; mso-ligatures: none; mso-fareast-language: PT-BR;">String</span>

</td></tr><tr style="mso-yfti-irow: 9; height: 28.5pt;"><td nowrap="nowrap" style="width: 107.0pt; border: solid black 1.0pt; border-top: none; mso-border-left-alt: solid black .5pt; mso-border-bottom-alt: solid black .5pt; mso-border-right-alt: solid black .5pt; background: white; padding: 0cm 3.5pt 0cm 3.5pt; height: 28.5pt;" width="143"><span style="font-size: 11.0pt; font-family: 'Arial',sans-serif; mso-fareast-font-family: 'Times New Roman'; color: #212529; mso-font-kerning: 0pt; mso-ligatures: none; mso-fareast-language: PT-BR;">excluido</span>

</td><td style="width: 254.0pt; border-top: none; border-left: none; border-bottom: solid black 1.0pt; border-right: solid black 1.0pt; mso-border-bottom-alt: solid black .5pt; mso-border-right-alt: solid black .5pt; background: white; padding: 0cm 3.5pt 0cm 3.5pt; height: 28.5pt;" width="339"><span style="font-size: 11.0pt; font-family: 'Arial',sans-serif; mso-fareast-font-family: 'Times New Roman'; color: #212529; mso-font-kerning: 0pt; mso-ligatures: none; mso-fareast-language: PT-BR;">Caso "true" o semelhante está excluído. Caso "false" o semelhante encontra-se ativo.</span>

</td><td nowrap="nowrap" style="width: 47.0pt; border-top: none; border-left: none; border-bottom: solid black 1.0pt; border-right: solid black 1.0pt; mso-border-bottom-alt: solid black .5pt; mso-border-right-alt: solid black .5pt; background: white; padding: 0cm 3.5pt 0cm 3.5pt; height: 28.5pt;" width="63"><span style="font-size: 11.0pt; font-family: 'Arial',sans-serif; mso-fareast-font-family: 'Times New Roman'; color: #212529; mso-font-kerning: 0pt; mso-ligatures: none; mso-fareast-language: PT-BR;">Boolean</span>

</td></tr><tr style="mso-yfti-irow: 10; height: 15.0pt;"><td nowrap="nowrap" style="width: 107.0pt; border: solid black 1.0pt; border-top: none; mso-border-left-alt: solid black .5pt; mso-border-bottom-alt: solid black .5pt; mso-border-right-alt: solid black .5pt; background: white; padding: 0cm 3.5pt 0cm 3.5pt; height: 15.0pt;" width="143"><span style="font-size: 11.0pt; font-family: 'Arial',sans-serif; mso-fareast-font-family: 'Times New Roman'; color: #212529; mso-font-kerning: 0pt; mso-ligatures: none; mso-fareast-language: PT-BR;">cod\_status</span>

</td><td style="width: 254.0pt; border-top: none; border-left: none; border-bottom: solid black 1.0pt; border-right: solid black 1.0pt; mso-border-bottom-alt: solid black .5pt; mso-border-right-alt: solid black .5pt; background: white; padding: 0cm 3.5pt 0cm 3.5pt; height: 15.0pt;" width="339"><span style="font-size: 11.0pt; font-family: 'Arial',sans-serif; mso-fareast-font-family: 'Times New Roman'; color: #212529; mso-font-kerning: 0pt; mso-ligatures: none; mso-fareast-language: PT-BR;">Código de retorno da requisição</span>

</td><td nowrap="nowrap" style="width: 47.0pt; border-top: none; border-left: none; border-bottom: solid black 1.0pt; border-right: solid black 1.0pt; mso-border-bottom-alt: solid black .5pt; mso-border-right-alt: solid black .5pt; background: white; padding: 0cm 3.5pt 0cm 3.5pt; height: 15.0pt;" width="63"><span style="font-size: 11.0pt; font-family: 'Arial',sans-serif; mso-fareast-font-family: 'Times New Roman'; color: #212529; mso-font-kerning: 0pt; mso-ligatures: none; mso-fareast-language: PT-BR;">String</span>

</td></tr><tr style="mso-yfti-irow: 11; height: 15.0pt;"><td nowrap="nowrap" style="width: 107.0pt; border: solid black 1.0pt; border-top: none; mso-border-left-alt: solid black .5pt; mso-border-bottom-alt: solid black .5pt; mso-border-right-alt: solid black .5pt; background: white; padding: 0cm 3.5pt 0cm 3.5pt; height: 15.0pt;" width="143"><span style="font-size: 11.0pt; font-family: 'Arial',sans-serif; mso-fareast-font-family: 'Times New Roman'; color: #212529; mso-font-kerning: 0pt; mso-ligatures: none; mso-fareast-language: PT-BR;">msg\_status</span>

</td><td style="width: 254.0pt; border-top: none; border-left: none; border-bottom: solid black 1.0pt; border-right: solid black 1.0pt; mso-border-bottom-alt: solid black .5pt; mso-border-right-alt: solid black .5pt; background: white; padding: 0cm 3.5pt 0cm 3.5pt; height: 15.0pt;" width="339"><span style="font-size: 11.0pt; font-family: 'Arial',sans-serif; mso-fareast-font-family: 'Times New Roman'; color: #212529; mso-font-kerning: 0pt; mso-ligatures: none; mso-fareast-language: PT-BR;">Mensagem de retorno da requisição</span>

</td><td nowrap="nowrap" style="width: 47.0pt; border-top: none; border-left: none; border-bottom: solid black 1.0pt; border-right: solid black 1.0pt; mso-border-bottom-alt: solid black .5pt; mso-border-right-alt: solid black .5pt; background: white; padding: 0cm 3.5pt 0cm 3.5pt; height: 15.0pt;" width="63"><span style="font-size: 11.0pt; font-family: 'Arial',sans-serif; mso-fareast-font-family: 'Times New Roman'; color: #212529; mso-font-kerning: 0pt; mso-ligatures: none; mso-fareast-language: PT-BR;">String</span>

</td></tr><tr style="mso-yfti-irow: 12; mso-yfti-lastrow: yes; height: 28.5pt;"><td nowrap="nowrap" style="width: 107.0pt; border: solid black 1.0pt; border-top: none; mso-border-left-alt: solid black .5pt; mso-border-bottom-alt: solid black .5pt; mso-border-right-alt: solid black .5pt; background: white; padding: 0cm 3.5pt 0cm 3.5pt; height: 28.5pt;" width="143"><span style="font-size: 11.0pt; font-family: 'Arial',sans-serif; mso-fareast-font-family: 'Times New Roman'; color: #212529; mso-font-kerning: 0pt; mso-ligatures: none; mso-fareast-language: PT-BR;">ponteiro\_atualizacao</span>

</td><td style="width: 254.0pt; border-top: none; border-left: none; border-bottom: solid black 1.0pt; border-right: solid black 1.0pt; mso-border-bottom-alt: solid black .5pt; mso-border-right-alt: solid black .5pt; background: white; padding: 0cm 3.5pt 0cm 3.5pt; height: 28.5pt;" width="339"><span style="font-size: 11.0pt; font-family: 'Arial',sans-serif; mso-fareast-font-family: 'Times New Roman'; color: #212529; mso-font-kerning: 0pt; mso-ligatures: none; mso-fareast-language: PT-BR;">Armazena a data e hora da requisição com a máscara: aaaammddhhmmss </span>

</td><td nowrap="nowrap" style="width: 47.0pt; border-top: none; border-left: none; border-bottom: solid black 1.0pt; border-right: solid black 1.0pt; mso-border-bottom-alt: solid black .5pt; mso-border-right-alt: solid black .5pt; background: white; padding: 0cm 3.5pt 0cm 3.5pt; height: 28.5pt;" width="63"><span style="font-size: 11.0pt; font-family: 'Arial',sans-serif; mso-fareast-font-family: 'Times New Roman'; color: #212529; mso-font-kerning: 0pt; mso-ligatures: none; mso-fareast-language: PT-BR;">String</span>

</td></tr></tbody></table>

**Tabela de código (campos "cód\_status" e "msg\_status" )**

<table border="0" cellpadding="0" cellspacing="0" class="MsoNormalTable" id="bkmrk-cod_status-msg_statu" style="width: 228.0pt; border-collapse: collapse; mso-yfti-tbllook: 1184; mso-padding-alt: 0cm 3.5pt 0cm 3.5pt;" width="304"><tbody><tr style="mso-yfti-irow: 0; mso-yfti-firstrow: yes; height: 15.0pt;"><td nowrap="nowrap" style="width: 63.0pt; border: solid black 1.0pt; mso-border-alt: solid black .5pt; background: #DDDDDD; padding: 0cm 3.5pt 0cm 3.5pt; height: 15.0pt;" width="84">**<span style="font-size: 11.0pt; font-family: 'Arial',sans-serif; mso-fareast-font-family: 'Times New Roman'; color: #212529; mso-font-kerning: 0pt; mso-ligatures: none; mso-fareast-language: PT-BR;">cod\_status</span>**

</td><td nowrap="nowrap" style="width: 165.0pt; border: solid black 1.0pt; border-left: none; mso-border-top-alt: solid black .5pt; mso-border-bottom-alt: solid black .5pt; mso-border-right-alt: solid black .5pt; background: #DDDDDD; padding: 0cm 3.5pt 0cm 3.5pt; height: 15.0pt;" width="220">**<span style="font-size: 11.0pt; font-family: 'Arial',sans-serif; mso-fareast-font-family: 'Times New Roman'; color: #212529; mso-font-kerning: 0pt; mso-ligatures: none; mso-fareast-language: PT-BR;">msg\_status</span>**

</td></tr><tr style="mso-yfti-irow: 1; height: 15.0pt;"><td nowrap="nowrap" style="width: 63.0pt; border: solid black 1.0pt; border-top: none; mso-border-left-alt: solid black .5pt; mso-border-bottom-alt: solid black .5pt; mso-border-right-alt: solid black .5pt; background: white; padding: 0cm 3.5pt 0cm 3.5pt; height: 15.0pt;" width="84"><span style="font-size: 11.0pt; font-family: 'Arial',sans-serif; mso-fareast-font-family: 'Times New Roman'; color: #212529; mso-font-kerning: 0pt; mso-ligatures: none; mso-fareast-language: PT-BR;">0</span>

</td><td nowrap="nowrap" style="width: 165.0pt; border-top: none; border-left: none; border-bottom: solid black 1.0pt; border-right: solid black 1.0pt; mso-border-bottom-alt: solid black .5pt; mso-border-right-alt: solid black .5pt; background: white; padding: 0cm 3.5pt 0cm 3.5pt; height: 15.0pt;" width="220"><span style="font-size: 11.0pt; font-family: 'Arial',sans-serif; mso-fareast-font-family: 'Times New Roman'; color: #212529; mso-font-kerning: 0pt; mso-ligatures: none; mso-fareast-language: PT-BR;">Retorno com sucesso</span>

</td></tr><tr style="mso-yfti-irow: 2; height: 15.0pt;"><td nowrap="nowrap" style="width: 63.0pt; border: solid black 1.0pt; border-top: none; mso-border-left-alt: solid black .5pt; mso-border-bottom-alt: solid black .5pt; mso-border-right-alt: solid black .5pt; background: white; padding: 0cm 3.5pt 0cm 3.5pt; height: 15.0pt;" width="84"><span style="font-size: 11.0pt; font-family: 'Arial',sans-serif; mso-fareast-font-family: 'Times New Roman'; color: #212529; mso-font-kerning: 0pt; mso-ligatures: none; mso-fareast-language: PT-BR;">10</span>

</td><td nowrap="nowrap" style="width: 165.0pt; border-top: none; border-left: none; border-bottom: solid black 1.0pt; border-right: solid black 1.0pt; mso-border-bottom-alt: solid black .5pt; mso-border-right-alt: solid black .5pt; background: white; padding: 0cm 3.5pt 0cm 3.5pt; height: 15.0pt;" width="220"><span style="font-size: 11.0pt; font-family: 'Arial',sans-serif; mso-fareast-font-family: 'Times New Roman'; color: #212529; mso-font-kerning: 0pt; mso-ligatures: none; mso-fareast-language: PT-BR;">Ocorreu uma falha na aplicação</span>

</td></tr><tr style="mso-yfti-irow: 3; mso-yfti-lastrow: yes; height: 15.0pt;"><td nowrap="nowrap" style="width: 63.0pt; border: solid black 1.0pt; border-top: none; mso-border-left-alt: solid black .5pt; mso-border-bottom-alt: solid black .5pt; mso-border-right-alt: solid black .5pt; background: white; padding: 0cm 3.5pt 0cm 3.5pt; height: 15.0pt;" width="84"><span style="font-family: 'Arial',sans-serif; mso-fareast-font-family: 'Times New Roman'; color: #212529; mso-font-kerning: 0pt; mso-ligatures: none; mso-fareast-language: PT-BR;">401</span>

</td><td nowrap="nowrap" style="width: 165.0pt; border-top: none; border-left: none; border-bottom: solid black 1.0pt; border-right: solid black 1.0pt; mso-border-bottom-alt: solid black .5pt; mso-border-right-alt: solid black .5pt; background: white; padding: 0cm 3.5pt 0cm 3.5pt; height: 15.0pt;" width="220"><span style="font-family: 'Arial',sans-serif; mso-fareast-font-family: 'Times New Roman'; color: #212529; mso-font-kerning: 0pt; mso-ligatures: none; mso-fareast-language: PT-BR;">Token inválido ou expirado</span>

</td></tr></tbody></table>

# Exemplos de chamada e retorno

# Chamadas

**Retornar semelhantes ativos**

{   
 "mas\_cod\_prod": "1234",  
 "mas\_origem": "0",  
 **"retornar\_excluidos": false,**  
 "paginacao": 100,  
 "ponteiro\_atualizacao": "0"  
}

**Retornar semelhantes excluídos**

{   
 "mas\_cod\_prod": "1234",  
 "mas\_origem": "0",  
 **"retornar\_excluidos": true,**  
 "paginacao": 100,  
 "ponteiro\_atualizacao": "0"  
}

**Retornar os semelhantes ativos ou excluídos a partir de uma data específica. Ex: 01/01/2024 00:00:00**  
  
 "mas\_cod\_prod": "1234",  
 "mas\_origem": "0",  
 **"retornar\_excluidos": false,**  
 "paginacao": 100,  
  **"ponteiro\_atualizacao": "20240101000000"**  
}

# Retornos

**Retorno de semelhantes ativos:**

{  
 "total\_registro": 2,  
 "material\_Semelhantes": \[  
 {  
 "cod\_prod": "1234",  
 "mat\_origem": "0",  
 "mas\_cod\_prod": "0202020202",  
 "mas\_origem": "0",  
 "mas\_desc": "Descrição",  
 "mas\_dt\_incl": "2024-01-01T14:38:13.857",  
 "usu\_nome": "",  
 "excluido": false  
 },  
 {  
 "cod\_prod": "12345",  
 "mat\_origem": "0",  
 "mas\_cod\_prod": "101010",  
 "mas\_origem": "0",  
 "mas\_desc": "Descrição",  
 "mas\_dt\_incl": "2024-01-01T13:57:52.047",  
 "usu\_nome": "",   
 "excluido": false  
 }  
 \],  
 "origem": "Systax",  
 "sistema": "Cockpit",  
 "status": {  
 "cod\_status": 0,  
 "msg\_status": "Retorno com sucesso. "  
 },  
 "ponteiro\_atualizacao":"11111111111111"  
}

**Retorno de semelhantes excluídos:**

{  
 "total\_registro": 2,  
 "material\_Semelhantes": \[  
 {  
 "cod\_prod": "1234",  
 "mat\_origem": "0",  
 "mas\_cod\_prod": "000001",  
 "mas\_origem": "0",  
 "mas\_desc": "Descrição",  
 "mas\_dt\_incl": "2024-01-01T09:52:14",  
 "usu\_nome": "",  
 "excluido": true  
 },  
 {  
 "cod\_prod": "12345",  
 "mat\_origem": "0",  
 "mas\_cod\_prod": "000001",  
 "mas\_origem": "0",  
 "mas\_desc": "Descrição",  
 "mas\_dt\_incl": "2024-01-01T20:48:57",  
 "usu\_nome": "",  
 "excluido": true  
 }  
 \],  
 "origem": "Systax",  
 "sistema": "Cockpit",  
 "status": {  
 "cod\_status": 0,  
 "msg\_status": "Retorno com sucesso. "  
 },

 "ponteiro\_atualizacao":"11111111111111"  
}

**Retorno dos semelhantes cadastrados a partir de data específica Ex: 01/01/2024 00:00:00**

{  
 "total\_registro": 6,  
 "material\_Semelhantes": \[  
 {  
 "cod\_prod": "123",  
 "mat\_origem": "0",  
 "mas\_cod\_prod": "S01",  
 "mas\_origem": "0",  
 "mas\_desc": "Descrição",  
 "mas\_dt\_incl": "2024-01-01T10:32:16.887",  
 "usu\_nome": "",  
 "excluido": false  
 },  
 {  
 "cod\_prod": "1234",  
 "mat\_origem": "0",  
 "mas\_cod\_prod": "S01",  
 "mas\_origem": "1",  
 "mas\_desc": "Descrição",  
 "mas\_dt\_incl": "2021-01-26T11:12:34.997",  
 "usu\_nome": "",  
 "excluido": false  
 },  
 {  
 "cod\_prod": "12345",  
 "mat\_origem": "0",  
 "mas\_cod\_prod": "S01",  
 "mas\_origem": "2",  
 "mas\_desc": "Descrição",  
 "mas\_dt\_incl": "2024-01-01T11:24:14.637",  
 "usu\_nome": "",  
 "excluido": false  
 },  
 {  
 "cod\_prod": "123456",  
 "mat\_origem": "0",  
 "mas\_cod\_prod": "S01",  
 "mas\_origem": "3",  
 "mas\_desc": "Descrição",  
 "mas\_dt\_incl": "2024-01-01T11:41:53.34",  
 "usu\_nome": "",  
 "excluido": false  
 },  
 {  
 "cod\_prod": "1234567",  
 "mat\_origem": "0",  
 "mas\_cod\_prod": "S01",  
 "mas\_origem": "4",  
 "mas\_desc": "Descrição",  
 "mas\_dt\_incl": "2024-01-01T08:34:09",  
 "usu\_nome": "",  
 "excluido": false  
 },  
 {  
 "cod\_prod": "12345678",  
 "mat\_origem": "0",  
 "mas\_cod\_prod": "S02",  
 "mas\_origem": "0",  
 "mas\_desc": "Descrição",  
 "mas\_dt\_incl": "2024-01-01T10:33:33.373",  
 "usu\_nome": "",  
 "excluido": false  
 }  
 \],  
 "origem": "Systax",  
 "sistema": "Cockpit",  
 "status": {  
 "cod\_status": 0,  
 "msg\_status": "Retorno com sucesso. "  
 },  
 "ponteiro\_atualizacao": "11111111111111"  
}

# Descrição dos campos de chamada e retorno - Opção Vincular/ Desvincular

**Chamada**

**Importante:** o que diferencia se o sistema irá vincular ou desvincular o produto são os endpoint's, indicados na guia "Acesso" do manual.

<table border="0" cellpadding="0" cellspacing="0" class="MsoNormalTable" id="bkmrk-campo-descri%C3%A7%C3%A3o-tipo" style="width: 395.0pt; border-collapse: collapse; mso-yfti-tbllook: 1184; mso-padding-alt: 0cm 3.5pt 0cm 3.5pt;" width="527"><tbody><tr style="mso-yfti-irow: 0; mso-yfti-firstrow: yes; height: 15.0pt;"><td nowrap="nowrap" style="width: 139pt; border-top: 1pt solid black; border-right: 1pt solid black; border-left: 1pt solid black; border-image: initial; border-bottom: none; background: white; padding: 0cm 3.5pt; height: 15pt; vertical-align: middle;" width="185">**<span style="font-size: 11.0pt; font-family: 'Arial',sans-serif; mso-fareast-font-family: 'Times New Roman'; color: #212529; mso-font-kerning: 0pt; mso-ligatures: none; mso-fareast-language: PT-BR;">Campo</span>**

</td><td nowrap="nowrap" style="width: 203pt; border-top: 1pt solid black; border-left: none; border-bottom: none; border-right: 1pt solid black; background: white; padding: 0cm 3.5pt; height: 15pt; vertical-align: middle;" width="271">**<span style="font-size: 11.0pt; font-family: 'Arial',sans-serif; mso-fareast-font-family: 'Times New Roman'; color: #212529; mso-font-kerning: 0pt; mso-ligatures: none; mso-fareast-language: PT-BR;">Descrição</span>**

</td><td nowrap="nowrap" style="width: 53pt; border-top: 1pt solid black; border-left: none; border-bottom: none; border-right: 1pt solid black; background: white; padding: 0cm 3.5pt; height: 15pt; vertical-align: middle;" width="71">**<span style="font-size: 11.0pt; font-family: 'Arial',sans-serif; mso-fareast-font-family: 'Times New Roman'; color: #212529; mso-font-kerning: 0pt; mso-ligatures: none; mso-fareast-language: PT-BR;">Tipo</span>**

</td></tr><tr style="mso-yfti-irow: 1; height: 15.0pt;"><td nowrap="nowrap" style="width: 139pt; border: 1pt solid windowtext; background: white; padding: 0cm 3.5pt; height: 15pt; vertical-align: middle;" width="185"><span style="font-size: 11.0pt; font-family: 'Arial',sans-serif; mso-fareast-font-family: 'Times New Roman'; color: #212529; mso-font-kerning: 0pt; mso-ligatures: none; mso-fareast-language: PT-BR;">id</span>

</td><td nowrap="nowrap" style="width: 203pt; border-top: 1pt solid windowtext; border-right: 1pt solid windowtext; border-bottom: 1pt solid windowtext; border-image: initial; border-left: none; background: white; padding: 0cm 3.5pt; height: 15pt; vertical-align: middle;" width="271"><span style="font-size: 11.0pt; font-family: 'Arial',sans-serif; mso-fareast-font-family: 'Times New Roman'; color: #212529; mso-font-kerning: 0pt; mso-ligatures: none; mso-fareast-language: PT-BR;">Id de registro</span>

</td><td nowrap="nowrap" style="width: 53pt; border-top: 1pt solid windowtext; border-right: 1pt solid windowtext; border-bottom: 1pt solid windowtext; border-image: initial; border-left: none; background: white; padding: 0cm 3.5pt; height: 15pt; vertical-align: middle;" width="71"><span style="font-size: 11.0pt; font-family: 'Arial',sans-serif; mso-fareast-font-family: 'Times New Roman'; color: #212529; mso-font-kerning: 0pt; mso-ligatures: none; mso-fareast-language: PT-BR;">Numerico</span>

</td></tr><tr style="mso-yfti-irow: 2; height: 15.0pt;"><td nowrap="nowrap" style="width: 139pt; border-right: 1pt solid windowtext; border-bottom: 1pt solid windowtext; border-left: 1pt solid windowtext; border-image: initial; border-top: none; background: white; padding: 0cm 3.5pt; height: 15pt; vertical-align: middle;" width="185"><span style="font-size: 11.0pt; font-family: 'Arial',sans-serif; mso-fareast-font-family: 'Times New Roman'; color: #212529; mso-font-kerning: 0pt; mso-ligatures: none; mso-fareast-language: PT-BR;">codProdutoOriginal</span>

</td><td nowrap="nowrap" style="width: 203pt; border-top: none; border-left: none; border-bottom: 1pt solid windowtext; border-right: 1pt solid windowtext; background: white; padding: 0cm 3.5pt; height: 15pt; vertical-align: middle;" width="271"><span style="font-size: 11.0pt; font-family: 'Arial',sans-serif; mso-fareast-font-family: 'Times New Roman'; color: #212529; mso-font-kerning: 0pt; mso-ligatures: none; mso-fareast-language: PT-BR;">Código do produto pai</span>

</td><td nowrap="nowrap" style="width: 53pt; border-top: none; border-left: none; border-bottom: 1pt solid windowtext; border-right: 1pt solid windowtext; background: white; padding: 0cm 3.5pt; height: 15pt; vertical-align: middle;" width="71"><span style="font-size: 11.0pt; font-family: 'Arial',sans-serif; mso-fareast-font-family: 'Times New Roman'; color: #212529; mso-font-kerning: 0pt; mso-ligatures: none; mso-fareast-language: PT-BR;">String</span>

</td></tr><tr style="mso-yfti-irow: 3; height: 28.5pt;"><td nowrap="nowrap" style="width: 139pt; border-right: 1pt solid windowtext; border-bottom: 1pt solid windowtext; border-left: 1pt solid windowtext; border-image: initial; border-top: none; background: white; padding: 0cm 3.5pt; height: 28.5pt; vertical-align: middle;" width="185"><span style="font-size: 11.0pt; font-family: 'Arial',sans-serif; mso-fareast-font-family: 'Times New Roman'; color: #212529; mso-font-kerning: 0pt; mso-ligatures: none; mso-fareast-language: PT-BR;">origemProdutoOriginal</span>

</td><td style="width: 203pt; border-top: none; border-left: none; border-bottom: 1pt solid windowtext; border-right: 1pt solid windowtext; background: white; padding: 0cm 3.5pt; height: 28.5pt; vertical-align: middle;" width="271"><span style="font-size: 11.0pt; font-family: 'Arial',sans-serif; mso-fareast-font-family: 'Times New Roman'; color: #212529; mso-font-kerning: 0pt; mso-ligatures: none; mso-fareast-language: PT-BR;">Origem do produto pai  
(Código da Tabela de Origens: 0 a 8)</span>

</td><td nowrap="nowrap" style="width: 53pt; border-top: none; border-left: none; border-bottom: 1pt solid windowtext; border-right: 1pt solid windowtext; background: white; padding: 0cm 3.5pt; height: 28.5pt; vertical-align: middle;" width="71"><span style="font-size: 11.0pt; font-family: 'Arial',sans-serif; mso-fareast-font-family: 'Times New Roman'; color: #212529; mso-font-kerning: 0pt; mso-ligatures: none; mso-fareast-language: PT-BR;">Numerico</span>

</td></tr><tr style="mso-yfti-irow: 4; height: 15.0pt;"><td nowrap="nowrap" style="width: 139pt; border-right: 1pt solid windowtext; border-bottom: 1pt solid windowtext; border-left: 1pt solid windowtext; border-image: initial; border-top: none; background: white; padding: 0cm 3.5pt; height: 15pt; vertical-align: middle;" width="185"><span style="font-size: 11.0pt; font-family: 'Arial',sans-serif; mso-fareast-font-family: 'Times New Roman'; color: #212529; mso-font-kerning: 0pt; mso-ligatures: none; mso-fareast-language: PT-BR;">codProdutoSemelhante</span>

</td><td nowrap="nowrap" style="width: 203pt; border-top: none; border-left: none; border-bottom: 1pt solid windowtext; border-right: 1pt solid windowtext; background: white; padding: 0cm 3.5pt; height: 15pt; vertical-align: middle;" width="271"><span style="font-size: 11.0pt; font-family: 'Arial',sans-serif; mso-fareast-font-family: 'Times New Roman'; color: #212529; mso-font-kerning: 0pt; mso-ligatures: none; mso-fareast-language: PT-BR;">Código do produto semelhante</span>

</td><td nowrap="nowrap" style="width: 53pt; border-top: none; border-left: none; border-bottom: 1pt solid windowtext; border-right: 1pt solid windowtext; background: white; padding: 0cm 3.5pt; height: 15pt; vertical-align: middle;" width="71"><span style="font-size: 11.0pt; font-family: 'Arial',sans-serif; mso-fareast-font-family: 'Times New Roman'; color: #212529; mso-font-kerning: 0pt; mso-ligatures: none; mso-fareast-language: PT-BR;">String</span>

</td></tr><tr style="mso-yfti-irow: 5; height: 28.5pt;"><td nowrap="nowrap" style="width: 139pt; border-right: 1pt solid windowtext; border-bottom: 1pt solid windowtext; border-left: 1pt solid windowtext; border-image: initial; border-top: none; background: white; padding: 0cm 3.5pt; height: 28.5pt; vertical-align: middle;" width="185"><span style="font-size: 11.0pt; font-family: 'Arial',sans-serif; mso-fareast-font-family: 'Times New Roman'; color: #212529; mso-font-kerning: 0pt; mso-ligatures: none; mso-fareast-language: PT-BR;">origemProdutoSemelhante</span>

</td><td style="width: 203pt; border-top: none; border-left: none; border-bottom: 1pt solid windowtext; border-right: 1pt solid windowtext; background: white; padding: 0cm 3.5pt; height: 28.5pt; vertical-align: middle;" width="271"><span style="font-size: 11.0pt; font-family: 'Arial',sans-serif; mso-fareast-font-family: 'Times New Roman'; color: #212529; mso-font-kerning: 0pt; mso-ligatures: none; mso-fareast-language: PT-BR;">Origem do produto semelhante  
(Código da Tabela de Origens: 0 a 8)</span>

</td><td nowrap="nowrap" style="width: 53pt; border-top: none; border-left: none; border-bottom: 1pt solid windowtext; border-right: 1pt solid windowtext; background: white; padding: 0cm 3.5pt; height: 28.5pt; vertical-align: middle;" width="71"><span style="font-size: 11.0pt; font-family: 'Arial',sans-serif; mso-fareast-font-family: 'Times New Roman'; color: #212529; mso-font-kerning: 0pt; mso-ligatures: none; mso-fareast-language: PT-BR;">Numerico</span>

</td></tr><tr style="mso-yfti-irow: 6; height: 15.0pt;"><td nowrap="nowrap" style="width: 139pt; border-right: 1pt solid windowtext; border-bottom: 1pt solid windowtext; border-left: 1pt solid windowtext; border-image: initial; border-top: none; background: white; padding: 0cm 3.5pt; height: 15pt; vertical-align: middle;" width="185"><span style="font-size: 11.0pt; font-family: 'Arial',sans-serif; mso-fareast-font-family: 'Times New Roman'; color: #212529; mso-font-kerning: 0pt; mso-ligatures: none; mso-fareast-language: PT-BR;">descricaoSemelhante</span>

</td><td nowrap="nowrap" style="width: 203pt; border-top: none; border-left: none; border-bottom: 1pt solid windowtext; border-right: 1pt solid windowtext; background: white; padding: 0cm 3.5pt; height: 15pt; vertical-align: middle;" width="271"><span style="font-size: 11.0pt; font-family: 'Arial',sans-serif; mso-fareast-font-family: 'Times New Roman'; color: #212529; mso-font-kerning: 0pt; mso-ligatures: none; mso-fareast-language: PT-BR;">Descrição do produto semelhante</span>

</td><td nowrap="nowrap" style="width: 53pt; border-top: none; border-left: none; border-bottom: 1pt solid windowtext; border-right: 1pt solid windowtext; background: white; padding: 0cm 3.5pt; height: 15pt; vertical-align: middle;" width="71"><span style="font-size: 11.0pt; font-family: 'Arial',sans-serif; mso-fareast-font-family: 'Times New Roman'; color: #212529; mso-font-kerning: 0pt; mso-ligatures: none; mso-fareast-language: PT-BR;">String</span>

</td></tr><tr style="mso-yfti-irow: 7; mso-yfti-lastrow: yes; height: 28.5pt;"><td nowrap="nowrap" style="width: 139pt; border-right: 1pt solid windowtext; border-bottom: 1pt solid windowtext; border-left: 1pt solid windowtext; border-image: initial; border-top: none; background: white; padding: 0cm 3.5pt; height: 28.5pt; vertical-align: middle;" width="185"><span style="font-size: 11.0pt; font-family: 'Arial',sans-serif; mso-fareast-font-family: 'Times New Roman'; color: #212529; mso-font-kerning: 0pt; mso-ligatures: none; mso-fareast-language: PT-BR;">cean</span>

</td><td style="width: 203pt; border-top: none; border-left: none; border-bottom: 1pt solid windowtext; border-right: 1pt solid windowtext; background: white; padding: 0cm 3.5pt; height: 28.5pt; vertical-align: middle;" width="271"><span style="font-size: 11.0pt; font-family: 'Arial',sans-serif; mso-fareast-font-family: 'Times New Roman'; color: #212529; mso-font-kerning: 0pt; mso-ligatures: none; mso-fareast-language: PT-BR;">Cean do produto semelhante  
(Apenas números e até 15 dígitos)</span>

</td><td nowrap="nowrap" style="width: 53pt; border-top: none; border-left: none; border-bottom: 1pt solid windowtext; border-right: 1pt solid windowtext; background: white; padding: 0cm 3.5pt; height: 28.5pt; vertical-align: middle;" width="71"><span style="font-size: 11.0pt; font-family: 'Arial',sans-serif; mso-fareast-font-family: 'Times New Roman'; color: #212529; mso-font-kerning: 0pt; mso-ligatures: none; mso-fareast-language: PT-BR;">String</span>

</td></tr></tbody></table>

**Retorno**

<table border="0" cellpadding="0" cellspacing="0" class="MsoNormalTable" id="bkmrk-campo-descri%C3%A7%C3%A3o-tipo-1" style="width: 268.0pt; border-collapse: collapse; mso-yfti-tbllook: 1184; mso-padding-alt: 0cm 3.5pt 0cm 3.5pt;" width="357"><tbody><tr style="mso-yfti-irow: 0; mso-yfti-firstrow: yes; height: 15.0pt;"><td nowrap="nowrap" style="width: 51.0pt; border: solid black 1.0pt; mso-border-alt: solid black .5pt; background: white; padding: 0cm 3.5pt 0cm 3.5pt; height: 15.0pt;" width="68">**<span style="font-size: 11.0pt; font-family: 'Arial',sans-serif; mso-fareast-font-family: 'Times New Roman'; color: #212529; mso-font-kerning: 0pt; mso-ligatures: none; mso-fareast-language: PT-BR;">Campo</span>**

</td><td nowrap="nowrap" style="width: 164.0pt; border: solid black 1.0pt; border-left: none; mso-border-top-alt: solid black .5pt; mso-border-bottom-alt: solid black .5pt; mso-border-right-alt: solid black .5pt; background: white; padding: 0cm 3.5pt 0cm 3.5pt; height: 15.0pt;" width="219">**<span style="font-size: 11.0pt; font-family: 'Arial',sans-serif; mso-fareast-font-family: 'Times New Roman'; color: #212529; mso-font-kerning: 0pt; mso-ligatures: none; mso-fareast-language: PT-BR;">Descrição</span>**

</td><td nowrap="nowrap" style="width: 53.0pt; border: solid black 1.0pt; border-left: none; mso-border-top-alt: solid black .5pt; mso-border-bottom-alt: solid black .5pt; mso-border-right-alt: solid black .5pt; background: white; padding: 0cm 3.5pt 0cm 3.5pt; height: 15.0pt;" width="71">**<span style="font-size: 11.0pt; font-family: 'Arial',sans-serif; mso-fareast-font-family: 'Times New Roman'; color: #212529; mso-font-kerning: 0pt; mso-ligatures: none; mso-fareast-language: PT-BR;">Tipo</span>**

</td></tr><tr style="mso-yfti-irow: 1; height: 15.0pt;"><td nowrap="nowrap" style="width: 51.0pt; border: solid black 1.0pt; border-top: none; mso-border-left-alt: solid black .5pt; mso-border-bottom-alt: solid black .5pt; mso-border-right-alt: solid black .5pt; background: white; padding: 0cm 3.5pt 0cm 3.5pt; height: 15.0pt;" width="68"><span style="font-size: 11.0pt; font-family: 'Arial',sans-serif; mso-fareast-font-family: 'Times New Roman'; color: #212529; mso-font-kerning: 0pt; mso-ligatures: none; mso-fareast-language: PT-BR;">id</span>

</td><td style="width: 164.0pt; border-top: none; border-left: none; border-bottom: solid black 1.0pt; border-right: solid black 1.0pt; mso-border-bottom-alt: solid black .5pt; mso-border-right-alt: solid black .5pt; background: white; padding: 0cm 3.5pt 0cm 3.5pt; height: 15.0pt;" width="219"><span style="font-size: 11.0pt; font-family: 'Arial',sans-serif; mso-fareast-font-family: 'Times New Roman'; color: #212529; mso-font-kerning: 0pt; mso-ligatures: none; mso-fareast-language: PT-BR;">Id de registro</span>

</td><td nowrap="nowrap" style="width: 53.0pt; border-top: none; border-left: none; border-bottom: solid black 1.0pt; border-right: solid black 1.0pt; mso-border-bottom-alt: solid black .5pt; mso-border-right-alt: solid black .5pt; background: white; padding: 0cm 3.5pt 0cm 3.5pt; height: 15.0pt;" width="71"><span style="font-size: 11.0pt; font-family: 'Arial',sans-serif; mso-fareast-font-family: 'Times New Roman'; color: #212529; mso-font-kerning: 0pt; mso-ligatures: none; mso-fareast-language: PT-BR;">Numerico</span>

</td></tr><tr style="mso-yfti-irow: 2; height: 28.5pt;"><td nowrap="nowrap" style="width: 51.0pt; border: solid black 1.0pt; border-top: none; mso-border-left-alt: solid black .5pt; mso-border-bottom-alt: solid black .5pt; mso-border-right-alt: solid black .5pt; background: white; padding: 0cm 3.5pt 0cm 3.5pt; height: 28.5pt;" width="68"><span style="font-size: 11.0pt; font-family: 'Arial',sans-serif; mso-fareast-font-family: 'Times New Roman'; color: #212529; mso-font-kerning: 0pt; mso-ligatures: none; mso-fareast-language: PT-BR;">protocolo</span>

</td><td style="width: 164.0pt; border-top: none; border-left: none; border-bottom: solid black 1.0pt; border-right: solid black 1.0pt; mso-border-bottom-alt: solid black .5pt; mso-border-right-alt: solid black .5pt; background: white; padding: 0cm 3.5pt 0cm 3.5pt; height: 28.5pt;" width="219"><span style="font-size: 11.0pt; font-family: 'Arial',sans-serif; mso-fareast-font-family: 'Times New Roman'; color: #212529; mso-font-kerning: 0pt; mso-ligatures: none; mso-fareast-language: PT-BR;">Código de rastreamento da ação realizada</span>

</td><td nowrap="nowrap" style="width: 53.0pt; border-top: none; border-left: none; border-bottom: solid black 1.0pt; border-right: solid black 1.0pt; mso-border-bottom-alt: solid black .5pt; mso-border-right-alt: solid black .5pt; background: white; padding: 0cm 3.5pt 0cm 3.5pt; height: 28.5pt;" width="71"><span style="font-size: 11.0pt; font-family: 'Arial',sans-serif; mso-fareast-font-family: 'Times New Roman'; color: #212529; mso-font-kerning: 0pt; mso-ligatures: none; mso-fareast-language: PT-BR;">String</span>

</td></tr><tr style="mso-yfti-irow: 3; height: 28.5pt;"><td nowrap="nowrap" style="width: 51.0pt; border: solid black 1.0pt; border-top: none; mso-border-left-alt: solid black .5pt; mso-border-bottom-alt: solid black .5pt; mso-border-right-alt: solid black .5pt; background: white; padding: 0cm 3.5pt 0cm 3.5pt; height: 28.5pt;" width="68"><span style="font-size: 11.0pt; font-family: 'Arial',sans-serif; mso-fareast-font-family: 'Times New Roman'; color: #212529; mso-font-kerning: 0pt; mso-ligatures: none; mso-fareast-language: PT-BR;">data</span>

</td><td style="width: 164.0pt; border-top: none; border-left: none; border-bottom: solid black 1.0pt; border-right: solid black 1.0pt; mso-border-bottom-alt: solid black .5pt; mso-border-right-alt: solid black .5pt; background: white; padding: 0cm 3.5pt 0cm 3.5pt; height: 28.5pt;" width="219"><span style="font-size: 11.0pt; font-family: 'Arial',sans-serif; mso-fareast-font-family: 'Times New Roman'; color: #212529; mso-font-kerning: 0pt; mso-ligatures: none; mso-fareast-language: PT-BR;">Data em que foi feita a vincução/desvinculação</span>

</td><td nowrap="nowrap" style="width: 53.0pt; border-top: none; border-left: none; border-bottom: solid black 1.0pt; border-right: solid black 1.0pt; mso-border-bottom-alt: solid black .5pt; mso-border-right-alt: solid black .5pt; background: white; padding: 0cm 3.5pt 0cm 3.5pt; height: 28.5pt;" width="71"><span style="font-size: 11.0pt; font-family: 'Arial',sans-serif; mso-fareast-font-family: 'Times New Roman'; color: #212529; mso-font-kerning: 0pt; mso-ligatures: none; mso-fareast-language: PT-BR;">String</span>

</td></tr><tr style="mso-yfti-irow: 4; height: 15.0pt;"><td nowrap="nowrap" rowspan="2" style="width: 51.0pt; border: solid black 1.0pt; border-top: none; mso-border-left-alt: solid black .5pt; mso-border-bottom-alt: solid black .5pt; mso-border-right-alt: solid black .5pt; background: white; padding: 0cm 3.5pt 0cm 3.5pt; height: 15.0pt;" width="68"><span style="font-size: 11.0pt; font-family: 'Arial',sans-serif; mso-fareast-font-family: 'Times New Roman'; color: #212529; mso-font-kerning: 0pt; mso-ligatures: none; mso-fareast-language: PT-BR;">cod</span>

</td><td style="width: 164.0pt; border: none; border-right: solid black 1.0pt; mso-border-right-alt: solid black .5pt; background: white; padding: 0cm 3.5pt 0cm 3.5pt; height: 15.0pt;" width="219"><span style="font-size: 11.0pt; font-family: 'Arial',sans-serif; mso-fareast-font-family: 'Times New Roman'; color: #212529; mso-font-kerning: 0pt; mso-ligatures: none; mso-fareast-language: PT-BR;">Código de retorno</span>

</td><td nowrap="nowrap" rowspan="2" style="width: 53.0pt; border-top: none; border-left: none; border-bottom: solid black 1.0pt; border-right: solid black 1.0pt; mso-border-left-alt: solid black .5pt; mso-border-bottom-alt: solid black .5pt; mso-border-right-alt: solid black .5pt; background: white; padding: 0cm 3.5pt 0cm 3.5pt; height: 15.0pt;" width="71"><span style="font-size: 11.0pt; font-family: 'Arial',sans-serif; mso-fareast-font-family: 'Times New Roman'; color: #212529; mso-font-kerning: 0pt; mso-ligatures: none; mso-fareast-language: PT-BR;">Numerico</span>

</td></tr><tr style="mso-yfti-irow: 5; height: 28.5pt;"><td style="width: 164.0pt; border-top: none; border-left: none; border-bottom: solid black 1.0pt; border-right: solid black 1.0pt; mso-border-bottom-alt: solid black .5pt; mso-border-right-alt: solid black .5pt; background: white; padding: 0cm 3.5pt 0cm 3.5pt; height: 28.5pt;" width="219"><span style="font-size: 11.0pt; font-family: 'Arial',sans-serif; mso-fareast-font-family: 'Times New Roman'; color: #212529; mso-font-kerning: 0pt; mso-ligatures: none; mso-fareast-language: PT-BR;">(Descrições na tabela de códigos abaixo)</span>

</td></tr><tr style="mso-yfti-irow: 6; mso-yfti-lastrow: yes; height: 28.5pt;"><td nowrap="nowrap" style="width: 51.0pt; border: solid black 1.0pt; border-top: none; mso-border-left-alt: solid black .5pt; mso-border-bottom-alt: solid black .5pt; mso-border-right-alt: solid black .5pt; background: white; padding: 0cm 3.5pt 0cm 3.5pt; height: 28.5pt;" width="68"><span style="font-size: 11.0pt; font-family: 'Arial',sans-serif; mso-fareast-font-family: 'Times New Roman'; color: #212529; mso-font-kerning: 0pt; mso-ligatures: none; mso-fareast-language: PT-BR;">message</span>

</td><td style="width: 164.0pt; border-top: none; border-left: none; border-bottom: solid black 1.0pt; border-right: solid black 1.0pt; mso-border-bottom-alt: solid black .5pt; mso-border-right-alt: solid black .5pt; background: white; padding: 0cm 3.5pt 0cm 3.5pt; height: 28.5pt;" width="219"><span style="font-size: 11.0pt; font-family: 'Arial',sans-serif; mso-fareast-font-family: 'Times New Roman'; color: #212529; mso-font-kerning: 0pt; mso-ligatures: none; mso-fareast-language: PT-BR;">Mensagem de retorno da requisição</span>

</td><td nowrap="nowrap" style="width: 53.0pt; border-top: none; border-left: none; border-bottom: solid black 1.0pt; border-right: solid black 1.0pt; mso-border-bottom-alt: solid black .5pt; mso-border-right-alt: solid black .5pt; background: white; padding: 0cm 3.5pt 0cm 3.5pt; height: 28.5pt;" width="71"><span style="font-size: 11.0pt; font-family: 'Arial',sans-serif; mso-fareast-font-family: 'Times New Roman'; color: #212529; mso-font-kerning: 0pt; mso-ligatures: none; mso-fareast-language: PT-BR;">String</span>

</td></tr></tbody></table>

**Tabela de código (campos "cód\_status" e "msg\_status" )**

<table border="0" cellpadding="0" cellspacing="0" class="MsoNormalTable" id="bkmrk-cod_status-msg_statu" style="width: 334px; border-collapse: collapse;" width="299"><tbody><tr style="mso-yfti-irow: 0; mso-yfti-firstrow: yes; height: 15.0pt;"><td nowrap="nowrap" style="width: 101.952px; border: 1pt solid black; background: white; padding: 0cm 3.5pt; height: 15pt;" width="79">**<span style="font-size: 11.0pt; font-family: 'Arial',sans-serif; mso-fareast-font-family: 'Times New Roman'; color: #212529; mso-font-kerning: 0pt; mso-ligatures: none; mso-fareast-language: PT-BR;">cod\_status</span>**

</td><td nowrap="nowrap" style="width: 214.494px; border-top: 1pt solid black; border-right: 1pt solid black; border-bottom: 1pt solid black; border-image: initial; border-left: none; background: white; padding: 0cm 3.5pt; height: 15pt;" width="220">**<span style="font-size: 11.0pt; font-family: 'Arial',sans-serif; mso-fareast-font-family: 'Times New Roman'; color: #212529; mso-font-kerning: 0pt; mso-ligatures: none; mso-fareast-language: PT-BR;">msg\_status</span>**

</td></tr><tr style="mso-yfti-irow: 1; height: 15.0pt;"><td nowrap="nowrap" style="width: 101.952px; border-right: 1pt solid black; border-bottom: 1pt solid black; border-left: 1pt solid black; border-image: initial; border-top: none; background: white; padding: 0cm 3.5pt; height: 15pt;" width="79"><span style="font-size: 11.0pt; font-family: 'Arial',sans-serif; mso-fareast-font-family: 'Times New Roman'; color: #212529; mso-font-kerning: 0pt; mso-ligatures: none; mso-fareast-language: PT-BR;">0</span>

</td><td nowrap="nowrap" style="width: 214.494px; border-top: none; border-left: none; border-bottom: 1pt solid black; border-right: 1pt solid black; background: white; padding: 0cm 3.5pt; height: 15pt;" width="220"><span style="font-size: 11.0pt; font-family: 'Arial',sans-serif; mso-fareast-font-family: 'Times New Roman'; color: #212529; mso-font-kerning: 0pt; mso-ligatures: none; mso-fareast-language: PT-BR;">Retorno com sucesso</span>

</td></tr><tr style="mso-yfti-irow: 2; height: 15.0pt;"><td nowrap="nowrap" style="width: 101.952px; border-right: 1pt solid black; border-bottom: 1pt solid black; border-left: 1pt solid black; border-image: initial; border-top: none; background: white; padding: 0cm 3.5pt; height: 15pt;" width="79"><span style="font-size: 11.0pt; font-family: 'Arial',sans-serif; mso-fareast-font-family: 'Times New Roman'; color: #212529; mso-font-kerning: 0pt; mso-ligatures: none; mso-fareast-language: PT-BR;">10</span>

</td><td nowrap="nowrap" style="width: 214.494px; border-top: none; border-left: none; border-bottom: 1pt solid black; border-right: 1pt solid black; background: white; padding: 0cm 3.5pt; height: 15pt;" width="220"><span style="font-size: 11.0pt; font-family: 'Arial',sans-serif; mso-fareast-font-family: 'Times New Roman'; color: #212529; mso-font-kerning: 0pt; mso-ligatures: none; mso-fareast-language: PT-BR;">Ocorreu uma falha na aplicação</span>

</td></tr><tr style="mso-yfti-irow: 3; mso-yfti-lastrow: yes; height: 15.0pt;"><td nowrap="nowrap" style="width: 101.952px; border-right: 1pt solid black; border-bottom: 1pt solid black; border-left: 1pt solid black; border-image: initial; border-top: none; background: white; padding: 0cm 3.5pt; height: 15pt;" width="79"><span style="font-size: 11.0pt; font-family: 'Arial',sans-serif; mso-fareast-font-family: 'Times New Roman'; color: #212529; mso-font-kerning: 0pt; mso-ligatures: none; mso-fareast-language: PT-BR;">401</span>

</td><td nowrap="nowrap" style="width: 214.494px; border-top: none; border-left: none; border-bottom: 1pt solid black; border-right: 1pt solid black; background: white; padding: 0cm 3.5pt; height: 15pt;" width="220"><span style="font-size: 11.0pt; font-family: 'Arial',sans-serif; mso-fareast-font-family: 'Times New Roman'; color: #212529; mso-font-kerning: 0pt; mso-ligatures: none; mso-fareast-language: PT-BR;">Token inválido ou expirado</span>

</td></tr></tbody></table>

# Exemplo de chamada e retorno - Opção Vincular/ Desvincular

**Chamada**

**Importante:** o que diferencia se o sistema irá vincular ou desvincular o produto são os endpoint's, indicados na guia "Acesso" do manual  
  
{  
 "itens": \[  
 {  
 "id": 0,  
 "codProdutoOriginal": "1234",  
 "origemProdutoOriginal": 0,  
 "codProdutoSemelhante": "Semelhante1",  
 "origemProdutoSemelhante": 0,  
 "descricaoSemelhante": "Semelhante1",  
 "cean": "7896411800346"   
 }  
 \]  
}

**Retorno**

{  
 "itens": \[  
 {  
 "id": 0,  
 "protocolo": 12345,  
 "data": "01/01/2024 15:41:13",  
 "cod": 0,  
 "message": "Solicitação realizada com sucesso"  
 }  
 \]  
}