IN CadastroEnderecosCobrancaEmpresas.integrador: mudanças entre as edições
Criou página com '{{VoltarPagina}} Integrador > WebServices > IN CadastroEnderecosCobrancaEmpresas.integrador *<b>Requisição</b> **<b>Soap:</b> http://servid...' |
Sem resumo de edição |
||
| (11 revisões intermediárias pela mesma usuária não estão sendo mostradas) | |||
| Linha 1: | Linha 1: | ||
{{VoltarPagina}} | {{VoltarPagina}} | ||
[[Integrador]] > | [[Integrador]] > | ||
[[IN_CIGAM Integrador|WebServices]] > | [[IN_CIGAM Integrador#Genérico|WebServices]] > | ||
[[IN CadastroEnderecosCobrancaEmpresas.integrador]] | [[IN CadastroEnderecosCobrancaEmpresas.integrador]] | ||
=Requisição= | |||
*<b>Soap:</b> http://servidor/CadastroEnderecosCobrancaEmpresas.integrador.asmx | |||
*<b>Rest/JSon:</b> http://servidor/CadastroEnderecosCobrancaEmpresas.integrador.ashx/metodo | |||
**<b>Tipo de registro:</b> EMPCOB | |||
== | =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 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 | ||
*statusRegistro | |||
** Tipo: String 1 | |||
** L=Liberado, P=Pendente | |||
** Este parâmetro não é obrigatório, mas se for informado algo diferente de L ou P, | |||
** por padrão, será cadastrado como P na tabela de integração | |||
*idCorrelato | |||
** Tipo: Int | |||
** Este parâmetro não é obrigatório, é uma alternativa ao parâmetro "empresa", pois pode | |||
** estar vinculando a uma empresa que ainda não está cadastrada, e esta pendente de importação. | |||
** Sempre que o idCorrelato for menor ou igual a zero, o parâmetro “empresa” é obrigatório. | |||
*codigoEmpresa | |||
** Obrigatório, Tipo: String 6 | |||
*codigoCobranca | |||
** Tipo: String 6 | |||
*sugestao | |||
** Tipo: String 1 | |||
*ordem | |||
** Tipo: String 1 | |||
*endereco | |||
** Tipo: String 50 | |||
*municipio | |||
** Tipo: String 30 | |||
*bairro | |||
** Tipo: String 20 | |||
*cep | |||
** Tipo: Int 8 | |||
*uf | |||
** Tipo: String 2 | |||
*pais | |||
** Tipo: String 3 | |||
*complemento | |||
** Tipo: String 20 | |||
*numero | |||
** Tipo: String 6 | |||
}} | }} | ||
| Linha 23: | Linha 59: | ||
<b>Retornos:</b><br/> | <b>Retornos:</b><br/> | ||
Se sucesso:<br/> | Se sucesso:<br/> | ||
idRegistro - ID que representa este registro na tabela de integração.<br/> | |||
<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/> | ||
<br/> | <br/> | ||
Se | Se algum parâmetro inválido:<br/> | ||
| Parâmetro necessário não informado.</p> | ||
{{VoltarInicio}}</td> | |||
{{VoltarInicio}} | </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>Excluir</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 | ||
** Obrigatório, Tipo: String 20 | ** Obrigatório, Tipo: String 20 | ||
*codigoEmpresa | |||
** Obrigatório, Tipo: String 6 | |||
*codigoCobranca | |||
** Obrigatório, Tipo: String 6 | |||
}} | }} | ||
| Linha 50: | Linha 88: | ||
<b>Retornos:</b><br/> | <b>Retornos:</b><br/> | ||
Se sucesso:<br/> | Se sucesso:<br/> | ||
idRegistro - ID que representa este registro na tabela de integração.<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> | |||
{{VoltarInicio}} | |||
< | |||
< | |||
</ | |||
<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 | ||
** Obrigatório, Tipo: String 20 | ** Obrigatório, Tipo: String 20 | ||
*id | |||
** 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>Retornos:</b><br/> | <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/> | ||
<br/> | <br/> | ||
Se | Se erro na conexão com banco de dados:<br/> | ||
A | A conexão com o banco de dados e/ou comando SQL possui erros.<br/> | ||
<br/> | |||
{{VoltarInicio}} | Se ID inválido ou não encontrado:<br/> | ||
Falha ao liberar 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>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 103: | Linha 136: | ||
<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>Retornos:</b><br/> | <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 114: | Linha 141: | ||
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> | |||
{{VoltarInicio}} | </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 | ||
** Obrigatório, Tipo: String 20 | ** Obrigatório, Tipo: String 20 | ||
*codigoEmpresa | |||
** Tipo: String 6 | |||
*codigoCobranca | |||
** Tipo: String 6 | |||
}} | }} | ||
| Linha 134: | Linha 166: | ||
*codigoEmpresa | *codigoEmpresa | ||
** Tipo: String 6 | ** Tipo: String 6 | ||
*codigoCobranca | |||
** Tipo: String 6 | |||
*sugestao | |||
** Tipo: String 1 | |||
*ordem | |||
** Tipo: String 1 | |||
*endereco | |||
** Tipo: String 40 | |||
*municipio | |||
** Tipo: String 30 | |||
*bairro | |||
** Tipo: String 20 | |||
*cep | |||
** Tipo: Int 8 | |||
*uf | |||
** Tipo: String 2 | |||
*pais | |||
** Tipo: String 3 | |||
*sessao | |||
** Tipo: Int 8 | |||
*codigoUsuarioModificacao | |||
** Tipo: String 3 | |||
*codigoUsuarioCriacao | |||
** Tipo: String 3 | |||
*dataModificacao | |||
** Tipo: Date | |||
*numero | |||
** Tipo: String 6 | |||
*complemento | |||
** 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/> | ||
| Linha 141: | Linha 203: | ||
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> | |||
{{VoltarInicio}} | </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 | ||
** Obrigatório, Tipo: String 20 | ** Obrigatório, Tipo: String 20 | ||
*dataInicial | |||
** Tipo: Date | |||
*horaInicial | |||
** Tipo: Time 6 | |||
*dataFinal | |||
** Tipo: Date | |||
*horaFinal | |||
** Tipo: Time 6 | |||
}} | }} | ||
| Linha 161: | Linha 232: | ||
*codigoEmpresa | *codigoEmpresa | ||
** Tipo: String 6 | ** Tipo: String 6 | ||
*codigoCobranca | |||
** Tipo: String 6 | |||
*sugestao | |||
** Tipo: String 1 | |||
*ordem | |||
** Tipo: String 1 | |||
*endereco | |||
** Tipo: String 40 | |||
*municipio | |||
** Tipo: String 30 | |||
*bairro | |||
** Tipo: String 20 | |||
*cep | |||
** Tipo: Int 8 | |||
*uf | |||
** Tipo: String 2 | |||
*pais | |||
** Tipo: String 3 | |||
*sessao | |||
** Tipo: Int 8 | |||
*codigoUsuarioModificacao | |||
** Tipo: String 3 | |||
*codigoUsuarioCriacao | |||
** Tipo: String 3 | |||
*dataModificacao | |||
** Tipo: Date | |||
*numero | |||
** Tipo: String 6 | |||
*complemento | |||
** 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/> | ||
| Linha 168: | Linha 269: | ||
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> | |||
{{VoltarInicio}} | </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 | ||
** Obrigatório, Tipo: String 20 | ** Obrigatório, Tipo: String 20 | ||
*acao | |||
** Obrigatório, Tipo: String 1 | |||
** C=Cadastrar, E=Excluir | |||
** Se for informado algo diferente de C ou E não será aplicado nenhum filtro | |||
*statusRegistro | |||
** Obrigatório, Tipo: String 1 | |||
** L=Liberado,P=Pendente | |||
** Se for informado algo diferente de P ou L não será aplicado nenhum filtro. | |||
}} | }} | ||
| Linha 186: | Linha 296: | ||
Se sucesso:<br/> | Se sucesso:<br/> | ||
{{#tree: minExpandLevel=2 | | {{#tree: minExpandLevel=2 | | ||
*idRegistro | |||
** Tipo: Int 14 | |||
*acao | |||
** Tipo: String 1 | |||
*statusRegistro | |||
** Tipo: String 1 | |||
*dataRequisicao | |||
** Tipo: Date | |||
*horaRequisicao | |||
** Tipo: Int 8 | |||
*idCorrelato | |||
** Tipo: Int 14 | |||
*codigoEmpresa | *codigoEmpresa | ||
** Tipo: String 6 | |||
*codigoCobranca | |||
** Tipo: String 6 | ** Tipo: String 6 | ||
}} | }} | ||
| Linha 195: | Linha 319: | ||
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> | |||
{{VoltarInicio}} | </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>ListarEnderecosCobranca</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 | ||
** Obrigatório, Tipo: String 20 | ** Obrigatório, Tipo: String 20 | ||
*codigoEmpresa | |||
** Obrigatório, Tipo: String 6 | |||
}} | }} | ||
| Linha 213: | Linha 340: | ||
Se sucesso:<br/> | Se sucesso:<br/> | ||
{{#tree: minExpandLevel=2 | | {{#tree: minExpandLevel=2 | | ||
*sessao | |||
** Tipo: Int 8 | |||
*codigoEmpresa | *codigoEmpresa | ||
** Tipo: String 6 | |||
*codigoCobranca | |||
** Tipo: String 6 | |||
*sugestao | |||
** Tipo: String 1 | |||
*codigoUnidadeNegocio | |||
** Tipo: String 3 | |||
*nomeEmpresa | |||
** Tipo: String 60 | |||
*fantasia | |||
** Tipo: String 20 | |||
*endereco | |||
** Tipo: String 40 | |||
*numero | |||
** Tipo: String 6 | |||
*municipio | |||
** Tipo: String 30 | |||
*bairro | |||
** Tipo: String 20 | |||
*cep | |||
** Tipo: Int 8 | |||
*uf | |||
** Tipo: String 2 | |||
*pais | |||
** Tipo: String 3 | |||
*complemento | |||
** Tipo: String 6 | |||
*codigoUsuarioModificacao | |||
** Tipo: String 3 | |||
*codigoUsuarioCriacao | |||
** Tipo: String 3 | |||
*dataModificacao | |||
** Tipo: Date | |||
*tipoOperacaoTribEstadual | |||
** Tipo: String 6 | |||
*tipoOperacaoTribInterEstadual | |||
** Tipo: String 6 | ** Tipo: String 6 | ||
}} | }} | ||
| Linha 222: | Linha 387: | ||
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> | |||
{{VoltarInicio}} | </tr> | ||
</table></center> | |||
Edição atual tal como às 17h30min de 6 de outubro de 2026
Voltar
Integrador >
WebServices >
IN CadastroEnderecosCobrancaEmpresas.integrador
Requisição
- Soap: http://servidor/CadastroEnderecosCobrancaEmpresas.integrador.asmx
- Rest/JSon: http://servidor/CadastroEnderecosCobrancaEmpresas.integrador.ashx/metodo
- Tipo de registro: EMPCOB
Métodos
| Cadastrar |
Parâmetros:
|
| Excluir |
Parâmetros:
|
| LiberarPendentes |
Parâmetros:
|
| ListarId |
Parâmetros:
|
| ListarIndividual |
Parâmetros:
|
| ListarModificacoes |
Parâmetros:
|
| ListarPendentes |
Parâmetros:
|
| ListarEnderecosCobranca |
Parâmetros:
|
