Web Service de Integração SITX9

Click here for a complete list of operations.

Get_ConsultaVeiculo

Método para consultar Veículos Cadastrados

Test

The test form is not available with struct, array or byref parameter types. Please use a SOAP 1.1 or 1.2 compliant client program for testing of your web service.

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 /NOXWebService/IntegraGR.wso HTTP/1.1
Host: www.noxgr.srv.br
Content-Type: text/xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
  <soap:Body>
    <Get_ConsultaVeiculo xmlns="http://tempuri.org/">
      <Login>
        <sUserName>string</sUserName>
        <sPassWord>string</sPassWord>
        <sToken>string</sToken>
      </Login>
      <Controle>
        <iCodigoInicial>int</iCodigoInicial>
      </Controle>
    </Get_ConsultaVeiculo>
  </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:soap="http://schemas.xmlsoap.org/soap/envelope/">
  <soap:Body>
    <Get_ConsultaVeiculoResponse xmlns="http://tempuri.org/">
      <Get_ConsultaVeiculoResult>
        <iQtdVeiculos>int</iQtdVeiculos>
        <iUltCodigo>int</iUltCodigo>
        <Veiculo>
          <stVeiculos>
            <sCd_Placa>string</sCd_Placa>
            <sCd_ExclusivoCliente>string</sCd_ExclusivoCliente>
            <sCd_Renavam>string</sCd_Renavam>
            <sCd_Chassi>string</sCd_Chassi>
            <sNm_Cor>string</sNm_Cor>
            <iAa_Fabricacao>int</iAa_Fabricacao>
            <iAa_Modelo>int</iAa_Modelo>
            <sTp_Carroceria>string</sTp_Carroceria>
            <sNm_ModeloVeiculo>string</sNm_ModeloVeiculo>
            <sNM_MarcaVeiCarga>string</sNM_MarcaVeiCarga>
            <sId_VincVeiculo>string</sId_VincVeiculo>
            <sCd_MunLicenc>string</sCd_MunLicenc>
            <dDt_Aquisicao>date</dDt_Aquisicao>
            <dDt_Venda>date</dDt_Venda>
            <sId_Ativo>string</sId_Ativo>
            <sDc_Obs>string</sDc_Obs>
            <sCd_ANTT>string</sCd_ANTT>
            <dDt_ValidadeANTT>date</dDt_ValidadeANTT>
            <sNm_Tecnologia>string</sNm_Tecnologia>
            <sNm_ModRastreador>string</sNm_ModRastreador>
            <sCd_SerialRastreador>string</sCd_SerialRastreador>
          </stVeiculos>
          <stVeiculos>
            <sCd_Placa>string</sCd_Placa>
            <sCd_ExclusivoCliente>string</sCd_ExclusivoCliente>
            <sCd_Renavam>string</sCd_Renavam>
            <sCd_Chassi>string</sCd_Chassi>
            <sNm_Cor>string</sNm_Cor>
            <iAa_Fabricacao>int</iAa_Fabricacao>
            <iAa_Modelo>int</iAa_Modelo>
            <sTp_Carroceria>string</sTp_Carroceria>
            <sNm_ModeloVeiculo>string</sNm_ModeloVeiculo>
            <sNM_MarcaVeiCarga>string</sNM_MarcaVeiCarga>
            <sId_VincVeiculo>string</sId_VincVeiculo>
            <sCd_MunLicenc>string</sCd_MunLicenc>
            <dDt_Aquisicao>date</dDt_Aquisicao>
            <dDt_Venda>date</dDt_Venda>
            <sId_Ativo>string</sId_Ativo>
            <sDc_Obs>string</sDc_Obs>
            <sCd_ANTT>string</sCd_ANTT>
            <dDt_ValidadeANTT>date</dDt_ValidadeANTT>
            <sNm_Tecnologia>string</sNm_Tecnologia>
            <sNm_ModRastreador>string</sNm_ModRastreador>
            <sCd_SerialRastreador>string</sCd_SerialRastreador>
          </stVeiculos>
        </Veiculo>
        <Retorno>
          <stResult>
            <sCode>string</sCode>
            <sResult>string</sResult>
          </stResult>
          <stResult>
            <sCode>string</sCode>
            <sResult>string</sResult>
          </stResult>
        </Retorno>
      </Get_ConsultaVeiculoResult>
    </Get_ConsultaVeiculoResponse>
  </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 /NOXWebService/IntegraGR.wso HTTP/1.1
