IN CadastroEmpresas.integrador: mudanças entre as edições
Sem resumo de edição |
Sem resumo de edição |
||
| (5 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 354: | Linha 354: | ||
*tipoAssinanteNfcom | *tipoAssinanteNfcom | ||
** Tipo: Int 5 | ** Tipo: Int 5 | ||
** Passar 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) | |||
*municipioPrestacao | *municipioPrestacao | ||
** Passar P (Prestador) ou T (Tomador) | ** Passar P (Prestador) ou T (Tomador) | ||
*tipoEnteGovernamental | |||
** Passar 0 (Nenhum), 1 (União), 2 (Estado), 3 (Distrito Federal) ou 4 (Município) | |||
}} | }} | ||
| Linha 378: | 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 403: | 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 731: | 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 797: | 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 826: | 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 157: | 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 535: | 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 630: | Linha 1 635: | ||
***** Tipo: String 30 | ***** Tipo: String 30 | ||
****numero | ****numero | ||
***** | |||
****complemento | ****complemento | ||
***** | |||
****uf | ****uf | ||
***** Tipo: String 2 | ***** Tipo: String 2 | ||
| Linha 1 686: | Linha 1 693: | ||
*****descricao | *****descricao | ||
****usuarioModificacao | ****usuarioModificacao | ||
***** . | |||
****enviarCarta | ****enviarCarta | ||
****tabelaDePreco | ****tabelaDePreco | ||
| Linha 1 729: | Linha 1 737: | ||
***** Tipo: Date | ***** Tipo: Date | ||
****regiaoEntrega | ****regiaoEntrega | ||
**** Tipo: String 3 | ***** Tipo: String 3 | ||
****setor | ****setor | ||
*****codigo | *****codigo | ||
| Linha 1 761: | 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 777: | Linha 1 785: | ||
*****rg | *****rg | ||
*****orgaoExpedidor | *****orgaoExpedidor | ||
*****ativo | |||
****email | ****email | ||
****recebeEmailNfe | ****recebeEmailNfe | ||
| Linha 1 797: | 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) | |||
****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 815: | 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 837: | 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 974: | Linha 1 987: | ||
***** <superior> | ***** <superior> | ||
***** <sexo> | ***** <sexo> | ||
****** Passar F (Feminino), M (Masculino) ou O (Outros) | |||
***** <tratamento> | ***** <tratamento> | ||
***** <sessao> | ***** <sessao> | ||
| Linha 2 016: | Linha 2 030: | ||
***** <orgaoExpedidor> | ***** <orgaoExpedidor> | ||
***** <dataExpedicao> | ***** <dataExpedicao> | ||
***** <ativo> | |||
****** Passar S (Sim) ou N (Não) | |||
***** </contatoEmpresa> | ***** </contatoEmpresa> | ||
**** <obsEmpresa> | **** <obsEmpresa> | ||
| Linha 2 053: | Linha 2 069: | ||
**** <orgaoPublico> | **** <orgaoPublico> | ||
**** <tipoAssinanteNfcom> | **** <tipoAssinanteNfcom> | ||
***** Passar 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) | |||
**** <municipioPrestacao> | **** <municipioPrestacao> | ||
***** Passar P (Prestador) ou T (Tomador) | ***** Passar P (Prestador) ou T (Tomador) | ||
**** <tipoEnteGovernamental> | |||
***** Passar 0 (Nenhum), 1 (União), 2 (Estado), 3 (Distrito Federal) ou 4 (Município) | |||
*** </empresa> | *** </empresa> | ||
** </empresas> | ** </empresas> | ||
| Linha 2 060: | 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 197: | Linha 2 217: | ||
****** "superior": "", | ****** "superior": "", | ||
****** "sexo": "", | ****** "sexo": "", | ||
******* Passar F (Feminino), M (Masculino) ou O (Outros) | |||
****** "tratamento": "", | ****** "tratamento": "", | ||
****** "sessao": "", | ****** "sessao": "", | ||
| Linha 2 239: | Linha 2 260: | ||
****** "orgaoExpedidor": "", | ****** "orgaoExpedidor": "", | ||
****** "dataExpedicao": "", | ****** "dataExpedicao": "", | ||
****** "ativo": "", | |||
******* Passar S (Sim) ou N (Não) | |||
***** } | ***** } | ||
**** ] | **** ] | ||
| Linha 2 278: | Linha 2 301: | ||
**** "orgaoPublico": "", | **** "orgaoPublico": "", | ||
**** "tipoAssinanteNfcom": "", | **** "tipoAssinanteNfcom": "", | ||
**** "municipioPrestacao": "" | ***** Passar 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) | |||
**** "municipioPrestacao": "", | |||
***** Passar P (Prestador) ou T (Tomador) | ***** Passar P (Prestador) ou T (Tomador) | ||
**** "tipoEnteGovernamental": "" | |||
***** Passar 0 (Nenhum), 1 (União), 2 (Estado), 3 (Distrito Federal) ou 4 (Município) | |||
*** } | *** } | ||
** ] | ** ] | ||
| Linha 2 303: | 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 366: | 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 401: | 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 434: | 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 770: | 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 804: | 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 814: | 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:
|
