ApreciaService


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

InsertaPedido

Metodo telstock InsertaPedido

Prueba

Haga clic en el botón 'Invocar', para probar la operación utilizando el protocolo HTTP POST.
Parámetro Valor
sUsuario:
sPass:
iIDEmpresa:
iIDPreospecto:
dSubtotal:
iIDDescuento:
dDescuento:
dIva:
dTotal:
iID_EquipoRuta:
Existente:
dtFechaEntregaI:
dtFechaEntregaF:
dtFechaFactura:
iHorasAsignadas:
iIDFormaPago:
sComentarios:
iCantidad:
sClave:
sProducto:
sDecripcion:
dPrecioUnitario:

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 /WS_Aprecia/WS_Aprecia.asmx HTTP/1.1
Host: aprecia.tmanager.com.mx
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://tempuri.org/InsertaPedido"

<?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>
    <InsertaPedido xmlns="http://tempuri.org/">
      <sUsuario>string</sUsuario>
      <sPass>string</sPass>
      <iIDEmpresa>int</iIDEmpresa>
      <iIDPreospecto>int</iIDPreospecto>
      <dSubtotal>double</dSubtotal>
      <iIDDescuento>int</iIDDescuento>
      <dDescuento>double</dDescuento>
      <dIva>double</dIva>
      <dTotal>double</dTotal>
      <iID_EquipoRuta>int</iID_EquipoRuta>
      <Existente>int</Existente>
      <dtFechaEntregaI>string</dtFechaEntregaI>
      <dtFechaEntregaF>string</dtFechaEntregaF>
      <dtFechaFactura>string</dtFechaFactura>
      <iHorasAsignadas>int</iHorasAsignadas>
      <iIDFormaPago>int</iIDFormaPago>
      <sComentarios>string</sComentarios>
      <iCantidad>int</iCantidad>
      <sClave>string</sClave>
      <sProducto>string</sProducto>
      <sDecripcion>string</sDecripcion>
      <dPrecioUnitario>double</dPrecioUnitario>
    </InsertaPedido>
  </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>
    <InsertaPedidoResponse xmlns="http://tempuri.org/">
      <InsertaPedidoResult>
        <iiDRegistro>int</iiDRegistro>
        <sNombreUsuario>string</sNombreUsuario>
        <sTelefono>string</sTelefono>
        <sSexo>string</sSexo>
        <sUrlImagen>string</sUrlImagen>
        <iCodigoResp>int</iCodigoResp>
        <sDescResp>string</sDescResp>
      </InsertaPedidoResult>
    </InsertaPedidoResponse>
  </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 /WS_Aprecia/WS_Aprecia.asmx HTTP/1.1
Host: aprecia.tmanager.com.mx
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>
    <InsertaPedido xmlns="http://tempuri.org/">
      <sUsuario>string</sUsuario>
      <sPass>string</sPass>
      <iIDEmpresa>int</iIDEmpresa>
      <iIDPreospecto>int</iIDPreospecto>
      <dSubtotal>double</dSubtotal>
      <iIDDescuento>int</iIDDescuento>
      <dDescuento>double</dDescuento>
      <dIva>double</dIva>
      <dTotal>double</dTotal>
      <iID_EquipoRuta>int</iID_EquipoRuta>
      <Existente>int</Existente>
      <dtFechaEntregaI>string</dtFechaEntregaI>
      <dtFechaEntregaF>string</dtFechaEntregaF>
      <dtFechaFactura>string</dtFechaFactura>
      <iHorasAsignadas>int</iHorasAsignadas>
      <iIDFormaPago>int</iIDFormaPago>
      <sComentarios>string</sComentarios>
      <iCantidad>int</iCantidad>
      <sClave>string</sClave>
      <sProducto>string</sProducto>
      <sDecripcion>string</sDecripcion>
      <dPrecioUnitario>double</dPrecioUnitario>
    </InsertaPedido>
  </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>
    <InsertaPedidoResponse xmlns="http://tempuri.org/">
      <InsertaPedidoResult>
        <iiDRegistro>int</iiDRegistro>
        <sNombreUsuario>string</sNombreUsuario>
        <sTelefono>string</sTelefono>
        <sSexo>string</sSexo>
        <sUrlImagen>string</sUrlImagen>
        <iCodigoResp>int</iCodigoResp>
        <sDescResp>string</sDescResp>
      </InsertaPedidoResult>
    </InsertaPedidoResponse>
  </soap12:Body>
</soap12:Envelope>

HTTP GET

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

GET /WS_Aprecia/WS_Aprecia.asmx/InsertaPedido?sUsuario=string&sPass=string&iIDEmpresa=string&iIDPreospecto=string&dSubtotal=string&iIDDescuento=string&dDescuento=string&dIva=string&dTotal=string&iID_EquipoRuta=string&Existente=string&dtFechaEntregaI=string&dtFechaEntregaF=string&dtFechaFactura=string&iHorasAsignadas=string&iIDFormaPago=string&sComentarios=string&iCantidad=string&sClave=string&sProducto=string&sDecripcion=string&dPrecioUnitario=string HTTP/1.1
Host: aprecia.tmanager.com.mx
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<cRespuesta xmlns="http://tempuri.org/">
  <iiDRegistro>int</iiDRegistro>
  <sNombreUsuario>string</sNombreUsuario>
  <sTelefono>string</sTelefono>
  <sSexo>string</sSexo>
  <sUrlImagen>string</sUrlImagen>
  <iCodigoResp>int</iCodigoResp>
  <sDescResp>string</sDescResp>
</cRespuesta>

HTTP POST

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

POST /WS_Aprecia/WS_Aprecia.asmx/InsertaPedido HTTP/1.1
Host: aprecia.tmanager.com.mx
Content-Type: application/x-www-form-urlencoded
Content-Length: length

sUsuario=string&sPass=string&iIDEmpresa=string&iIDPreospecto=string&dSubtotal=string&iIDDescuento=string&dDescuento=string&dIva=string&dTotal=string&iID_EquipoRuta=string&Existente=string&dtFechaEntregaI=string&dtFechaEntregaF=string&dtFechaFactura=string&iHorasAsignadas=string&iIDFormaPago=string&sComentarios=string&iCantidad=string&sClave=string&sProducto=string&sDecripcion=string&dPrecioUnitario=string
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<cRespuesta xmlns="http://tempuri.org/">
  <iiDRegistro>int</iiDRegistro>
  <sNombreUsuario>string</sNombreUsuario>
  <sTelefono>string</sTelefono>
  <sSexo>string</sSexo>
  <sUrlImagen>string</sUrlImagen>
  <iCodigoResp>int</iCodigoResp>
  <sDescResp>string</sDescResp>
</cRespuesta>