IN CadastroEmpresas.integrador: mudanças entre as edições
Sem resumo de edição |
Sem resumo de edição |
||
| (4 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 CadastroEmpresas.integrador]] | [[IN CadastroEmpresas.integrador]] | ||
| Linha 16: | Linha 16: | ||
</tr> | </tr> | ||
<tr> | <tr> | ||
<td><p style="margin: 0 0 6px 0; font-style: italic; line-height: 1.4;">Método que tem por finalidade cadastrar a base de Empresa/Pessoas conforme os parâmetros e tipos indicados abaixo:</p | <td><p style="margin: 0 0 6px 0; font-style: italic; line-height: 1.4;">Método que tem por finalidade cadastrar a base de Empresa/Pessoas conforme os parâmetros e tipos indicados abaixo:</p> | ||
<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> | <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 | | ||
| Linha 383: | Linha 383: | ||
</tr> | </tr> | ||
<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> | <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 | | ||
| Linha 408: | Linha 408: | ||
</tr> | </tr> | ||
<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> | <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 | | ||
| Linha 736: | Linha 736: | ||
</tr> | </tr> | ||
<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> | <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 | | ||
| Linha 802: | Linha 802: | ||
</tr> | </tr> | ||
<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> | <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 | | ||
| Linha 831: | Linha 831: | ||
</tr> | </tr> | ||
<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> | <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 | | ||
| Linha 1 162: | Linha 1 162: | ||
</tr> | </tr> | ||
<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> | <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 540: | Linha 1 540: | ||
</tr> | </tr> | ||
<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> | <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 635: | Linha 1 635: | ||
***** Tipo: String 30 | ***** Tipo: String 30 | ||
****numero | ****numero | ||
***** | |||
****complemento | ****complemento | ||
***** | |||
****uf | ****uf | ||
***** Tipo: String 2 | ***** Tipo: String 2 | ||
| Linha 1 691: | Linha 1 693: | ||
*****descricao | *****descricao | ||
****usuarioModificacao | ****usuarioModificacao | ||
***** . | |||
****enviarCarta | ****enviarCarta | ||
****tabelaDePreco | ****tabelaDePreco | ||
| Linha 1 734: | Linha 1 737: | ||
***** Tipo: Date | ***** Tipo: Date | ||
****regiaoEntrega | ****regiaoEntrega | ||
**** Tipo: String 3 | ***** Tipo: String 3 | ||
****setor | ****setor | ||
*****codigo | *****codigo | ||
| Linha 1 766: | Linha 1 769: | ||
***** Tipo: String 3 | ***** Tipo: String 3 | ||
****nivelDeCredito | ****nivelDeCredito | ||
**** Tipo: String 3 | ***** Tipo: String 3 | ||
****creditoLiberado | ****creditoLiberado | ||
***** Tipo: Bool | ***** Tipo: Bool | ||
| Linha 1 782: | Linha 1 785: | ||
*****rg | *****rg | ||
*****orgaoExpedidor | *****orgaoExpedidor | ||
*****ativo | |||
****email | ****email | ||
****recebeEmailNfe | ****recebeEmailNfe | ||
| Linha 1 802: | Linha 1 806: | ||
****cpfProdutorRural | ****cpfProdutorRural | ||
****tipoAssinanteNfcom | ****tipoAssinanteNfcom | ||
***** | ***** 0 (Nenhum), 1 (Comercial), 2 (Industrial), 3 (Residencia/Pessoa Física), 4 (Produtor Rural), | ||
***** 5 (Órgão de Adm pública), 6 (Prestador), 7 (Missões diplomáticas), 8 (Igrejas) ou 99 (Outros) | ***** 5 (Órgão de Adm pública), 6 (Prestador), 7 (Missões diplomáticas), 8 (Igrejas) ou 99 (Outros) | ||
****municipioPrestacao | ****municipioPrestacao | ||
***** | ***** P (Prestador) ou T (Tomador) | ||
****tipoEnteGovernamental | ****tipoEnteGovernamental | ||
***** | ***** 0 (Nenhum), 1 (União), 2 (Estado), 3 (Distrito Federal) ou 4 (Município) | ||
}} | }} | ||
<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 1 824: | Linha 1 828: | ||
</tr> | </tr> | ||
<tr> | <tr> | ||
<td><p style="margin: 0 0 6px 0; font-style: italic; line-height: 1.4;">Método que tem por finalidade cadastrar Empresa/Pessoas e contatos de empresas. Os dados da Empresa/Pessoas deverão estar em formato XML para requisições SOAP e JSON para requisições REST. Ambos com estrutura específica conforme descrito a seguir.</i><br>'''Ao passar um código de uma empresa já cadastrada é possível alterar seus dados.'''</p | <td><p style="margin: 0 0 6px 0; font-style: italic; line-height: 1.4;">Método que tem por finalidade cadastrar Empresa/Pessoas e contatos de empresas. Os dados da Empresa/Pessoas deverão estar em formato XML para requisições SOAP e JSON para requisições REST. Ambos com estrutura específica conforme descrito a seguir.</i><br>'''Obs.: Ao passar um código de uma empresa já cadastrada é possível alterar seus dados.'''</p> | ||
<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> | <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 | | ||
| Linha 1 846: | Linha 1 850: | ||
}} | }} | ||
<br><p align="justify" style="margin-left: 0.12in; text-indent: 0.25in; margin-bottom: 0.00in; font-weight: normal; line-height: 50%;"><b>Distribuição das Tags XML:</b></p> | <br><p align="justify" style="margin-left: 0.12in; text-indent: 0.25in; margin-bottom: 0.00in; font-weight: normal; line-height: 50%;"><b>Distribuição das Tags XML:</b></p><br> | ||
{{#tree: | | {{#tree: | | ||
*<cadastroEmpresa> | *<cadastroEmpresa> | ||
| Linha 1 983: | Linha 1 987: | ||
***** <superior> | ***** <superior> | ||
***** <sexo> | ***** <sexo> | ||
****** Passar F (Feminino), M (Masculino) ou O (Outros) | |||
***** <tratamento> | ***** <tratamento> | ||
***** <sessao> | ***** <sessao> | ||
| Linha 2 025: | Linha 2 030: | ||
***** <orgaoExpedidor> | ***** <orgaoExpedidor> | ||
***** <dataExpedicao> | ***** <dataExpedicao> | ||
***** <ativo> | |||
****** Passar S (Sim) ou N (Não) | |||
***** </contatoEmpresa> | ***** </contatoEmpresa> | ||
**** <obsEmpresa> | **** <obsEmpresa> | ||
| Linha 2 073: | Linha 2 080: | ||
}} | }} | ||
<br><p align="justify" style="margin-left: 0.12in; text-indent: 0.25in; margin-bottom: 0.00in; font-weight: normal; line-height: 50%;"><b>Distribuição das Tags Json:</b></p> | <br><p align="justify" style="margin-left: 0.12in; text-indent: 0.25in; margin-bottom: 0.00in; font-weight: normal; line-height: 50%;"><b>Distribuição das Tags Json:</b></p><br> | ||
{{#tree: | {{#tree: | ||
*{ | *{ | ||
| Linha 2 210: | Linha 2 217: | ||
****** "superior": "", | ****** "superior": "", | ||
****** "sexo": "", | ****** "sexo": "", | ||
******* Passar F (Feminino), M (Masculino) ou O (Outros) | |||
****** "tratamento": "", | ****** "tratamento": "", | ||
****** "sessao": "", | ****** "sessao": "", | ||
| Linha 2 252: | Linha 2 260: | ||
****** "orgaoExpedidor": "", | ****** "orgaoExpedidor": "", | ||
****** "dataExpedicao": "", | ****** "dataExpedicao": "", | ||
****** "ativo": "", | |||
******* Passar S (Sim) ou N (Não) | |||
***** } | ***** } | ||
**** ] | **** ] | ||
| Linha 2 320: | Linha 2 330: | ||
</tr> | </tr> | ||
<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> | <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 | | ||
| Linha 2 383: | Linha 2 393: | ||
</tr> | </tr> | ||
<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> | <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 | | ||
| Linha 2 418: | Linha 2 428: | ||
</tr> | </tr> | ||
<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> | <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 2 451: | Linha 2 461: | ||
</tr> | </tr> | ||
<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> | <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 2 787: | Linha 2 797: | ||
</tr> | </tr> | ||
<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> | <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 2 821: | Linha 2 831: | ||
</table></center> | </table></center> | ||
<center><table class="mw-collapsible mw-collapsed wikitable" width="95%"> | <!--<center><table class="mw-collapsible mw-collapsed wikitable" width="95%"> | ||
<tr> | <tr> | ||
<td bgcolor="#6E6E6E" align="rigth" style="padding: 8px 20px;><font color="#FFFFFF"><b>ListarTransportadoras</b></font></td> | <td bgcolor="#6E6E6E" align="rigth" style="padding: 8px 20px;><font color="#FFFFFF"><b>ListarTransportadoras</b></font></td> | ||
| Linha 2 831: | Linha 2 841: | ||
{{VoltarInicio}}</td> | {{VoltarInicio}}</td> | ||
</tr> | </tr> | ||
</table></center> | </table></center>--> | ||
Edição atual tal como às 17h30min de 6 de outubro de 2026
Voltar
Integrador >
WebServices >
IN CadastroEmpresas.integrador
Requisição
- Soap: http://servidor/CadastroEmpresas.integrador.asmx
- Rest/JSon: http://servidor/CadastroEmpresas.integrador.ashx/metodo
- Tipo de registro: EMPCAD
Métodos
| Cadastrar |
Método que tem por finalidade cadastrar a base de Empresa/Pessoas conforme os parâmetros e tipos indicados abaixo: Parâmetros:
|
| Excluir |
Parâmetros:
|
| ListarIndividual |
Parâmetros:
|
| ListarPorCnpjCpf |
Parâmetros:
|
| ListarId |
Parâmetros:
|
| ListarModificacoes |
Parâmetros:
|
| ListarEmpresas |
Parâmetros:
|
| ListarEmpresasCompleto |
Parâmetros:
|
| CadastrarEmpresas |
Método que tem por finalidade cadastrar Empresa/Pessoas e contatos de empresas. Os dados da Empresa/Pessoas deverão estar em formato XML para requisições SOAP e JSON para requisições REST. Ambos com estrutura específica conforme descrito a seguir. Parâmetros: Distribuição das Tags XML: Distribuição das Tags Json:
|
| ListarPendentes |
Parâmetros:
|
| LiberarPendentes |
Parâmetros:
|
| ListarEmpresasPorCentralizadora |
Parâmetros:
|
| ListarEmpresasPorRepresentante |
Parâmetros:
|
| ListarRepresentantesPorEmpresa |
Parâmetros:
|
