# Excluir Negativação

## ![](https://1903351976-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LDNb2_jHPaxMkJuVb78%2F-LDNb6wc-IXE5Wl_vyZI%2F-LDNb7TCjN4ErIIpGKzp%2Fsws_logo150x35.png?generation=1527273793545122\&alt=media)

## SERASA - Negativação

### Webservices SERASA

#### Endpoints

**Produção:** <http://www.soawebservices.com.br/webservices/producao/serasa/negativacao.asmx>

**Test-Drive:** <http://www.soawebservices.com.br/webservices/test-drive/serasa/negativacao.asmx>

### Método: Excluir

### **Descrição:** Exclui uma restrição no documento na base da SERASA

**Headers:**

```
POST /webservices/producao/serasa/negativacao.asmx HTTP/1.1
Host: www.soawebservices.com.br
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "SOAWebServices/Excluir"
```

**Requisição SOAP/XML:**

```markup
<?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>
    <Excluir xmlns="SOAWebServices">
      <Credenciais>
        <Email>string</Email>
        <Senha>string</Senha>
      </Credenciais>
      <UniqueID>string</UniqueID>
      <CodigoBaixa>int</CodigoBaixa>
      <DataBaixa>string</DataBaixa>
    </Excluir>
  </soap:Body>
</soap:Envelope>
```

**Resposta SOAP/XML:**

```markup
<?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>
    <ExcluirResponse xmlns="SOAWebServices">
      <ExcluirResult>
        <UniqueID>string</UniqueID>
        <DocumentoCredor>string</DocumentoCredor>
        <NomeCredor>string</NomeCredor>
        <DocumentoDevedor>string</DocumentoDevedor>
        <NomeDevedor>string</NomeDevedor>
        <CodigoRestricao>string</CodigoRestricao>
        <RestricaoDescricao>string</RestricaoDescricao>
        <CodigoBaixa>string</CodigoBaixa>
        <BaixaDescricao>string</BaixaDescricao>
        <Valor>string</Valor>
        <DataHoraExclusao>string</DataHoraExclusao>
        <Transacao>
          <Status>boolean</Status>
          <CodigoStatus>string</CodigoStatus>
          <CodigoStatusDescricao>string</CodigoStatusDescricao>
        </Transacao>
      </ExcluirResult>
    </ExcluirResponse>
  </soap:Body>
</soap:Envelope>
```
