Árvore de páginas

Versões comparadas

Chave

  • Esta linha foi adicionada.
  • Esta linha foi removida.
  • A formatação mudou.

...

Nota
titlePré-requisitos
  •  Habilitar parâmetros do Connector para recuperar forma de pagamento:

            Parâmetro = 121 | LiveConnector - Cliente (1 = SIM | 0 = NAO)

            Parâmetro Unidade de Negócio = 108 | LiveConnector - Cliente (1 = SIM | 0 = NAO)

            XML = SIM

Obs: Somente após a configuração dos parâmetros as informações alteradas/incluídas serão enviadas para integração.

As informações modificadas anteriormente e as bloqueadas para edição não serão enviadas e para integra-las devera ser feita a carga inicial com a equipe de Serviços Live.

...

Informações
titleExemplo de Chamada do Método
Bloco de código
titleChamada:
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:liv="http://LiveConnector/" xmlns:ren="http://schemas.datacontract.org/2004/07/Rentech.Framework.Data" xmlns:ren1="http://schemas.datacontract.org/2004/07/Rentech.PracticoLive.Connector.Objects">
   <soapenv:Header/>
   <soapenv:Body>
      <liv:RecuperarClienteLC_Integracao>
            <liv:identificacao>
            <ren1:Chave>47f358ce-9d0a-490f-bdc0-2aedc225e402</ren1:Chave>
            <ren1:CodigoSistemaSatelite>2200002879</ren1:CodigoSistemaSatelite>
         </liv:identificacao>
      </liv:RecuperarClienteLC_Integracao>
   </soapenv:Body>
