SRIReGarWSv1


Click here for a complete list of operations.

alterarUltimoTransporte

MĂ©todo para atualizar a data do Ășltimo transporte de uma guia com destino final fora da RAA.

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 /egar/wsv1.asmx HTTP/1.1
Host: devsrir.azores.gov.pt
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "https://srir.azores.gov.pt/egar/wsv1/alterarUltimoTransporte"

<?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>
    <alterarUltimoTransporte xmlns="https://srir.azores.gov.pt/egar/wsv1">
      <auti>
        <idGuia>
          <numeroGuia>string</numeroGuia>
          <codigoVerificacao>string</codigoVerificacao>
        </idGuia>
        <tokenEntidade>string</tokenEntidade>
        <dataHoraUltimoTransporte>dateTime</dataHoraUltimoTransporte>
      </auti>
    </alterarUltimoTransporte>
  </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>
    <alterarUltimoTransporteResponse xmlns="https://srir.azores.gov.pt/egar/wsv1">
      <alterarUltimoTransporteResult>
        <Result>
          <Codigo>string</Codigo>
          <desResultado>string</desResultado>
        </Result>
        <erroList>
          <Erro>
            <Codigo>string</Codigo>
            <descErro>string</descErro>
          </Erro>
          <Erro>
            <Codigo>string</Codigo>
            <descErro>string</descErro>
          </Erro>
        </erroList>
        <guia>
          <produtorDetentor>
            <id_entidade>string</id_entidade>
            <tipoRemetente>PRODUTOR or OBRAS_RCD or PRESTADOR_SERVICOS or VEICULO_FIM_VIDA</tipoRemetente>
            <nif>string</nif>
            <nome>string</nome>
            <estabelecimento>string</estabelecimento>
            <codigoObra>string</codigoObra>
            <vfvProprietario>string</vfvProprietario>
            <vfvMatricula>string</vfvMatricula>
            <morada>string</morada>
            <localidade>string</localidade>
            <codigoPostal>string</codigoPostal>
            <concelho>string</concelho>
          </produtorDetentor>
          <residuosTransportados>
            <residuoTransportado xsi:nil="true" />
            <residuoTransportado xsi:nil="true" />
          </residuosTransportados>
          <transportadores>
            <transportador xsi:nil="true" />
            <transportador xsi:nil="true" />
          </transportadores>
          <operadorGestaoResiduos>
            <id_entidade>string</id_entidade>
            <codigoAPA>string</codigoAPA>
            <nif>string</nif>
            <nome>string</nome>
            <estabelecimento>string</estabelecimento>
            <morada>string</morada>
            <localidade>string</localidade>
            <codigoPostal>string</codigoPostal>
            <concelho>string</concelho>
          </operadorGestaoResiduos>
          <numeroGuia>string</numeroGuia>
          <codigoVerificacao>string</codigoVerificacao>
          <url>string</url>
          <gru>int</gru>
          <tipoInterveniente>string</tipoInterveniente>
          <autorizada>int</autorizada>
          <corrigida>int</corrigida>
          <estado>string</estado>
          <dataEstado>dateTime</dataEstado>
          <dataFimTransporte>dateTime</dataFimTransporte>
        </guia>
      </alterarUltimoTransporteResult>
    </alterarUltimoTransporteResponse>
  </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 /egar/wsv1.asmx HTTP/1.1
Host: devsrir.azores.gov.pt
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>
    <alterarUltimoTransporte xmlns="https://srir.azores.gov.pt/egar/wsv1">
      <auti>
        <idGuia>
          <numeroGuia>string</numeroGuia>
          <codigoVerificacao>string</codigoVerificacao>
        </idGuia>
        <tokenEntidade>string</tokenEntidade>
        <dataHoraUltimoTransporte>dateTime</dataHoraUltimoTransporte>
      </auti>
    </alterarUltimoTransporte>
  </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>
    <alterarUltimoTransporteResponse xmlns="https://srir.azores.gov.pt/egar/wsv1">
      <alterarUltimoTransporteResult>
        <Result>
          <Codigo>string</Codigo>
          <desResultado>string</desResultado>
        </Result>
        <erroList>
          <Erro>
            <Codigo>string</Codigo>
            <descErro>string</descErro>
          </Erro>
          <Erro>
            <Codigo>string</Codigo>
            <descErro>string</descErro>
          </Erro>
        </erroList>
        <guia>
          <produtorDetentor>
            <id_entidade>string</id_entidade>
            <tipoRemetente>PRODUTOR or OBRAS_RCD or PRESTADOR_SERVICOS or VEICULO_FIM_VIDA</tipoRemetente>
            <nif>string</nif>
            <nome>string</nome>
            <estabelecimento>string</estabelecimento>
            <codigoObra>string</codigoObra>
            <vfvProprietario>string</vfvProprietario>
            <vfvMatricula>string</vfvMatricula>
            <morada>string</morada>
            <localidade>string</localidade>
            <codigoPostal>string</codigoPostal>
            <concelho>string</concelho>
          </produtorDetentor>
          <residuosTransportados>
            <residuoTransportado xsi:nil="true" />
            <residuoTransportado xsi:nil="true" />
          </residuosTransportados>
          <transportadores>
            <transportador xsi:nil="true" />
            <transportador xsi:nil="true" />
          </transportadores>
          <operadorGestaoResiduos>
            <id_entidade>string</id_entidade>
            <codigoAPA>string</codigoAPA>
            <nif>string</nif>
            <nome>string</nome>
            <estabelecimento>string</estabelecimento>
            <morada>string</morada>
            <localidade>string</localidade>
            <codigoPostal>string</codigoPostal>
            <concelho>string</concelho>
          </operadorGestaoResiduos>
          <numeroGuia>string</numeroGuia>
          <codigoVerificacao>string</codigoVerificacao>
          <url>string</url>
          <gru>int</gru>
          <tipoInterveniente>string</tipoInterveniente>
          <autorizada>int</autorizada>
          <corrigida>int</corrigida>
          <estado>string</estado>
          <dataEstado>dateTime</dataEstado>
          <dataFimTransporte>dateTime</dataFimTransporte>
        </guia>
      </alterarUltimoTransporteResult>
    </alterarUltimoTransporteResponse>
  </soap12:Body>
</soap12:Envelope>