SRIReGarWSv1


Click here for a complete list of operations.

rejeitarGuia

Método para Operador de Gestão de Resíduos rejeitar uma guia.

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/rejeitarGuia"

<?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>
    <rejeitarGuia xmlns="https://srir.azores.gov.pt/egar/wsv1">
      <rgi>
        <idGuia>
          <numeroGuia>string</numeroGuia>
          <codigoVerificacao>string</codigoVerificacao>
        </idGuia>
        <tokenEntidade>string</tokenEntidade>
        <comentarioDestinatario>string</comentarioDestinatario>
      </rgi>
    </rejeitarGuia>
  </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>
    <rejeitarGuiaResponse xmlns="https://srir.azores.gov.pt/egar/wsv1">
      <rejeitarGuiaResult>
        <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>
      </rejeitarGuiaResult>
    </rejeitarGuiaResponse>
  </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>
    <rejeitarGuia xmlns="https://srir.azores.gov.pt/egar/wsv1">
      <rgi>
        <idGuia>
          <numeroGuia>string</numeroGuia>
          <codigoVerificacao>string</codigoVerificacao>
        </idGuia>
        <tokenEntidade>string</tokenEntidade>
        <comentarioDestinatario>string</comentarioDestinatario>
      </rgi>
    </rejeitarGuia>
  </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>
    <rejeitarGuiaResponse xmlns="https://srir.azores.gov.pt/egar/wsv1">
      <rejeitarGuiaResult>
        <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>
      </rejeitarGuiaResult>
    </rejeitarGuiaResponse>
  </soap12:Body>
</soap12:Envelope>