Host: www.noxgr.srv.br
Content-Type: application/soap+xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
  <soap12:Body>
    <Get_ConsultaVeiculo xmlns="http://tempuri.org/">
      <Login>
        <sUserName>string</sUserName>
        <sPassWord>string</sPassWord>
        <sToken>string</sToken>
      </Login>
      <Controle>
        <iCodigoInicial>int</iCodigoInicial>
      </Controle>
    </Get_ConsultaVeiculo>
  </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:soap12="http://www.w3.org/2003/05/soap-envelope">
  <soap12:Body>
    <Get_ConsultaVeiculoResponse xmlns="http://tempuri.org/">
      <Get_ConsultaVeiculoResult>
        <iQtdVeiculos>int</iQtdVeiculos>
        <iUltCodigo>int</iUltCodigo>
        <Veiculo>
          <stVeiculos>
            <sCd_Placa>string</sCd_Placa>
            <sCd_ExclusivoCliente>string</sCd_ExclusivoCliente>
            <sCd_Renavam>string</sCd_Renavam>
            <sCd_Chassi>string</sCd_Chassi>
            <sNm_Cor>string</sNm_Cor>
            <iAa_Fabricacao>int</iAa_Fabricacao>
            <iAa_Modelo>int</iAa_Modelo>
            <sTp_Carroceria>string</sTp_Carroceria>
            <sNm_ModeloVeiculo>string</sNm_ModeloVeiculo>
            <sNM_MarcaVeiCarga>string</sNM_MarcaVeiCarga>
            <sId_VincVeiculo>string</sId_VincVeiculo>
            <sCd_MunLicenc>string</sCd_MunLicenc>
            <dDt_Aquisicao>date</dDt_Aquisicao>
            <dDt_Venda>date</dDt_Venda>
            <sId_Ativo>string</sId_Ativo>
            <sDc_Obs>string</sDc_Obs>
            <sCd_ANTT>string</sCd_ANTT>
            <dDt_ValidadeANTT>date</dDt_ValidadeANTT>
            <sNm_Tecnologia>string</sNm_Tecnologia>
            <sNm_ModRastreador>string</sNm_ModRastreador>
            <sCd_SerialRastreador>string</sCd_SerialRastreador>
          </stVeiculos>
          <stVeiculos>
            <sCd_Placa>string</sCd_Placa>
            <sCd_ExclusivoCliente>string</sCd_ExclusivoCliente>
            <sCd_Renavam>string</sCd_Renavam>
            <sCd_Chassi>string</sCd_Chassi>
            <sNm_Cor>string</sNm_Cor>
            <iAa_Fabricacao>int</iAa_Fabricacao>
            <iAa_Modelo>int</iAa_Modelo>
            <sTp_Carroceria>string</sTp_Carroceria>
            <sNm_ModeloVeiculo>string</sNm_ModeloVeiculo>
            <sNM_MarcaVeiCarga>string</sNM_MarcaVeiCarga>
            <sId_VincVeiculo>string</sId_VincVeiculo>
            <sCd_MunLicenc>string</sCd_MunLicenc>
            <dDt_Aquisicao>date</dDt_Aquisicao>
            <dDt_Venda>date</dDt_Venda>
            <sId_Ativo>string</sId_Ativo>
            <sDc_Obs>string</sDc_Obs>
            <sCd_ANTT>string</sCd_ANTT>
            <dDt_ValidadeANTT>date</dDt_ValidadeANTT>
            <sNm_Tecnologia>string</sNm_Tecnologia>
            <sNm_ModRastreador>string</sNm_ModRastreador>
            <sCd_SerialRastreador>string</sCd_SerialRastreador>
          </stVeiculos>
        </Veiculo>
        <Retorno>
          <stResult>
            <sCode>string</sCode>
            <sResult>string</sResult>
          </stResult>
          <stResult>
            <sCode>string</sCode>
            <sResult>string</sResult>
          </stResult>
        </Retorno>
      </Get_ConsultaVeiculoResult>
    </Get_ConsultaVeiculoResponse>
  </soap12:Body>
</soap12:Envelope>

JSON

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

POST /NOXWebService/IntegraGR.wso HTTP/1.1
Host: www.noxgr.srv.br
Content-Type: application/json; charset=utf-8
Content-Length: length
{
   "Login":
   {
     "sUserName": string
     "sPassWord": string
     "sToken": string
   }
   "Controle":
   {
     "iCodigoInicial": int
   }
}

HTTP/1.1 200 OK
Content-Type: application/json; charset=utf-8
Content-Length: length

{

   "iQtdVeiculos": int
   "iUltCodigo": int
   "Veiculo":
   [
     {       
       "sCd_Placa": string
       "sCd_ExclusivoCliente": string
       "sCd_Renavam": string
       "sCd_Chassi": string
       "sNm_Cor": string
       "iAa_Fabricacao": int
       "iAa_Modelo": int
       "sTp_Carroceria": string
       "sNm_ModeloVeiculo": string
       "sNM_MarcaVeiCarga": string
       "sId_VincVeiculo": string
       "sCd_MunLicenc": string
       "dDt_Aquisicao": date
       "dDt_Venda": date
       "sId_Ativo": string
       "sDc_Obs": string
       "sCd_ANTT": string
       "dDt_ValidadeANTT": date
       "sNm_Tecnologia": string
       "sNm_ModRastreador": string
       "sCd_SerialRastreador": string
     },
     {       
       "sCd_Placa": string
       "sCd_ExclusivoCliente": string
       "sCd_Renavam": string
       "sCd_Chassi": string
       "sNm_Cor": string
       "iAa_Fabricacao": int
       "iAa_Modelo": int
       "sTp_Carroceria": string
       "sNm_ModeloVeiculo": string
       "sNM_MarcaVeiCarga": string
       "sId_VincVeiculo": string
       "sCd_MunLicenc": string
       "dDt_Aquisicao": date
       "dDt_Venda": date
       "sId_Ativo": string
       "sDc_Obs": string
       "sCd_ANTT": string
       "dDt_ValidadeANTT": date
       "sNm_Tecnologia": string
       "sNm_ModRastreador": string
       "sCd_SerialRastreador": string
     }
   ]
   "Retorno":
   [
     {       
       "sCode": string
       "sResult": string
     },
     {       
       "sCode": string
       "sResult": string
     }
   ]
}