WS_GUARDIAN


Click here for a complete list of operations.

IdentificaVeiculoPontoDeControle

[INTERFACE]
Este método é responsável por:

identificar um veículo em um ponto de controle específico sem o uso de leitor.

As descrições dos campos podem ser conferidos nos VOs: VODadosIdentificaVeiculoPontoControle, VORetornoIdentificaVeiculoPontoControle.

PRÉ REQUISITOS.

Ponto de controle informado na chamada do método ativo.

MCA em pleno funcionamento associado ao ponto de controle informado na chamada do método.

Ticket cadastrado no Guardian.

Identificador associado ao ticket ou veiculo.

Parâmetros de entrada:
- VOConfiguracaoIdentificaVeiculoPontoControle (
VOConfiguracaoIdentificaVeiculoPontoControle ) = Opcional - Configuração se necessário.
- VODadosIdentificaVeiculoPontoControle (VODadosIdentificaVeiculoPontoControle ) = Obrigatório - Dados do ponto de controle e do Ticket .
Retornos:
- VORetornoIdentificaVeiculoPontoControle (VORetornoIdentificaVeiculoPontoControle ) = Obrigatório - Parametro de OutPut com o resultado do retorno da execução do web método. Erro = 0, indicação de sucesso. Qualquer valor diferente disto indica falha na execução.

PESQUISA
A pesquisa do ticket será realizada através dos parâmetros Ticket, Placa da carreta ou Identificador. Sendo que a pesquisa será executada na seguinte ordem:
1º Código do Ticket 2º Placa da carreta 3º Identificador.

CONSULTA DE ERROS
Caso a identificação do veículo não seja realizada com sucesso será possível consultar a causa através da tela de consulta de logs de aplicativos ou pelo método:
ConsultaPedidoDeExecucao

Test

The test form is only available for requests from the local machine.

SOAP 1.1

The following is a sample SOAP 1.1 request and response. The placeholders shown need to be replaced with actual values.

POST /WS_GUARDIAN_625/WS_GUARDIAN_PLUS.asmx HTTP/1.1
Host: services.toledobrasil.com
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://toledobrasil.com.br/WS_Guardian/IdentificaVeiculoPontoDeControle"

<?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>
    <IdentificaVeiculoPontoDeControle xmlns="http://toledobrasil.com.br/WS_Guardian">
      <voConfiguracaoIdentificaoVeiculo />
      <voDadosIdentificaVeiculo>
        <CodigoPontoControle>string</CodigoPontoControle>
        <LadoOperacao>string</LadoOperacao>
      </voDadosIdentificaVeiculo>
    </IdentificaVeiculoPontoDeControle>
  </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>
    <IdentificaVeiculoPontoDeControleResponse xmlns="http://toledobrasil.com.br/WS_Guardian">
      <voRetornoIdentificaVeiculo>
        <VORetornoIdentificaVeiculoPontoControle>
          <SequencialSolicitacaoExecucao>int</SequencialSolicitacaoExecucao>
        </VORetornoIdentificaVeiculoPontoControle>
        <VORetornoIdentificaVeiculoPontoControle>
          <SequencialSolicitacaoExecucao>int</SequencialSolicitacaoExecucao>
        </VORetornoIdentificaVeiculoPontoControle>
      </voRetornoIdentificaVeiculo>
    </IdentificaVeiculoPontoDeControleResponse>
  </soap:Body>
</soap:Envelope>

SOAP 1.2

The following is a sample SOAP 1.2 request and response. The placeholders shown need to be replaced with actual values.

POST /WS_GUARDIAN_625/WS_GUARDIAN_PLUS.asmx HTTP/1.1
Host: services.toledobrasil.com
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>
    <IdentificaVeiculoPontoDeControle xmlns="http://toledobrasil.com.br/WS_Guardian">
      <voConfiguracaoIdentificaoVeiculo />
      <voDadosIdentificaVeiculo>
        <CodigoPontoControle>string</CodigoPontoControle>
        <LadoOperacao>string</LadoOperacao>
      </voDadosIdentificaVeiculo>
    </IdentificaVeiculoPontoDeControle>
  </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>
    <IdentificaVeiculoPontoDeControleResponse xmlns="http://toledobrasil.com.br/WS_Guardian">
      <voRetornoIdentificaVeiculo>
        <VORetornoIdentificaVeiculoPontoControle>
          <SequencialSolicitacaoExecucao>int</SequencialSolicitacaoExecucao>
        </VORetornoIdentificaVeiculoPontoControle>
        <VORetornoIdentificaVeiculoPontoControle>
          <SequencialSolicitacaoExecucao>int</SequencialSolicitacaoExecucao>
        </VORetornoIdentificaVeiculoPontoControle>
      </voRetornoIdentificaVeiculo>
    </IdentificaVeiculoPontoDeControleResponse>
  </soap12:Body>
</soap12:Envelope>