Integracao
Clique aqui para obter uma lista completa das operações.
GravarLocalizacao
Testar
O formulário de teste está disponível somente para solicitações na máquina local.SOAP 1.1
O exemplo a seguir mostra uma solicitação e uma resposta SOAP 1.1. Os espaços reservados mostrados devem ser substituídos por valores reais.
POST /Integracao.asmx HTTP/1.1 Host: 177.23.157.36 Content-Type: text/xml; charset=utf-8 Content-Length: length SOAPAction: "http://tempuri.org/GravarLocalizacao" <?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"> <soap:Body> <GravarLocalizacao xmlns="http://tempuri.org/"> <ListaMobAcompanhamentoVisita> <MobAcompanhamentoVisita> <AcompanhamentoId>int</AcompanhamentoId> <EmpresaId>string</EmpresaId> <FuncionarioId>string</FuncionarioId> <CadastroId>string</CadastroId> <ComplCadastroId>string</ComplCadastroId> <DataHoraCheckIn>dateTime</DataHoraCheckIn> <DataHoraCheckOut>dateTime</DataHoraCheckOut> <LatitudeCheckIn>string</LatitudeCheckIn> <LongitudeCheckIn>string</LongitudeCheckIn> <LatitudeCheckOut>string</LatitudeCheckOut> <LongitudeCheckOut>string</LongitudeCheckOut> <EstabelecimentoComercial>string</EstabelecimentoComercial> </MobAcompanhamentoVisita> <MobAcompanhamentoVisita> <AcompanhamentoId>int</AcompanhamentoId> <EmpresaId>string</EmpresaId> <FuncionarioId>string</FuncionarioId> <CadastroId>string</CadastroId> <ComplCadastroId>string</ComplCadastroId> <DataHoraCheckIn>dateTime</DataHoraCheckIn> <DataHoraCheckOut>dateTime</DataHoraCheckOut> <LatitudeCheckIn>string</LatitudeCheckIn> <LongitudeCheckIn>string</LongitudeCheckIn> <LatitudeCheckOut>string</LatitudeCheckOut> <LongitudeCheckOut>string</LongitudeCheckOut> <EstabelecimentoComercial>string</EstabelecimentoComercial> </MobAcompanhamentoVisita> </ListaMobAcompanhamentoVisita> <listaRetorno> <RetornoIntegracao> <enviado>boolean</enviado> <Inconsistencias> <anyType /> <anyType /> </Inconsistencias> <ID /> <eClasse>Cliente or Agenda or Frequencia or Pedido or Contato or Mensagem or HabilitaCampos or MobAcompanhamentoVisita or BensOs or OsCapaOs or OsImagensOs</eClasse> </RetornoIntegracao> <RetornoIntegracao> <enviado>boolean</enviado> <Inconsistencias> <anyType /> <anyType /> </Inconsistencias> <ID /> <eClasse>Cliente or Agenda or Frequencia or Pedido or Contato or Mensagem or HabilitaCampos or MobAcompanhamentoVisita or BensOs or OsCapaOs or OsImagensOs</eClasse> </RetornoIntegracao> </listaRetorno> </GravarLocalizacao> </soap:Body> </soap:Envelope>
HTTP/1.1 200 OK Content-Type: text/xml; charset=utf-8 Content-Length: length <?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"> <soap:Body> <GravarLocalizacaoResponse xmlns="http://tempuri.org/"> <GravarLocalizacaoResult> <RetornoIntegracao> <enviado>boolean</enviado> <Inconsistencias> <anyType /> <anyType /> </Inconsistencias> <ID /> <eClasse>Cliente or Agenda or Frequencia or Pedido or Contato or Mensagem or HabilitaCampos or MobAcompanhamentoVisita or BensOs or OsCapaOs or OsImagensOs</eClasse> </RetornoIntegracao> <RetornoIntegracao> <enviado>boolean</enviado> <Inconsistencias> <anyType /> <anyType /> </Inconsistencias> <ID /> <eClasse>Cliente or Agenda or Frequencia or Pedido or Contato or Mensagem or HabilitaCampos or MobAcompanhamentoVisita or BensOs or OsCapaOs or OsImagensOs</eClasse> </RetornoIntegracao> </GravarLocalizacaoResult> <listaRetorno> <RetornoIntegracao> <enviado>boolean</enviado> <Inconsistencias> <anyType /> <anyType /> </Inconsistencias> <ID /> <eClasse>Cliente or Agenda or Frequencia or Pedido or Contato or Mensagem or HabilitaCampos or MobAcompanhamentoVisita or BensOs or OsCapaOs or OsImagensOs</eClasse> </RetornoIntegracao> <RetornoIntegracao> <enviado>boolean</enviado> <Inconsistencias> <anyType /> <anyType /> </Inconsistencias> <ID /> <eClasse>Cliente or Agenda or Frequencia or Pedido or Contato or Mensagem or HabilitaCampos or MobAcompanhamentoVisita or BensOs or OsCapaOs or OsImagensOs</eClasse> </RetornoIntegracao> </listaRetorno> </GravarLocalizacaoResponse> </soap:Body> </soap:Envelope>
SOAP 1.2
O exemplo a seguir mostra uma solicitação e uma resposta SOAP 1.2. Os espaços reservados mostrados devem ser substituídos por valores reais.
POST /Integracao.asmx HTTP/1.1 Host: 177.23.157.36 Content-Type: application/soap+xml; charset=utf-8 Content-Length: length <?xml version="1.0" encoding="utf-8"?> <soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope"> <soap12:Body> <GravarLocalizacao xmlns="http://tempuri.org/"> <ListaMobAcompanhamentoVisita> <MobAcompanhamentoVisita> <AcompanhamentoId>int</AcompanhamentoId> <EmpresaId>string</EmpresaId> <FuncionarioId>string</FuncionarioId> <CadastroId>string</CadastroId> <ComplCadastroId>string</ComplCadastroId> <DataHoraCheckIn>dateTime</DataHoraCheckIn> <DataHoraCheckOut>dateTime</DataHoraCheckOut> <LatitudeCheckIn>string</LatitudeCheckIn> <LongitudeCheckIn>string</LongitudeCheckIn> <LatitudeCheckOut>string</LatitudeCheckOut> <LongitudeCheckOut>string</LongitudeCheckOut> <EstabelecimentoComercial>string</EstabelecimentoComercial> </MobAcompanhamentoVisita> <MobAcompanhamentoVisita> <AcompanhamentoId>int</AcompanhamentoId> <EmpresaId>string</EmpresaId> <FuncionarioId>string</FuncionarioId> <CadastroId>string</CadastroId> <ComplCadastroId>string</ComplCadastroId> <DataHoraCheckIn>dateTime</DataHoraCheckIn> <DataHoraCheckOut>dateTime</DataHoraCheckOut> <LatitudeCheckIn>string</LatitudeCheckIn> <LongitudeCheckIn>string</LongitudeCheckIn> <LatitudeCheckOut>string</LatitudeCheckOut> <LongitudeCheckOut>string</LongitudeCheckOut> <EstabelecimentoComercial>string</EstabelecimentoComercial> </MobAcompanhamentoVisita> </ListaMobAcompanhamentoVisita> <listaRetorno> <RetornoIntegracao> <enviado>boolean</enviado> <Inconsistencias> <anyType /> <anyType /> </Inconsistencias> <ID /> <eClasse>Cliente or Agenda or Frequencia or Pedido or Contato or Mensagem or HabilitaCampos or MobAcompanhamentoVisita or BensOs or OsCapaOs or OsImagensOs</eClasse> </RetornoIntegracao> <RetornoIntegracao> <enviado>boolean</enviado> <Inconsistencias> <anyType /> <anyType /> </Inconsistencias> <ID /> <eClasse>Cliente or Agenda or Frequencia or Pedido or Contato or Mensagem or HabilitaCampos or MobAcompanhamentoVisita or BensOs or OsCapaOs or OsImagensOs</eClasse> </RetornoIntegracao> </listaRetorno> </GravarLocalizacao> </soap12:Body> </soap12:Envelope>
HTTP/1.1 200 OK Content-Type: application/soap+xml; charset=utf-8 Content-Length: length <?xml version="1.0" encoding="utf-8"?> <soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope"> <soap12:Body> <GravarLocalizacaoResponse xmlns="http://tempuri.org/"> <GravarLocalizacaoResult> <RetornoIntegracao> <enviado>boolean</enviado> <Inconsistencias> <anyType /> <anyType /> </Inconsistencias> <ID /> <eClasse>Cliente or Agenda or Frequencia or Pedido or Contato or Mensagem or HabilitaCampos or MobAcompanhamentoVisita or BensOs or OsCapaOs or OsImagensOs</eClasse> </RetornoIntegracao> <RetornoIntegracao> <enviado>boolean</enviado> <Inconsistencias> <anyType /> <anyType /> </Inconsistencias> <ID /> <eClasse>Cliente or Agenda or Frequencia or Pedido or Contato or Mensagem or HabilitaCampos or MobAcompanhamentoVisita or BensOs or OsCapaOs or OsImagensOs</eClasse> </RetornoIntegracao> </GravarLocalizacaoResult> <listaRetorno> <RetornoIntegracao> <enviado>boolean</enviado> <Inconsistencias> <anyType /> <anyType /> </Inconsistencias> <ID /> <eClasse>Cliente or Agenda or Frequencia or Pedido or Contato or Mensagem or HabilitaCampos or MobAcompanhamentoVisita or BensOs or OsCapaOs or OsImagensOs</eClasse> </RetornoIntegracao> <RetornoIntegracao> <enviado>boolean</enviado> <Inconsistencias> <anyType /> <anyType /> </Inconsistencias> <ID /> <eClasse>Cliente or Agenda or Frequencia or Pedido or Contato or Mensagem or HabilitaCampos or MobAcompanhamentoVisita or BensOs or OsCapaOs or OsImagensOs</eClasse> </RetornoIntegracao> </listaRetorno> </GravarLocalizacaoResponse> </soap12:Body> </soap12:Envelope>