WSEstoque
Clique aqui para obter uma lista completa das operações.
IncluirContaReceber
Testar
Para testar a operação usando o protocolo HTTP POST, clique no botão 'Chamar'.SOAP 1.1
O exemplo a seguir mostra uma solicitação e uma resposta SOAP 1.1. Os espaços reservados mostrados devem ser substituídos por valores reais.
POST /WSEstoque.asmx HTTP/1.1
Host: portovelho.ddns.net
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://www.portovelhomoveis.com.br/IncluirContaReceber"
<?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>
    <IncluirContaReceber xmlns="http://www.portovelhomoveis.com.br/">
      <key>string</key>
      <descricao>string</descricao>
      <id_pedido>int</id_pedido>
      <emissao>dateTime</emissao>
      <tipo>int</tipo>
      <id_cliente>int</id_cliente>
      <tipo_documento>unsignedByte</tipo_documento>
      <numero>string</numero>
      <valor>decimal</valor>
      <vencimento>dateTime</vencimento>
      <data_pagamento>dateTime</data_pagamento>
      <valor_pago>decimal</valor_pago>
      <status>unsignedByte</status>
      <id_usuario>int</id_usuario>
    </IncluirContaReceber>
  </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>
    <IncluirContaReceberResponse xmlns="http://www.portovelhomoveis.com.br/">
      <IncluirContaReceberResult>int</IncluirContaReceberResult>
    </IncluirContaReceberResponse>
  </soap:Body>
</soap:Envelope>
          
          
              SOAP 1.2
O exemplo a seguir mostra uma solicitação e uma resposta SOAP 1.2. Os espaços reservados mostrados devem ser substituídos por valores reais.
POST /WSEstoque.asmx HTTP/1.1
Host: portovelho.ddns.net
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>
    <IncluirContaReceber xmlns="http://www.portovelhomoveis.com.br/">
      <key>string</key>
      <descricao>string</descricao>
      <id_pedido>int</id_pedido>
      <emissao>dateTime</emissao>
      <tipo>int</tipo>
      <id_cliente>int</id_cliente>
      <tipo_documento>unsignedByte</tipo_documento>
      <numero>string</numero>
      <valor>decimal</valor>
      <vencimento>dateTime</vencimento>
      <data_pagamento>dateTime</data_pagamento>
      <valor_pago>decimal</valor_pago>
      <status>unsignedByte</status>
      <id_usuario>int</id_usuario>
    </IncluirContaReceber>
  </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>
    <IncluirContaReceberResponse xmlns="http://www.portovelhomoveis.com.br/">
      <IncluirContaReceberResult>int</IncluirContaReceberResult>
    </IncluirContaReceberResponse>
  </soap12:Body>
</soap12:Envelope>
          
          
              HTTP GET
A seguir é apresentado um exemplo de solicitação e de resposta HTTP GET. Os espaços reservados mostrados devem ser substituídos por valores reais.
GET /WSEstoque.asmx/IncluirContaReceber?key=string&descricao=string&id_pedido=string&emissao=string&tipo=string&id_cliente=string&tipo_documento=string&numero=string&valor=string&vencimento=string&data_pagamento=string&valor_pago=string&status=string&id_usuario=string HTTP/1.1 Host: portovelho.ddns.net
HTTP/1.1 200 OK Content-Type: text/xml; charset=utf-8 Content-Length: length <?xml version="1.0" encoding="utf-8"?> <int xmlns="http://www.portovelhomoveis.com.br/">int</int>
HTTP POST
A seguir é apresentado um exemplo de solicitação e resposta HTTP POST. Os espaços reservados mostrados devem ser substituídos por valores reais.
POST /WSEstoque.asmx/IncluirContaReceber HTTP/1.1 Host: portovelho.ddns.net Content-Type: application/x-www-form-urlencoded Content-Length: length key=string&descricao=string&id_pedido=string&emissao=string&tipo=string&id_cliente=string&tipo_documento=string&numero=string&valor=string&vencimento=string&data_pagamento=string&valor_pago=string&status=string&id_usuario=string
HTTP/1.1 200 OK Content-Type: text/xml; charset=utf-8 Content-Length: length <?xml version="1.0" encoding="utf-8"?> <int xmlns="http://www.portovelhomoveis.com.br/">int</int>