IN CadastroLancamentos.integrador: mudanças entre as edições
Sem resumo de edição |
Sem resumo de edição |
||
| (5 revisões intermediárias por 3 usuários não estão sendo mostradas) | |||
| Linha 1: | Linha 1: | ||
{{VoltarPagina}} | {{VoltarPagina}} | ||
[[Integrador]] > | |||
[[IN_CIGAM Integrador#Financeiro|WebServices]] > | |||
[[IN CadastroLancamentos.integrador]] | |||
=Palavras-Chave= | |||
Integrador de lançamentos financeiros. Integrador Financeiro. JSON de integração do lançamento financeiro. | |||
= | =Requisição= | ||
< | *<b>Soap:</b> http://servidor/CadastroLancamentos.integrador.asmx | ||
*<b>Rest/JSon:</b> http://servidor/CadastroLancamentos.integrador.ashx/metodo | |||
**<b>Tipo de registro:</b> LANCAD</br> | |||
</ | |||
{{#tree: minExpandLevel= | =Métodos= | ||
<!--bgcolor="#5F6B7A"--> | |||
<center><table class="mw-collapsible mw-collapsed wikitable" width="95%"> | |||
<tr> | |||
<td bgcolor="#6E6E6E" align="rigth" style="padding: 8px 20px;><font color="#FFFFFF"><b>Cadastrar</b></font></td> | |||
</tr> | |||
<tr> | |||
<td><p style="margin: 0 0 6px 0; font-style: italic; line-height: 1.4;">Os dados do Lançamento deverão estar em formato XML para requisições SOAP e JSON para requisições REST.</p> | |||
<p align="justify" style="margin-left: 0.12in; text-indent: 0.25in; margin-bottom: 0.00in; font-weight: normal; line-height: 50%;"> | |||
{{#tree: minExpandLevel=2 | | |||
*<b>Parâmetros:</b> | *<b>Parâmetros:</b> | ||
**pin | **pin | ||
| Linha 45: | Linha 54: | ||
**tipo | **tipo | ||
***<i>Campo obrigatório a ser informado.</i> | ***<i>Campo obrigatório a ser informado.</i> | ||
***Tipo lançamento, não pode ser branco, deve ser informado '''R:''' Receber/'''c:''' Recebido, '''P:''' Pagar/'''d:''' Pago, '''E:''' Entrada ou '''S:''' Saída. | ***Tipo lançamento, não pode ser branco, deve ser informado | ||
***'''R:''' Receber/'''c:''' Recebido, | |||
***'''P:''' Pagar/'''d:''' Pago, | |||
***'''E:''' Entrada ou | |||
***'''S:''' Saída. | |||
***<b>Tipo:</b> String 1 | ***<b>Tipo:</b> String 1 | ||
**valor | **valor | ||
| Linha 202: | Linha 215: | ||
***<b>Tipo:</b> Date | ***<b>Tipo:</b> Date | ||
**remessaSerasa | **remessaSerasa | ||
** Tipo: Date | ***<b>Tipo:</b> Date | ||
**adiantarRetornoCobranca | **adiantarRetornoCobranca | ||
***<b>Tipo:</b> String 6 | ***<b>Tipo:</b> String 6 | ||
| Linha 271: | Linha 284: | ||
Se registro válido:</br> | Se registro válido:</br> | ||
Inserção efetuada com sucesso</br> | Inserção efetuada com sucesso</br> | ||
idRegistro: 00</ | idRegistro: 00</p> | ||
</ | {{VoltarInicio}}</td> | ||
</tr> | |||
</table></center> | |||
<center><table class="mw-collapsible mw-collapsed wikitable" width="95%"> | |||
<tr> | |||
<td bgcolor="#6E6E6E" align="rigth" style="padding: 8px 20px;><font color="#FFFFFF"><b>CadastrarValeAdiantamento</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%;"> | |||
{{#tree: minExpandLevel=2 | | {{#tree: minExpandLevel=2 | | ||
*<b>Parâmetros:</b> | *<b>Parâmetros:</b> | ||
| Linha 288: | Linha 307: | ||
**codigoEmpresa | **codigoEmpresa | ||
**codigoPortador | **codigoPortador | ||
** | **TipoPagamento | ||
**codigoUnidadeNegocio | **codigoUnidadeNegocio | ||
}} | }} | ||
| Linha 299: | Linha 318: | ||
Se registro válido:</br> | Se registro válido:</br> | ||
Inserção efetuada com sucesso</br> | Inserção efetuada com sucesso</br> | ||
idRegistro: 00</ | idRegistro: 00</p> | ||
</ | {{VoltarInicio}}</td> | ||
</tr> | |||
</table></center> | |||
== ListarId == | <center><table class="mw-collapsible mw-collapsed wikitable" width="95%"> | ||
<tr> | |||
<td bgcolor="#6E6E6E" align="rigth" style="padding: 8px 20px;><font color="#FFFFFF"><b>ListarId</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 309: | Linha 334: | ||
}} | }} | ||
<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> | <b>Retornos:</b><br/> | ||
Se sucesso:<br/> | Se sucesso:<br/> | ||
{{#tree: minExpandLevel=2 | | {{#tree: minExpandLevel=2 | | ||
| Linha 320: | Linha 345: | ||
<br/> | <br/> | ||
Se nenhum registro encontrado:<br/> | Se nenhum registro encontrado:<br/> | ||
A consulta não retornou nenhum registro.< | A consulta não retornou nenhum registro.</p> | ||
{{VoltarInicio}}</td> | |||
</tr> | |||
< | </table></center> | ||
</ | |||
<center><table class="mw-collapsible mw-collapsed wikitable" width="95%"> | |||
<tr> | |||
<td bgcolor="#6E6E6E" align="rigth" style="padding: 8px 20px;><font color="#FFFFFF"><b>ListarPendentes</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 342: | Linha 371: | ||
}} | }} | ||
<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> | <b>Retornos:</b><br/> | ||
Se sucesso:<br/> | Se sucesso:<br/> | ||
{{#tree: minExpandLevel=2 | | {{#tree: minExpandLevel=2 | | ||
| Linha 383: | Linha 412: | ||
<br/> | <br/> | ||
Se nenhum registro encontrado:<br/> | Se nenhum registro encontrado:<br/> | ||
A consulta não retornou nenhum registro.< | A consulta não retornou nenhum registro.</p> | ||
{{VoltarInicio}}</td> | |||
</tr> | |||
</table></center> | |||
== | <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 407: | Linha 440: | ||
}} | }} | ||
<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> | <b>Retornos:</b><br/> | ||
Se sucesso:<br/> | Se sucesso:<br/> | ||
{{#tree: minExpandLevel=2 | | {{#tree: minExpandLevel=2 | | ||
| Linha 696: | Linha 729: | ||
<br/> | <br/> | ||
Se nenhum registro encontrado:<br/> | Se nenhum registro encontrado:<br/> | ||
A consulta não retornou nenhum registro.< | A consulta não retornou nenhum registro.</p> | ||
{{VoltarInicio}}</td> | |||
</tr> | |||
< | </table></center> | ||
</ | |||
<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 711: | Linha 748: | ||
}} | }} | ||
<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> | <b>Retornos:</b><br/> | ||
Se sucesso:<br/> | Se sucesso:<br/> | ||
{{#tree: minExpandLevel=2 | | {{#tree: minExpandLevel=2 | | ||
| Linha 1 000: | Linha 1 037: | ||
<br/> | <br/> | ||
Se nenhum registro encontrado:<br/> | Se nenhum registro encontrado:<br/> | ||
A consulta não retornou nenhum registro.< | A consulta não retornou nenhum registro.</p> | ||
{{VoltarInicio}}</td> | |||
</tr> | |||
</table></center> | |||
<center><table class="mw-collapsible mw-collapsed wikitable" width="95%"> | |||
<tr> | |||
<td bgcolor="#6E6E6E" align="rigth" style="padding: 8px 20px;><font color="#FFFFFF"><b>ListarLancamentos</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%;"> | |||
{{#tree: minExpandLevel=2 | | {{#tree: minExpandLevel=2 | | ||
*<b>Parâmetros:</b> | *<b>Parâmetros:</b> | ||
| Linha 1 014: | Linha 1 058: | ||
**situacao | **situacao | ||
}} | }} | ||
<br> | |||
{{#tree: | {{#tree: minExpandLevel=2 | | ||
*<b> | *<b>Retornos:</b> | ||
**codigoLancamento | **codigoLancamento | ||
**data | **data | ||
| Linha 1 106: | Linha 1 150: | ||
**usrlanc3 | **usrlanc3 | ||
}} | }} | ||
{{VoltarInicio}}</td> | |||
</tr> | |||
</table></center> | |||
== ListarLancamentosVencimento == | <center><table class="mw-collapsible mw-collapsed wikitable" width="95%"> | ||
<tr> | |||
<td bgcolor="#6E6E6E" align="rigth" style="padding: 8px 20px;><font color="#FFFFFF"><b>ListarLancamentosVencimento</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%;"> | |||
{{#tree: minExpandLevel=2 | | {{#tree: minExpandLevel=2 | | ||
*<b>Parâmetros:</b> | *<b>Parâmetros:</b> | ||
| Linha 1 122: | Linha 1 173: | ||
**vencimentoFinal | **vencimentoFinal | ||
}} | }} | ||
<br> | |||
{{#tree: | {{#tree: minExpandLevel=2 | | ||
*<b> | *<b>Retornos:</b> | ||
**codigoLancamento | **codigoLancamento | ||
**data | **data | ||
| Linha 1 214: | Linha 1 265: | ||
**usrlanc3 | **usrlanc3 | ||
}} | }} | ||
{{VoltarInicio}}</td> | |||
</tr> | |||
</table></center> | |||
== | <center><table class="mw-collapsible mw-collapsed wikitable" width="95%"> | ||
< | <tr> | ||
</ | <td bgcolor="#6E6E6E" align="rigth" style="padding: 8px 20px;><font color="#FFFFFF"><b>ListarLancamentosTerceiro</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 1 228: | Linha 1 283: | ||
}} | }} | ||
<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> | <b>Retornos:</b><br/> | ||
Se sucesso:<br/> | Se sucesso:<br/> | ||
{{#tree: minExpandLevel=2 | | {{#tree: minExpandLevel=2 | | ||
| Linha 1 520: | Linha 1 575: | ||
<br/> | <br/> | ||
Se nenhum registro encontrado:<br/> | Se nenhum registro encontrado:<br/> | ||
A consulta não retornou nenhum registro.< | A consulta não retornou nenhum registro.</p> | ||
{{VoltarInicio}}</td> | |||
</tr> | |||
< | </table></center> | ||
</ | |||
<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 1 538: | Linha 1 597: | ||
}} | }} | ||
<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> | <b>Retornos:</b><br/> | ||
Se pin inválido:<br/> | Se pin inválido:<br/> | ||
O usuário não possui direitos suficientes para executar esta rotina.<br/> | O usuário não possui direitos suficientes para executar esta rotina.<br/> | ||
| Linha 1 549: | Linha 1 608: | ||
<br/> | <br/> | ||
Se sucesso:<br/> | Se sucesso:<br/> | ||
Sucesso.< | Sucesso.</p> | ||
{{VoltarInicio}}</td> | |||
</tr> | |||
< | </table></center> | ||
</ | |||
<center><table class="mw-collapsible mw-collapsed wikitable" width="95%"> | |||
<tr> | |||
<td bgcolor="#6E6E6E" align="rigth" style="padding: 8px 20px;><font color="#FFFFFF"><b>ExcluirValeAdiantamento</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 1 564: | Linha 1 627: | ||
}} | }} | ||
<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> | <b>Retornos:</b><br/> | ||
Se sucesso:<br/> | Se sucesso:<br/> | ||
idRegistro - ID que representa este registro na tabela de integração.<br/> | idRegistro - ID que representa este registro na tabela de integração.<br/> | ||
<br/> | <br/> | ||
Se pin inválido:<br/> | Se pin inválido:<br/> | ||
O usuário não possui direitos suficientes para executar esta rotina. | O usuário não possui direitos suficientes para executar esta rotina.</p> | ||
{{VoltarInicio}}</td> | |||
</tr> | |||
</table></center> | |||
</ | |||
<center><table class="mw-collapsible mw-collapsed wikitable" width="95%"> | |||
<tr> | |||
<td bgcolor="#6E6E6E" align="rigth" style="padding: 8px 20px;><font color="#FFFFFF"><b>LiquidarLancamentoNotaFiscal</b></font></td> | |||
</tr> | |||
<tr> | |||
<td><p style="margin: 0 0 6px 0; font-style: italic; line-height: 1.4;">Método que tem por finalidade liquidar títulos de Notas Fiscais no ERP CIGAM.<br><br><b>Tipo de registro:</b> <u>LIQLNF</u></p> | |||
<p align="justify" style="margin-left: 0.12in; text-indent: 0.25in; margin-bottom: 0.00in; font-weight: normal; line-height: 50%;"> | |||
{{#tree: minExpandLevel=2 | | {{#tree: minExpandLevel=2 | | ||
*<b>Parâmetros</b> | *<b>Parâmetros</b> | ||
| Linha 1 599: | Linha 1 667: | ||
**historicoLiquidacao | **historicoLiquidacao | ||
}} | }} | ||
<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"> | <b>Exemplo de Retornos:</b></br> | ||
<b>Exemplo de | |||
Se registro válido:</br> | Se registro válido:</br> | ||
Inserção efetuada com sucesso</br> | Inserção efetuada com sucesso</br> | ||
| Linha 1 611: | Linha 1 678: | ||
Se nenhum registro encontrado:</br> | Se nenhum registro encontrado:</br> | ||
A consulta não retornou nenhum registro.</p> | A consulta não retornou nenhum registro.</p> | ||
{{VoltarInicio}}</td> | |||
</tr> | |||
</table></center> | |||
=Manuais Referenciados= | |||
[[GE - Como Fazer - Integrador|Como Fazer - Integrador]] | |||
Edição atual tal como às 14h58min de 7 de outubro de 2026
Voltar
Integrador >
WebServices >
IN CadastroLancamentos.integrador
Palavras-Chave
Integrador de lançamentos financeiros. Integrador Financeiro. JSON de integração do lançamento financeiro.
Requisição
- Soap: http://servidor/CadastroLancamentos.integrador.asmx
- Rest/JSon: http://servidor/CadastroLancamentos.integrador.ashx/metodo
- Tipo de registro: LANCAD
- Tipo de registro: LANCAD
Métodos
| Cadastrar |
Os dados do Lançamento deverão estar em formato XML para requisições SOAP e JSON para requisições REST.
|
| CadastrarValeAdiantamento |
|
| ListarId |
Parâmetros:
|
| ListarPendentes |
Parâmetros:
|
| ListarModificacoes |
Parâmetros:
|
| ListarIndividual |
Parâmetros:
|
| ListarLancamentos |
|
| ListarLancamentosVencimento |
|
| ListarLancamentosTerceiro |
Parâmetros:
|
| LiberarPendentes |
Parâmetros:
|
| ExcluirValeAdiantamento |
Parâmetros:
|
| LiquidarLancamentoNotaFiscal |
Método que tem por finalidade liquidar títulos de Notas Fiscais no ERP CIGAM.
|
