WSEstoque
Clique aqui para obter uma lista completa das operações.
AlterarPedidoVenda
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/AlterarPedidoVenda"
<?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>
<AlterarPedidoVenda xmlns="http://www.portovelhomoveis.com.br/">
<key>string</key>
<id>int</id>
<tipo>unsignedByte</tipo>
<data_emissao>dateTime</data_emissao>
<id_vendedor>int</id_vendedor>
<percentual_comissao>float</percentual_comissao>
<id_cliente>int</id_cliente>
<taxa>float</taxa>
<id_condicao_pagamento>int</id_condicao_pagamento>
<id_transportadora>int</id_transportadora>
<data_previsao_entrega>dateTime</data_previsao_entrega>
<data_entrega>dateTime</data_entrega>
<total_itens>decimal</total_itens>
<total_acrescimo>decimal</total_acrescimo>
<total_desconto>decimal</total_desconto>
<valor_icms>decimal</valor_icms>
<valor_ipi>decimal</valor_ipi>
<valor_frete>decimal</valor_frete>
<valor_comissao>decimal</valor_comissao>
<valor_total>decimal</valor_total>
<obs>string</obs>
<id_usuario>int</id_usuario>
<tipo_documento_receber>unsignedByte</tipo_documento_receber>
<quitado>unsignedByte</quitado>
<entrega>unsignedByte</entrega>
<status>unsignedByte</status>
<liberacao>unsignedByte</liberacao>
<composicao>unsignedByte</composicao>
<creditos>decimal</creditos>
<array_creditos>string</array_creditos>
<array_pagamento>string</array_pagamento>
<espera>unsignedByte</espera>
<id_local>int</id_local>
<desconto_a_vista>decimal</desconto_a_vista>
<percentual_desconto_a_vista>float</percentual_desconto_a_vista>
<desconto_produtos>decimal</desconto_produtos>
<id_local_estoque>int</id_local_estoque>
</AlterarPedidoVenda>
</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>
<AlterarPedidoVendaResponse xmlns="http://www.portovelhomoveis.com.br/">
<AlterarPedidoVendaResult>string</AlterarPedidoVendaResult>
</AlterarPedidoVendaResponse>
</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>
<AlterarPedidoVenda xmlns="http://www.portovelhomoveis.com.br/">
<key>string</key>
<id>int</id>
<tipo>unsignedByte</tipo>
<data_emissao>dateTime</data_emissao>
<id_vendedor>int</id_vendedor>
<percentual_comissao>float</percentual_comissao>
<id_cliente>int</id_cliente>
<taxa>float</taxa>
<id_condicao_pagamento>int</id_condicao_pagamento>
<id_transportadora>int</id_transportadora>
<data_previsao_entrega>dateTime</data_previsao_entrega>
<data_entrega>dateTime</data_entrega>
<total_itens>decimal</total_itens>
<total_acrescimo>decimal</total_acrescimo>
<total_desconto>decimal</total_desconto>
<valor_icms>decimal</valor_icms>
<valor_ipi>decimal</valor_ipi>
<valor_frete>decimal</valor_frete>
<valor_comissao>decimal</valor_comissao>
<valor_total>decimal</valor_total>
<obs>string</obs>
<id_usuario>int</id_usuario>
<tipo_documento_receber>unsignedByte</tipo_documento_receber>
<quitado>unsignedByte</quitado>
<entrega>unsignedByte</entrega>
<status>unsignedByte</status>
<liberacao>unsignedByte</liberacao>
<composicao>unsignedByte</composicao>
<creditos>decimal</creditos>
<array_creditos>string</array_creditos>
<array_pagamento>string</array_pagamento>
<espera>unsignedByte</espera>
<id_local>int</id_local>
<desconto_a_vista>decimal</desconto_a_vista>
<percentual_desconto_a_vista>float</percentual_desconto_a_vista>
<desconto_produtos>decimal</desconto_produtos>
<id_local_estoque>int</id_local_estoque>
</AlterarPedidoVenda>
</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>
<AlterarPedidoVendaResponse xmlns="http://www.portovelhomoveis.com.br/">
<AlterarPedidoVendaResult>string</AlterarPedidoVendaResult>
</AlterarPedidoVendaResponse>
</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/AlterarPedidoVenda?key=string&id=string&tipo=string&data_emissao=string&id_vendedor=string&percentual_comissao=string&id_cliente=string&taxa=string&id_condicao_pagamento=string&id_transportadora=string&data_previsao_entrega=string&data_entrega=string&total_itens=string&total_acrescimo=string&total_desconto=string&valor_icms=string&valor_ipi=string&valor_frete=string&valor_comissao=string&valor_total=string&obs=string&id_usuario=string&tipo_documento_receber=string&quitado=string&entrega=string&status=string&liberacao=string&composicao=string&creditos=string&array_creditos=string&array_pagamento=string&espera=string&id_local=string&desconto_a_vista=string&percentual_desconto_a_vista=string&desconto_produtos=string&id_local_estoque=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"?> <string xmlns="http://www.portovelhomoveis.com.br/">string</string>
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/AlterarPedidoVenda HTTP/1.1 Host: portovelho.ddns.net Content-Type: application/x-www-form-urlencoded Content-Length: length key=string&id=string&tipo=string&data_emissao=string&id_vendedor=string&percentual_comissao=string&id_cliente=string&taxa=string&id_condicao_pagamento=string&id_transportadora=string&data_previsao_entrega=string&data_entrega=string&total_itens=string&total_acrescimo=string&total_desconto=string&valor_icms=string&valor_ipi=string&valor_frete=string&valor_comissao=string&valor_total=string&obs=string&id_usuario=string&tipo_documento_receber=string&quitado=string&entrega=string&status=string&liberacao=string&composicao=string&creditos=string&array_creditos=string&array_pagamento=string&espera=string&id_local=string&desconto_a_vista=string&percentual_desconto_a_vista=string&desconto_produtos=string&id_local_estoque=string
HTTP/1.1 200 OK Content-Type: text/xml; charset=utf-8 Content-Length: length <?xml version="1.0" encoding="utf-8"?> <string xmlns="http://www.portovelhomoveis.com.br/">string</string>