# Lista Negativações

![](https://1903351976-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LDNb2_jHPaxMkJuVb78%2F-LDNb6wc-IXE5Wl_vyZI%2F-LDNb7RJf50YfPabJNNS%2Fsws_logo150x35.png?generation=1527273786159751\&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: Lista

### **Descrição:** Consulta 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/Lista"
```

**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>
    <Lista xmlns="SOAWebServices">
      <Credenciais>
        <Email>string</Email>
        <Senha>string</Senha>
      </Credenciais>
    </Lista>
  </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>
    <ListaResponse xmlns="SOAWebServices">
      <ListaResult>
        <Negativacoes>
          <ItemNegativacao>
            <Ambiente>TestDrive or Producao</Ambiente>
            <UniqueID>guid</UniqueID>
            <Devedores xsi:nil="true" />
            <Restricao xsi:nil="true" />
          </ItemNegativacao>
          <ItemNegativacao>
            <Ambiente>TestDrive or Producao</Ambiente>
            <UniqueID>guid</UniqueID>
            <Devedores xsi:nil="true" />
            <Restricao xsi:nil="true" />
          </ItemNegativacao>
        </Negativacoes>
        <Totalizadores>
          <TotalNegativacoes>int</TotalNegativacoes>
          <TotalDevedores>int</TotalDevedores>
          <ValorTotalNegativacoes>decimal</ValorTotalNegativacoes>
        </Totalizadores>
        <Transacao>
          <Status>boolean</Status>
          <CodigoStatus>string</CodigoStatus>
          <CodigoStatusDescricao>string</CodigoStatusDescricao>
        </Transacao>
      </ListaResult>
    </ListaResponse>
  </soap:Body>
</soap:Envelope>>
```