</soapenv:Envelope>
Bloco de código
themeConfluence
titleRetorno:
linenumberstrue
<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/">
<s:Body>
<RecuperarClienteLC_IntegracaoResponse xmlns="http://LiveConnector/">
<RecuperarClienteLC_IntegracaoResult xmlns:a="http://schemas.datacontract.org/2004/07/Rentech.PracticoLive.Connector.Objects" xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
<ClassID xmlns="http://schemas.datacontract.org/2004/07/Rentech.Framework.Data">LC_TicketClienteSaida</ClassID>
<Creation xmlns="http://schemas.datacontract.org/2004/07/Rentech.Framework.Data">2020-08-07T17:55:31.9909159-03:00</Creation>
<LastUpdate xmlns="http://schemas.datacontract.org/2004/07/Rentech.Framework.Data">2020-08-07T17:55:31.9909159-03:00</LastUpdate>
<ObjectID xmlns="http://schemas.datacontract.org/2004/07/Rentech.Framework.Data">00000000-0000-0000-0000-000000000000</ObjectID>
<OwnerID xmlns="http://schemas.datacontract.org/2004/07/Rentech.Framework.Data">00000000-0000-0000-0000-000000000000</OwnerID>
<UserID xmlns="http://schemas.datacontract.org/2004/07/Rentech.Framework.Data">00000000-0000-0000-0000-000000000000</UserID>
<a:Chave>00000000-0000-0000-0000-000000000000</a:Chave>
<a:CodigoSistemaSatelite>051411123</a:CodigoSistemaSatelite>
<a:Data>07/08/2020</a:Data>
<a:Hora>17:55</a:Hora>
<a:Numero>1200805112820337</a:Numero>
<a:Documentos xmlns:b="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<b:anyType i:type="a:LC_ClienteSaida">
<ClassID xmlns="http://schemas.datacontract.org/2004/07/Rentech.Framework.Data">LC_ClienteSaida</ClassID>
<Creation xmlns="http://schemas.datacontract.org/2004/07/Rentech.Framework.Data">2020-08-07T17:55:32.0569152-03:00</Creation>
<LastUpdate xmlns="http://schemas.datacontract.org/2004/07/Rentech.Framework.Data">2020-08-07T17:55:32.0569152-03:00</LastUpdate>
<ObjectID xmlns="http://schemas.datacontract.org/2004/07/Rentech.Framework.Data">00000000-0000-0000-0000-000000000000</ObjectID>
<OwnerID xmlns="http://schemas.datacontract.org/2004/07/Rentech.Framework.Data">00000000-0000-0000-0000-000000000000</OwnerID>
<UserID xmlns="http://schemas.datacontract.org/2004/07/Rentech.Framework.Data">00000000-0000-0000-0000-000000000000</UserID>
<a:NumeroSequencia>000001</a:NumeroSequencia>
<a:Apelido>empTeste</a:Apelido>
<a:CPF_CNPJ>36932853000109</a:CPF_CNPJ>
<a:CnpjLojaCadastro i:nil="true"/>
<a:DataNascimento>0001-01-01T00:00:00</a:DataNascimento>
<a:Inativo>false</a:Inativo>
<a:Indicacao/>
<a:LGPD_AceiteCarta>false</a:LGPD_AceiteCarta>
<a:LGPD_DataAceiteCarta>0001-01-01T00:00:00</a:LGPD_DataAceiteCarta>
<a:LGPD_IDCarta/>
<a:ListaClassificacaoClienteSaida/>
<a:ListaDocumentosClienteSaida>
<b:anyType i:type="a:LC_DocumentoClienteSaida">
<ClassID xmlns="http://schemas.datacontract.org/2004/07/Rentech.Framework.Data">LC_DocumentoClienteSaida</ClassID>
<Creation xmlns="http://schemas.datacontract.org/2004/07/Rentech.Framework.Data">2020-08-07T17:55:32.105921-03:00</Creation>
<LastUpdate xmlns="http://schemas.datacontract.org/2004/07/Rentech.Framework.Data">2020-08-07T17:55:32.105921-03:00</LastUpdate>
<ObjectID xmlns="http://schemas.datacontract.org/2004/07/Rentech.Framework.Data">00000000-0000-0000-0000-000000000000</ObjectID>
<OwnerID xmlns="http://schemas.datacontract.org/2004/07/Rentech.Framework.Data">00000000-0000-0000-0000-000000000000</OwnerID>
<UserID xmlns="http://schemas.datacontract.org/2004/07/Rentech.Framework.Data">00000000-0000-0000-0000-000000000000</UserID>
<a:Identificacao>36932853000109</a:Identificacao>
<a:TipoDocumentoCliente>CNPJ</a:TipoDocumentoCliente>
</b:anyType>
</a:ListaDocumentosClienteSaida>
<a:ListaEnderecosEletronicoSaida/>
<a:ListaEnderecosSaida>
<b:anyType i:type="a:LC_EnderecoSaida">
<ClassID xmlns="http://schemas.datacontract.org/2004/07/Rentech.Framework.Data">LC_EnderecoSaida</ClassID>
<Creation xmlns="http://schemas.datacontract.org/2004/07/Rentech.Framework.Data">2020-08-07T17:55:32.1389145-03:00</Creation>
<LastUpdate xmlns="http://schemas.datacontract.org/2004/07/Rentech.Framework.Data">2020-08-07T17:55:32.1389145-03:00</LastUpdate>
<ObjectID xmlns="http://schemas.datacontract.org/2004/07/Rentech.Framework.Data">00000000-0000-0000-0000-000000000000</ObjectID>
<OwnerID xmlns="http://schemas.datacontract.org/2004/07/Rentech.Framework.Data">00000000-0000-0000-0000-000000000000</OwnerID>
<UserID xmlns="http://schemas.datacontract.org/2004/07/Rentech.Framework.Data">00000000-0000-0000-0000-000000000000</UserID>
<a:Bairro>bairro TESTE</a:Bairro>
<a:CEP>11111111</a:CEP>
<a:Cidade_NumeroMunicipioIBGE>3550308</a:Cidade_NumeroMunicipioIBGE>
<a:Complemento/>
<a:Estado>SP</a:Estado>
<a:Logradouro>rua teste</a:Logradouro>
<a:Numero>12</a:Numero>
<a:TipoEndereco>Principal</a:TipoEndereco>
</b:anyType>
</a:ListaEnderecosSaida>
<a:ListaTelefonesSaida>
<b:anyType i:type="a:LC_TelefoneSaida">
<ClassID xmlns="http://schemas.datacontract.org/2004/07/Rentech.Framework.Data">LC_TelefoneSaida</ClassID>
<Creation xmlns="http://schemas.datacontract.org/2004/07/Rentech.Framework.Data">2020-08-07T17:55:32.2819314-03:00</Creation>
<LastUpdate xmlns="http://schemas.datacontract.org/2004/07/Rentech.Framework.Data">2020-08-07T17:55:32.2819314-03:00</LastUpdate>
<ObjectID xmlns="http://schemas.datacontract.org/2004/07/Rentech.Framework.Data">00000000-0000-0000-0000-000000000000</ObjectID>
<OwnerID xmlns="http://schemas.datacontract.org/2004/07/Rentech.Framework.Data">00000000-0000-0000-0000-000000000000</OwnerID>
<UserID xmlns="http://schemas.datacontract.org/2004/07/Rentech.Framework.Data">00000000-0000-0000-0000-000000000000</UserID>
<a:Complemento/>
<a:DDD>11</a:DDD>
<a:Numero>999999999</a:Numero>
<a:TipoTelefone>Residencial</a:TipoTelefone>
</b:anyType>
</a:ListaTelefonesSaida>
<a:Nome_RazaoSocial>empresaTeste</a:Nome_RazaoSocial>
<a:Nota/>
<a:NumeroSerieLojaCadastro i:nil="true"/>
<a:Obsercacoes/>
<a:Sexo>Masculino</a:Sexo>
<a:TipoClassificacaoClienteCodigo>1</a:TipoClassificacaoClienteCodigo>
<a:TipoClassificacaoClienteDescricao>Cliente</a:TipoClassificacaoClienteDescricao>
<a:TipoCliente>Juridica</a:TipoCliente>
</b:anyType>
</a:Documentos>
</RecuperarClienteLC_IntegracaoResult>
</RecuperarClienteLC_IntegracaoResponse>
</s:Body>
</s:Envelope>
Bloco de código
themeConfluence
titleChamada Método: XML
linenumberstrue
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:liv="http://LiveConnector/">
   	<soapenv:Header/>
   	<soapenv:Body>
      		<liv:RecuperarCupomFiscalLCRecuperarClienteLC_Integracao_Xml>
         			<liv:codigoSistemaSatelite>XXXXXXXX<codigoSistemaSatelite>751501123</liv:codigoSistemaSatelite>
         <liv:xmlIdentificacao><			<liv:xmlIdentificacao>
				<![CDATA[<LC_Identificacao>
        <Chave>XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX</Chave>
        <CodigoSistemaSatelite>XXXXXXXX</CodigoSistemaSatelite>
        <Data>XXXXXXXX</Data>
		<Hora>XXXXXX</Hora>
		<Identificacao><Chave>0d5d999d-38f2-40c2-b92e-377a21e037de</Chave><CodigoSistemaSatelite>751501123</CodigoSistemaSatelite><Data>20200810</Data><Hora>100000</Hora></LC_Identificacao>]]><>
			</liv:xmlIdentificacao>
      <		</liv:RecuperarCupomFiscalLCRecuperarClienteLC_Integracao_Xml>
   	</soapenv:Body>
