IN CadastroGradeMovimento.integrador: mudanças entre as edições

De CIGAM WIKI
Sem resumo de edição
 
Linha 1: Linha 1:
{{VoltarPagina}}
{{VoltarPagina}}
[[Integrador]] >  
[[Integrador]] >  
[[IN_CIGAM Integrador|WebServices]] >
[[IN_CIGAM Integrador#Estoque|WebServices]] >
[[IN CadastroGradeMovimento.integrador]]
[[IN CadastroGradeMovimento.integrador]]


*<b>Requisição</b>
=Requisição=
**<b>Soap:</b> http://servidor/CadastroGradeMovimento.integrador.asmx
*<b>Soap:</b> http://servidor/CadastroGradeMovimento.integrador.asmx
**<b>Rest/JSon:</b> http://servidor/CadastroGradeMovimento.integrador.ashx/metodo
*<b>Rest/JSon:</b> http://servidor/CadastroGradeMovimento.integrador.ashx/metodo
***<b>Tipo de registro:</b> GRAMOV
**<b>Tipo de registro:</b> GRAMOV


== Cadastrar ==
=Métodos=
<p align=“justify”><i>
<!--bgcolor="#5F6B7A"-->
</i></p>
<center><table class="mw-collapsible mw-collapsed wikitable" width="95%">
 
    <tr>
*<b>Parâmetros:</b><br>
        <td bgcolor="#6E6E6E" align="rigth" style="padding: 8px 20px;><font color="#FFFFFF"><b>Cadastrar</b></font></td>
    </tr>
    <tr>
        <td><p align="justify" style="margin-left: 0.12in; text-indent: 0.25in; margin-bottom: 0.00in; font-weight: normal; line-height: 50%;"><b>Parâmetros:</b></p><br>
{{#tree: minExpandLevel=2 |
{{#tree: minExpandLevel=2 |
*pin
*pin
Linha 49: Linha 52:
** Data mínima para cadastro 01/01/1900.
** Data mínima para cadastro 01/01/1900.
}}
}}
<p align=“justify” style=“margin-left: 0.32in; text-indent: 0.45in; margin-bottom: 0.08in; font-weight: normal; line-height: 150%;”><br/>
<p align="justify" style="margin-left: 0.32in; text-indent: 0.45in; margin-bottom: 0.08in; font-weight: normal; line-height: 150%;"><br/>
<b>Retorno:</b><br/>
<b>Retornos:</b><br/>
&nbsp;&nbsp;&nbsp;Se sucesso:<br/>
&nbsp;&nbsp;&nbsp;Se sucesso:<br/>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;idRegistro - ID que representa este registro na tabela de integração.<br/>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;idRegistro - ID que representa este registro na tabela de integração.<br/>
Linha 59: Linha 62:
&nbsp;&nbsp;&nbsp;Se algum parâmetro inválido:<br/>
&nbsp;&nbsp;&nbsp;Se algum parâmetro inválido:<br/>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parâmetro necessário não informado.</p>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parâmetro necessário não informado.</p>
{{VoltarInicio}}
{{VoltarInicio}}</td>
 
    </tr>
== LiberarPendentes ==
</table></center>
<p align=“justify”><i>
</i></p>


*<b>Parâmetros:</b><br>
<center><table class="mw-collapsible mw-collapsed wikitable" width="95%">
    <tr>
        <td bgcolor="#6E6E6E" align="rigth" style="padding: 8px 20px;><font color="#FFFFFF"><b>LiberarPendentes</b></font></td>
    </tr>
    <tr>
        <td><p align="justify" style="margin-left: 0.12in; text-indent: 0.25in; margin-bottom: 0.00in; font-weight: normal; line-height: 50%;"><b>Parâmetros:</b></p><br>
{{#tree: minExpandLevel=2 |
{{#tree: minExpandLevel=2 |
*pin
*pin
Linha 73: Linha 79:
** Obrigatório, Tipo: Int
** Obrigatório, Tipo: Int
}}
}}
<p align=“justify” style=“margin-left: 0.32in; text-indent: 0.45in; margin-bottom: 0.08in; font-weight: normal; line-height: 150%;”><br/>
<p align="justify" style="margin-left: 0.32in; text-indent: 0.45in; margin-bottom: 0.08in; font-weight: normal; line-height: 150%;"><br/>
<b>Retorno:</b><br/>
<b>Retornos:</b><br/>
&nbsp;&nbsp;&nbsp;Se pin inválido:<br/>
&nbsp;&nbsp;&nbsp;Se pin inválido:<br/>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;O usuário não possui direitos suficientes para executar esta rotina.<br/>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;O usuário não possui direitos suficientes para executar esta rotina.<br/>
Linha 86: Linha 92:
&nbsp;&nbsp;&nbsp;Se sucesso:<br/>
&nbsp;&nbsp;&nbsp;Se sucesso:<br/>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sucesso.</p>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sucesso.</p>
{{VoltarInicio}}
{{VoltarInicio}}</td>
    </tr>
</table></center>


== ListarId ==
<center><table class="mw-collapsible mw-collapsed wikitable" width="95%">
<p align=“justify”><i>
    <tr>
</i></p>
        <td bgcolor="#6E6E6E" align="rigth" style="padding: 8px 20px;><font color="#FFFFFF"><b>ListarId</b></font></td>
 
    </tr>
*<b>Parâmetros:</b><br>
    <tr>
        <td><p align="justify" style="margin-left: 0.12in; text-indent: 0.25in; margin-bottom: 0.00in; font-weight: normal; line-height: 50%;"><b>Parâmetros:</b></p><br>
{{#tree: minExpandLevel=2 |
{{#tree: minExpandLevel=2 |
*pin
*pin
** Obrigatório, Tipo: String 20
** Obrigatório, Tipo: String 20
}}
}}
<p align=“justify” style=“margin-left: 0.32in; text-indent: 0.45in; margin-bottom: 0.08in; font-weight: normal; line-height: 150%;”><br/>
<p align="justify" style="margin-left: 0.32in; text-indent: 0.45in; margin-bottom: 0.08in; font-weight: normal; line-height: 150%;"><br/>
<b>Retorno:</b><br/>
<b>Retornos:</b><br/>
&nbsp;&nbsp;&nbsp;Se sucesso:<br/>
&nbsp;&nbsp;&nbsp;Se sucesso:<br/>
{{#tree: minExpandLevel=2 |
{{#tree: minExpandLevel=2 |
Linha 122: Linha 131:
&nbsp;&nbsp;&nbsp;Se nenhum registro encontrado:<br/>
&nbsp;&nbsp;&nbsp;Se nenhum registro encontrado:<br/>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;A consulta não retornou nenhum registro.</p>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;A consulta não retornou nenhum registro.</p>
{{VoltarInicio}}
{{VoltarInicio}}</td>
 
    </tr>
== ListarIndividual ==
</table></center>
<p align=“justify”><i>
</i></p>


*<b>Parâmetros:</b><br>
<center><table class="mw-collapsible mw-collapsed wikitable" width="95%">
    <tr>
        <td bgcolor="#6E6E6E" align="rigth" style="padding: 8px 20px;><font color="#FFFFFF"><b>ListarIndividual</b></font></td>
    </tr>
    <tr>
        <td><p align="justify" style="margin-left: 0.12in; text-indent: 0.25in; margin-bottom: 0.00in; font-weight: normal; line-height: 50%;"><b>Parâmetros:</b></p><br>
{{#tree: minExpandLevel=2 |
{{#tree: minExpandLevel=2 |
*pin
*pin
Linha 148: Linha 160:
** Tipo: String 5
** Tipo: String 5
}}
}}
<p align=“justify” style=“margin-left: 0.32in; text-indent: 0.45in; margin-bottom: 0.08in; font-weight: normal; line-height: 150%;”><br/>
<p align="justify" style="margin-left: 0.32in; text-indent: 0.45in; margin-bottom: 0.08in; font-weight: normal; line-height: 150%;"><br/>
<b>Retorno:</b><br/>
<b>Retornos:</b><br/>
&nbsp;&nbsp;&nbsp;Se sucesso:<br/>
&nbsp;&nbsp;&nbsp;Se sucesso:<br/>
{{#tree: minExpandLevel=2 |
{{#tree: minExpandLevel=2 |
Linha 251: Linha 263:
&nbsp;&nbsp;&nbsp;Se nenhum registro encontrado:<br/>
&nbsp;&nbsp;&nbsp;Se nenhum registro encontrado:<br/>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;A consulta não retornou nenhum registro.</p>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;A consulta não retornou nenhum registro.</p>
{{VoltarInicio}}
{{VoltarInicio}}</td>
 
    </tr>
== ListarModificacoes ==
</table></center>
<p align=“justify”><i>
</i></p>


*<b>Parâmetros:</b><br>
<center><table class="mw-collapsible mw-collapsed wikitable" width="95%">
    <tr>
        <td bgcolor="#6E6E6E" align="rigth" style="padding: 8px 20px;><font color="#FFFFFF"><b>ListarModificacoes</b></font></td>
    </tr>
    <tr>
        <td><p align="justify" style="margin-left: 0.12in; text-indent: 0.25in; margin-bottom: 0.00in; font-weight: normal; line-height: 50%;"><b>Parâmetros:</b></p><br>
{{#tree: minExpandLevel=2 |
{{#tree: minExpandLevel=2 |
*pin
*pin
Linha 274: Linha 289:
** Tipo: String 6
** Tipo: String 6
}}
}}
<p align=“justify” style=“margin-left: 0.32in; text-indent: 0.45in; margin-bottom: 0.08in; font-weight: normal; line-height: 150%;”><br/>
<p align="justify" style="margin-left: 0.32in; text-indent: 0.45in; margin-bottom: 0.08in; font-weight: normal; line-height: 150%;"><br/>
<b>Retorno:</b><br/>
<b>Retornos:</b><br/>
&nbsp;&nbsp;&nbsp;Se sucesso:<br/>
&nbsp;&nbsp;&nbsp;Se sucesso:<br/>
{{#tree: minExpandLevel=2 |
{{#tree: minExpandLevel=2 |
Linha 377: Linha 392:
&nbsp;&nbsp;&nbsp;Se nenhum registro encontrado:<br/>
&nbsp;&nbsp;&nbsp;Se nenhum registro encontrado:<br/>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;A consulta não retornou nenhum registro.</p>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;A consulta não retornou nenhum registro.</p>
{{VoltarInicio}}
{{VoltarInicio}}</td>
    </tr>
</table></center>


== ListarPendentes ==
<center><table class="mw-collapsible mw-collapsed wikitable" width="95%">
<p align=“justify”><i>
    <tr>
</i></p>
        <td bgcolor="#6E6E6E" align="rigth" style="padding: 8px 20px;><font color="#FFFFFF"><b>ListarPendentes</b></font></td>
 
    </tr>
*<b>Parâmetros:</b><br>
    <tr>
        <td><p align="justify" style="margin-left: 0.12in; text-indent: 0.25in; margin-bottom: 0.00in; font-weight: normal; line-height: 50%;"><b>Parâmetros:</b></p><br>
{{#tree: minExpandLevel=2 |
{{#tree: minExpandLevel=2 |
*pin
*pin
Linha 398: Linha 416:
** Se for informado algo diferente de P ou L não será aplicado nenhum filtro.
** Se for informado algo diferente de P ou L não será aplicado nenhum filtro.
}}
}}
<p align=“justify” style=“margin-left: 0.32in; text-indent: 0.45in; margin-bottom: 0.08in; font-weight: normal; line-height: 150%;”><br/>
<p align="justify" style="margin-left: 0.32in; text-indent: 0.45in; margin-bottom: 0.08in; font-weight: normal; line-height: 150%;"><br/>
<b>Retorno:</b><br/>
<b>Retornos:</b><br/>
&nbsp;&nbsp;&nbsp;Se sucesso:<br/>
&nbsp;&nbsp;&nbsp;Se sucesso:<br/>
{{#tree: minExpandLevel=2 |
{{#tree: minExpandLevel=2 |
Linha 438: Linha 456:
&nbsp;&nbsp;&nbsp;Se nenhum registro encontrado:<br/>
&nbsp;&nbsp;&nbsp;Se nenhum registro encontrado:<br/>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;A consulta não retornou nenhum registro.</p>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;A consulta não retornou nenhum registro.</p>
{{VoltarInicio}}
{{VoltarInicio}}</td>
    </tr>
</table></center>

Edição atual tal como às 17h23min de 8 de outubro de 2026

Voltar
Integrador > WebServices > IN CadastroGradeMovimento.integrador

Requisição

Métodos

Cadastrar

Parâmetros:



Retornos:
   Se sucesso:
      idRegistro - ID que representa este registro na tabela de integração.

   Se pin inválido:
      O usuário não possui direitos suficientes para executar esta rotina.

   Se algum parâmetro inválido:
      Parâmetro necessário não informado.

Voltar ao início

LiberarPendentes

Parâmetros:



Retornos:
   Se pin inválido:
      O usuário não possui direitos suficientes para executar esta rotina.

   Se erro na conexão com banco de dados:
      A conexão com o banco de dados e/ou comando SQL possui erros.

   Se ID inválido ou não encontrado:
      Falha ao liberar registro.

   Se sucesso:
      Sucesso.

Voltar ao início

ListarId

Parâmetros:



Retornos:
   Se sucesso:


   Se pin inválido:
      O usuário não possui direitos suficientes para executar esta rotina.

   Se nenhum registro encontrado:
      A consulta não retornou nenhum registro.

Voltar ao início

ListarIndividual

Parâmetros:



Retornos:
   Se sucesso:


   Se pin inválido:
      O usuário não possui direitos suficientes para executar esta rotina.

   Se nenhum registro encontrado:
      A consulta não retornou nenhum registro.

Voltar ao início

ListarModificacoes

Parâmetros:



Retornos:
   Se sucesso:


   Se pin inválido:
      O usuário não possui direitos suficientes para executar esta rotina.

   Se nenhum registro encontrado:
      A consulta não retornou nenhum registro.

Voltar ao início

ListarPendentes

Parâmetros:



Retornos:
   Se sucesso:


   Se pin inválido:
      O usuário não possui direitos suficientes para executar esta rotina.

   Se nenhum registro encontrado:
      A consulta não retornou nenhum registro.

Voltar ao início