WSGEOPE
Clique aqui para obter uma lista completa das operações.
OpenSM_Apolo
Solicitação de Monitoramento Apolo
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 /WSGeope/ImpExpGEOPE.asmx HTTP/1.1 Host: webservice.monytor.com.br Content-Type: text/xml; charset=utf-8 Content-Length: length SOAPAction: "http://webservices.monytor.com.br/WSGeope/OpenSM_Apolo" <?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> <OpenSM_Apolo xmlns="http://webservices.monytor.com.br/WSGeope/"> <Empresa>string</Empresa> <Usuario>int</Usuario> <Senha>string</Senha> <Veiculo>string</Veiculo> <Carreta>string</Carreta> <Motorista>string</Motorista> <dataInicio>string</dataInicio> <dataTermino>string</dataTermino> <ufOrigem>string</ufOrigem> <cidadeOrigem>string</cidadeOrigem> <logradouroOrigem>string</logradouroOrigem> <numeroOrigem>int</numeroOrigem> <complementoOrigem>string</complementoOrigem> <bairroOrigem>string</bairroOrigem> <cepOrigem>string</cepOrigem> <ufDestino>string</ufDestino> <cidadeDestino>string</cidadeDestino> <logradouroDestino>string</logradouroDestino> <numeroDestino>int</numeroDestino> <complementoDestino>string</complementoDestino> <bairroDestino>string</bairroDestino> <cepDestino>string</cepDestino> <valorCarga>string</valorCarga> <observacao>string</observacao> <embarcador>long</embarcador> <Produto>string</Produto> <TipoViagem>int</TipoViagem> <CodOrigemRota>long</CodOrigemRota> <CodDestinoRota>long</CodDestinoRota> </OpenSM_Apolo> </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> <OpenSM_ApoloResponse xmlns="http://webservices.monytor.com.br/WSGeope/"> <OpenSM_ApoloResult>long</OpenSM_ApoloResult> </OpenSM_ApoloResponse> </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 /WSGeope/ImpExpGEOPE.asmx HTTP/1.1 Host: webservice.monytor.com.br 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> <OpenSM_Apolo xmlns="http://webservices.monytor.com.br/WSGeope/"> <Empresa>string</Empresa> <Usuario>int</Usuario> <Senha>string</Senha> <Veiculo>string</Veiculo> <Carreta>string</Carreta> <Motorista>string</Motorista> <dataInicio>string</dataInicio> <dataTermino>string</dataTermino> <ufOrigem>string</ufOrigem> <cidadeOrigem>string</cidadeOrigem> <logradouroOrigem>string</logradouroOrigem> <numeroOrigem>int</numeroOrigem> <complementoOrigem>string</complementoOrigem> <bairroOrigem>string</bairroOrigem> <cepOrigem>string</cepOrigem> <ufDestino>string</ufDestino> <cidadeDestino>string</cidadeDestino> <logradouroDestino>string</logradouroDestino> <numeroDestino>int</numeroDestino> <complementoDestino>string</complementoDestino> <bairroDestino>string</bairroDestino> <cepDestino>string</cepDestino> <valorCarga>string</valorCarga> <observacao>string</observacao> <embarcador>long</embarcador> <Produto>string</Produto> <TipoViagem>int</TipoViagem> <CodOrigemRota>long</CodOrigemRota> <CodDestinoRota>long</CodDestinoRota> </OpenSM_Apolo> </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> <OpenSM_ApoloResponse xmlns="http://webservices.monytor.com.br/WSGeope/"> <OpenSM_ApoloResult>long</OpenSM_ApoloResult> </OpenSM_ApoloResponse> </soap12:Body> </soap12:Envelope>