GestionPedidos


Haga clic aquí para obtener una lista completa de operaciones.

CrearPedido

Prueba

El formulario de prueba sólo está disponible para solicitudes del equipo local.

SOAP 1.1

A continuación se muestra un ejemplo de solicitud y respuesta para SOAP 1.1. Es necesario reemplazar los marcadores de posición que aparecen con valores reales.

POST /GestionPedidos.asmx HTTP/1.1
Host: wsintegracion.ricopia.com
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://tempuri.org/CrearPedido"

<?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>
    <CrearPedido xmlns="http://tempuri.org/">
      <token>string</token>
      <id_pedido>string</id_pedido>
      <num_pedido>string</num_pedido>
      <fecha_pedido>dateTime</fecha_pedido>
      <importe_pedido>float</importe_pedido>
      <cif_proveedor>string</cif_proveedor>
      <estado_pedido>boolean</estado_pedido>
    </CrearPedido>
  </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>
    <CrearPedidoResponse xmlns="http://tempuri.org/">
      <CrearPedidoResult>
        <resultado>boolean</resultado>
        <descripcion>string</descripcion>
        <datos>string</datos>
      </CrearPedidoResult>
    </CrearPedidoResponse>
  </soap:Body>
</soap:Envelope>

SOAP 1.2

A continuación se muestra un ejemplo de solicitud y respuesta para SOAP 1.2. Es necesario reemplazar los marcadores de posición que aparecen con valores reales.

POST /GestionPedidos.asmx HTTP/1.1
Host: wsintegracion.ricopia.com
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>
    <CrearPedido xmlns="http://tempuri.org/">
      <token>string</token>
      <id_pedido>string</id_pedido>
      <num_pedido>string</num_pedido>
      <fecha_pedido>dateTime</fecha_pedido>
      <importe_pedido>float</importe_pedido>
      <cif_proveedor>string</cif_proveedor>
      <estado_pedido>boolean</estado_pedido>
    </CrearPedido>
  </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>
    <CrearPedidoResponse xmlns="http://tempuri.org/">
      <CrearPedidoResult>
        <resultado>boolean</resultado>
        <descripcion>string</descripcion>
        <datos>string</datos>
      </CrearPedidoResult>
    </CrearPedidoResponse>
  </soap12:Body>
</soap12:Envelope>