</soapenv:Envelope>

Bloco de código
themeConfluence
titleRetorno Método: XML
linenumberstrue
<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/">
   <s:Body>
      <RecuperarClienteLC_IntegracaoResponse<RecuperarClienteLC_Integracao_XmlResponse xmlns="http://LiveConnector/">
         <RecuperarClienteLC_IntegracaoResult xmlns:a="http://schemas.datacontract.org/2004/07/Rentech.PracticoLive.Connector.Objects" xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
            <ClassID xmlns="http://schemas.datacontract.org/2004/07/Rentech.Framework.Data">LC_TicketClienteSaida</ClassID>
            <Creation xmlns="http://schemas.datacontract.org/2004/07/Rentech.Framework.Data">2020-03-20T08:58:50.7824726-03:00</Creation>
            <LastUpdate xmlns="http://schemas.datacontract.org/2004/07/Rentech.Framework.Data">2020-03-20T08:58:50.7824726-03:00</LastUpdate>
            <ObjectID xmlns="http://schemas.datacontract.org/2004/07/Rentech.Framework.Data">00000000-0000-0000-0000-000000000000</ObjectID>
            <OwnerID xmlns="http://schemas.datacontract.org/2004/07/Rentech.Framework.Data">00000000-0000-0000-0000-000000000000</OwnerID>
            <UserID xmlns="http://schemas.datacontract.org/2004/07/Rentech.Framework.Data">00000000-0000-0000-0000-000000000000</UserID>
            <a:Chave>00000000-0000-0000-0000-000000000000</a:Chave>
            <a:CodigoSistemaSatelite>XXXXXXXXX</a:CodigoSistemaSatelite>
            <a:Data>XX/03/2020</a:Data>
            <a:Hora>08:58</a:Hora>
            <a:Numero>XXXXXXXXXXXXXXXXX</a:Numero>
            <a:Documentos xmlns:b="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
               <b:anyType i:type="a:LC_ClienteSaida">
                  <ClassID xmlns="http://schemas.datacontract.org/2004/07/Rentech.Framework.Data">LC_ClienteSaida</ClassID>
                  <Creation xmlns="http://schemas.datacontract.org/2004/07/Rentech.Framework.Data">2020-03-20T08:59:04.2514122-03:00</Creation>
                  <LastUpdate xmlns="http://schemas.datacontract.org/2004/07/Rentech.Framework.Data">2020-03-20T08:59:04.2514122-03:00</LastUpdate>
                  <ObjectID xmlns="http://schemas.datacontract.org/2004/07/Rentech.Framework.Data">00000000-0000-0000-0000-000000000000</ObjectID>
                  <OwnerID xmlns="http://schemas.datacontract.org/2004/07/Rentech.Framework.Data">00000000-0000-0000-0000-000000000000</OwnerID>
                  <UserID xmlns="http://schemas.datacontract.org/2004/07/Rentech.Framework.Data">00000000-0000-0000-0000-000000000000</UserID>
                  <a:NumeroSequencia>000001</a:NumeroSequencia>
                  <a:Apelido/>
                  <a:CPF_CNPJ>XXXXXXXXXXXXX</a:CPF_CNPJ>
                  <a:CnpjLojaCadastro>XXXXXXXXXXXXXXXX</a:CnpjLojaCadastro>
                  <a:DataNascimento>1753-01-01T00:00:00</a:DataNascimento>
                  <a:Inativo>false</a:Inativo>
                  <a:Indicacao/>
                  <a:ListaClassificacaoClienteSaida/>
                  <a:ListaDocumentosClienteSaida>
                     <b:anyType i:type="a:LC_DocumentoClienteSaida">
                        <ClassID xmlns="http://schemas.datacontract.org/2004/07/Rentech.Framework.Data">LC_DocumentoClienteSaida</ClassID>
                        <Creation xmlns="http://schemas.datacontract.org/2004/07/Rentech.Framework.Data">2020-03-20T08:59:04.4234265-03:00</Creation>
                        <LastUpdate xmlns="http://schemas.datacontract.org/2004/07/Rentech.Framework.Data">2020-03-20T08:59:04.4234265-03:00</LastUpdate>
                        <ObjectID xmlns="http://schemas.datacontract.org/2004/07/Rentech.Framework.Data">00000000-0000-0000-0000-000000000000</ObjectID>
                        <OwnerID xmlns="http://schemas.datacontract.org/2004/07/Rentech.Framework.Data">00000000-0000-0000-0000-000000000000</OwnerID>
                        <UserID xmlns="http://schemas.datacontract.org/2004/07/Rentech.Framework.Data">00000000-0000-0000-0000-000000000000</UserID>
                        <a:Identificacao>XXXXXXXXXXX</a:Identificacao>
                        <a:TipoDocumentoCliente>XXXX</a:TipoDocumentoCliente>
                     </b:anyType>
                  </a:ListaDocumentosClienteSaida>
                  <a:ListaEnderecosEletronicoSaida/>
                  <a:ListaEnderecosSaida>
                     <b:anyType i:type="a:LC_EnderecoSaida">
                        <ClassID xmlns="http://schemas.datacontract.org/2004/07/Rentech.Framework.Data">LC_EnderecoSaida</ClassID>
                        <Creation xmlns="http://schemas.datacontract.org/2004/07/Rentech.Framework.Data">2020-03-20T08:59:04.4234265-03:00</Creation>
                        <LastUpdate xmlns="http://schemas.datacontract.org/2004/07/Rentech.Framework.Data">2020-03-20T08:59:04.4234265-03:00</LastUpdate>
                        <ObjectID xmlns="http://schemas.datacontract.org/2004/07/Rentech.Framework.Data">00000000-0000-0000-0000-000000000000</ObjectID>
                        <OwnerID xmlns="http://schemas.datacontract.org/2004/07/Rentech.Framework.Data">00000000-0000-0000-0000-000000000000</OwnerID>
                        <UserID xmlns="http://schemas.datacontract.org/2004/07/Rentech.Framework.Data">00000000-0000-0000-0000-000000000000</UserID>
                        <a:Bairro>XXXXXXXXXXXXX</a:Bairro>
                        <a:CEP>XXXXXXXX</a:CEP>
                        <a:Cidade_NumeroMunicipioIBGE>XXXXXXX</a:Cidade_NumeroMunicipioIBGE>
                        <a:Complemento/>
                        <a:Estado>XX</a:Estado>
                        <a:Logradouro>AVENIDA XXXXXXXXXXXXXXXXXXXX</a:Logradouro>
                        <a:Numero>0</a:Numero>
                        <a:TipoEndereco>XXXXXXXXXX</a:TipoEndereco>
                     </b:anyType>
                  </a:ListaEnderecosSaida>
                  <a:ListaTelefonesSaida/>
                  <a:Nome_RazaoSocial>XXXXXXXXXXXXXXXX</a:Nome_RazaoSocial>
                  <a:Nota/>
                  <a:NumeroSerieLojaCadastro>XXXXXXXXX</a:NumeroSerieLojaCadastro>
                  <a:Obsercacoes/>
                  <a:Sexo>Masculino</a:Sexo>
                  <a:TipoClassificacaoClienteCodigo>1</a:TipoClassificacaoClienteCodigo>
                  <a:TipoClassificacaoClienteDescricao>Cliente</a:TipoClassificacaoClienteDescricao>
                  <a:TipoCliente>Fisica</a:TipoCliente>
                  <a:LGPD_AceiteCarta>true</a:LGPD_AceiteCarta>
				  <a:LGPD_DataAceiteCarta>31/03/2020</a:LGPD_DataAceiteCarta>
				  <a:LGPD_IDCarta>5BF58A12-6B0B-4F77-B2C8-9176C87D0569</a:LGPD_IDCarta>
               </b:anyType>
            </a:Documentos>
         </RecuperarClienteLC_IntegracaoResult>
      </RecuperarClienteLC_IntegracaoResponse>
   <RecuperarClienteLC_Integracao_XmlResult>
<![CDATA[<LC_TicketClienteSaida>
<Creation>2020-08-10T10:57:24.16526-03:00</Creation>
<LastUpdate>2020-08-10T10:57:24.16526-03:00</LastUpdate>
<Data>10/08/2020</Data>
<Hora>10:57</Hora>
<CodigoSistemaSatelite>751501123</CodigoSistemaSatelite>
<Chave>00000000-0000-0000-0000-000000000000</Chave>
<Numero>1200222199999</Numero>
<Documentos>
<LC_ClienteSaida>
<Creation>2020-08-10T10:57:24.3059048-03:00</Creation>
<LastUpdate>2020-08-10T10:57:24.3059048-03:00</LastUpdate>
<NumeroSequencia>000001</NumeroSequencia>
<TipoCliente>Juridica</TipoCliente>
<CPF_CNPJ>36900000000000</CPF_CNPJ>
<Nome_RazaoSocial>empresaTeste</Nome_RazaoSocial>
<Apelido>empTeste</Apelido>
<Indicacao />
<Nota />
<Sexo>Masculino</Sexo>
<DataNascimento>0001-01-01T00:00:00</DataNascimento>
<Obsercacoes />
<Inativo>false</Inativo>
<ListaEnderecosSaida>
<LC_EnderecoSaida>
<Creation>2020-08-10T10:57:24.680873-03:00</Creation>
<LastUpdate>2020-08-10T10:57:24.680873-03:00</LastUpdate>
<TipoEndereco>Principal</TipoEndereco>
<Logradouro>rua teste</Logradouro>
<Numero>12</Numero>
<Complemento />
<Bairro>bairro TESTE</Bairro>
<CEP>11111111</CEP>
<Estado>SP</Estado>
<Cidade_NumeroMunicipioIBGE>3550308</Cidade_NumeroMunicipioIBGE>
</LC_EnderecoSaida>
</ListaEnderecosSaida>
<ListaDocumentosClienteSaida>
<LC_DocumentoClienteSaida>
<Creation>2020-08-10T10:57:24.4933815-03:00</Creation>
<LastUpdate>2020-08-10T10:57:24.4933815-03:00</LastUpdate>
<TipoDocumentoCliente>CNPJ</TipoDocumentoCliente>
<Identificacao>36900000000000</Identificacao>
</LC_DocumentoClienteSaida>
</ListaDocumentosClienteSaida>
<ListaEnderecosEletronicoSaida />
<ListaTelefonesSaida>
<LC_TelefoneSaida>
<Creation>2020-08-10T10:57:25.1809002-03:00</Creation>
<LastUpdate>2020-08-10T10:57:25.1809002-03:00</LastUpdate>
<TipoTelefone>Residencial</TipoTelefone>
<DDD>11</DDD>
<Numero>999999999</Numero>
<Complemento />
</LC_TelefoneSaida>
</ListaTelefonesSaida>
<ListaClassificacaoClienteSaida />
<TipoClassificacaoClienteDescricao>Cliente</TipoClassificacaoClienteDescricao>
<TipoClassificacaoClienteCodigo>1</TipoClassificacaoClienteCodigo>
<LGPD_AceiteCarta>false</LGPD_AceiteCarta>
<LGPD_DataAceiteCarta>0001-01-01T00:00:00</LGPD_DataAceiteCarta>
<LGPD_IDCarta />
</LC_ClienteSaida>
</Documentos>
</LC_TicketClienteSaida>]]>
</RecuperarClienteLC_Integracao_XmlResult>
</RecuperarClienteLC_Integracao_XmlResponse>
</s:Body>
</s:Envelope>