servBodDespacho


Click here for a complete list of operations.

fpAddLine

Test

The test form is only available for requests from the local machine.

SOAP 1.1

The following is a sample SOAP 1.1 request and response. The placeholders shown need to be replaced with actual values.

POST /servBodega/servBodDespacho.asmx HTTP/1.1
Host: smprog-ws.coamperu.com
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://sinfoec.com/fpAddLine"

<?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>
    <fpAddLine xmlns="http://sinfoec.com/">
      <oObjCab>
        <LineasDespacho>
          <ClsDespachoDet>
            <_cod_inventario>string</_cod_inventario>
            <_actividad>int</_actividad>
            <_cantidad_despacho>double</_cantidad_despacho>
            <_cantidad_req>double</_cantidad_req>
            <_cod_repuesto>int</_cod_repuesto>
            <_motivo>string</_motivo>
            <_Num_Parte>string</_Num_Parte>
            <_cod_externo>string</_cod_externo>
            <_nombreRepuesto>string</_nombreRepuesto>
            <_unidadMedida>string</_unidadMedida>
          </ClsDespachoDet>
          <ClsDespachoDet>
            <_cod_inventario>string</_cod_inventario>
            <_actividad>int</_actividad>
            <_cantidad_despacho>double</_cantidad_despacho>
            <_cantidad_req>double</_cantidad_req>
            <_cod_repuesto>int</_cod_repuesto>
            <_motivo>string</_motivo>
            <_Num_Parte>string</_Num_Parte>
            <_cod_externo>string</_cod_externo>
            <_nombreRepuesto>string</_nombreRepuesto>
            <_unidadMedida>string</_unidadMedida>
          </ClsDespachoDet>
        </LineasDespacho>
        <_recibidoPorCodigo>string</_recibidoPorCodigo>
        <_recibidoPorNombre>string</_recibidoPorNombre>
        <_cod_movimiento>string</_cod_movimiento>
        <_seccion>string</_seccion>
        <_usuario>string</_usuario>
        <_cod_bodega>string</_cod_bodega>
        <_cod_requisicion>string</_cod_requisicion>
        <_observacion>string</_observacion>
        <_fecha_despacho>string</_fecha_despacho>
        <_sNumOtExterna>string</_sNumOtExterna>
        <_errDetalle>string</_errDetalle>
        <_codExternoArea>string</_codExternoArea>
        <_codExternoGrupo>string</_codExternoGrupo>
        <_codExternoSubgrupo>string</_codExternoSubgrupo>
        <_codExternoEquipo>string</_codExternoEquipo>
        <_codActivoFijo>string</_codActivoFijo>
        <_sNumReqExterna>string</_sNumReqExterna>
        <_iCodEquipo>int</_iCodEquipo>
        <detalleJSONSerializable>string</detalleJSONSerializable>
        <numeroRegistro>int</numeroRegistro>
        <_fechaIni>string</_fechaIni>
        <_fechaFin>string</_fechaFin>
        <_numero>string</_numero>
        <_filtro>string</_filtro>
        <_opcionRep>int</_opcionRep>
        <_filtroRep>string</_filtroRep>
      </oObjCab>
      <oObjDet>
        <_cod_inventario>string</_cod_inventario>
        <_actividad>int</_actividad>
        <_cantidad_despacho>double</_cantidad_despacho>
        <_cantidad_req>double</_cantidad_req>
        <_cod_repuesto>int</_cod_repuesto>
        <_motivo>string</_motivo>
        <_Num_Parte>string</_Num_Parte>
        <_cod_externo>string</_cod_externo>
        <_nombreRepuesto>string</_nombreRepuesto>
        <_unidadMedida>string</_unidadMedida>
      </oObjDet>
    </fpAddLine>
  </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>
    <fpAddLineResponse xmlns="http://sinfoec.com/">
      <fpAddLineResult>
        <LineasDespacho>
          <ClsDespachoDet>
            <_cod_inventario>string</_cod_inventario>
            <_actividad>int</_actividad>
            <_cantidad_despacho>double</_cantidad_despacho>
            <_cantidad_req>double</_cantidad_req>
            <_cod_repuesto>int</_cod_repuesto>
            <_motivo>string</_motivo>
            <_Num_Parte>string</_Num_Parte>
            <_cod_externo>string</_cod_externo>
            <_nombreRepuesto>string</_nombreRepuesto>
            <_unidadMedida>string</_unidadMedida>
          </ClsDespachoDet>
          <ClsDespachoDet>
            <_cod_inventario>string</_cod_inventario>
            <_actividad>int</_actividad>
            <_cantidad_despacho>double</_cantidad_despacho>
            <_cantidad_req>double</_cantidad_req>
            <_cod_repuesto>int</_cod_repuesto>
            <_motivo>string</_motivo>
            <_Num_Parte>string</_Num_Parte>
            <_cod_externo>string</_cod_externo>
            <_nombreRepuesto>string</_nombreRepuesto>
            <_unidadMedida>string</_unidadMedida>
          </ClsDespachoDet>
        </LineasDespacho>
        <_recibidoPorCodigo>string</_recibidoPorCodigo>
        <_recibidoPorNombre>string</_recibidoPorNombre>
        <_cod_movimiento>string</_cod_movimiento>
        <_seccion>string</_seccion>
        <_usuario>string</_usuario>
        <_cod_bodega>string</_cod_bodega>
        <_cod_requisicion>string</_cod_requisicion>
        <_observacion>string</_observacion>
        <_fecha_despacho>string</_fecha_despacho>
        <_sNumOtExterna>string</_sNumOtExterna>
        <_errDetalle>string</_errDetalle>
        <_codExternoArea>string</_codExternoArea>
        <_codExternoGrupo>string</_codExternoGrupo>
        <_codExternoSubgrupo>string</_codExternoSubgrupo>
        <_codExternoEquipo>string</_codExternoEquipo>
        <_codActivoFijo>string</_codActivoFijo>
        <_sNumReqExterna>string</_sNumReqExterna>
        <_iCodEquipo>int</_iCodEquipo>
        <detalleJSONSerializable>string</detalleJSONSerializable>
        <numeroRegistro>int</numeroRegistro>
        <_fechaIni>string</_fechaIni>
        <_fechaFin>string</_fechaFin>
        <_numero>string</_numero>
        <_filtro>string</_filtro>
        <_opcionRep>int</_opcionRep>
        <_filtroRep>string</_filtroRep>
      </fpAddLineResult>
    </fpAddLineResponse>
  </soap:Body>
</soap:Envelope>

SOAP 1.2

The following is a sample SOAP 1.2 request and response. The placeholders shown need to be replaced with actual values.

POST /servBodega/servBodDespacho.asmx HTTP/1.1
Host: smprog-ws.coamperu.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>
    <fpAddLine xmlns="http://sinfoec.com/">
      <oObjCab>
        <LineasDespacho>
          <ClsDespachoDet>
            <_cod_inventario>string</_cod_inventario>
            <_actividad>int</_actividad>
            <_cantidad_despacho>double</_cantidad_despacho>
            <_cantidad_req>double</_cantidad_req>
            <_cod_repuesto>int</_cod_repuesto>
            <_motivo>string</_motivo>
            <_Num_Parte>string</_Num_Parte>
            <_cod_externo>string</_cod_externo>
            <_nombreRepuesto>string</_nombreRepuesto>
            <_unidadMedida>string</_unidadMedida>
          </ClsDespachoDet>
          <ClsDespachoDet>
            <_cod_inventario>string</_cod_inventario>
            <_actividad>int</_actividad>
            <_cantidad_despacho>double</_cantidad_despacho>
            <_cantidad_req>double</_cantidad_req>
            <_cod_repuesto>int</_cod_repuesto>
            <_motivo>string</_motivo>
            <_Num_Parte>string</_Num_Parte>
            <_cod_externo>string</_cod_externo>
            <_nombreRepuesto>string</_nombreRepuesto>
            <_unidadMedida>string</_unidadMedida>
          </ClsDespachoDet>
        </LineasDespacho>
        <_recibidoPorCodigo>string</_recibidoPorCodigo>
        <_recibidoPorNombre>string</_recibidoPorNombre>
        <_cod_movimiento>string</_cod_movimiento>
        <_seccion>string</_seccion>
        <_usuario>string</_usuario>
        <_cod_bodega>string</_cod_bodega>
        <_cod_requisicion>string</_cod_requisicion>
        <_observacion>string</_observacion>
        <_fecha_despacho>string</_fecha_despacho>
        <_sNumOtExterna>string</_sNumOtExterna>
        <_errDetalle>string</_errDetalle>
        <_codExternoArea>string</_codExternoArea>
        <_codExternoGrupo>string</_codExternoGrupo>
        <_codExternoSubgrupo>string</_codExternoSubgrupo>
        <_codExternoEquipo>string</_codExternoEquipo>
        <_codActivoFijo>string</_codActivoFijo>
        <_sNumReqExterna>string</_sNumReqExterna>
        <_iCodEquipo>int</_iCodEquipo>
        <detalleJSONSerializable>string</detalleJSONSerializable>
        <numeroRegistro>int</numeroRegistro>
        <_fechaIni>string</_fechaIni>
        <_fechaFin>string</_fechaFin>
        <_numero>string</_numero>
        <_filtro>string</_filtro>
        <_opcionRep>int</_opcionRep>
        <_filtroRep>string</_filtroRep>
      </oObjCab>
      <oObjDet>
        <_cod_inventario>string</_cod_inventario>
        <_actividad>int</_actividad>
        <_cantidad_despacho>double</_cantidad_despacho>
        <_cantidad_req>double</_cantidad_req>
        <_cod_repuesto>int</_cod_repuesto>
        <_motivo>string</_motivo>
        <_Num_Parte>string</_Num_Parte>
        <_cod_externo>string</_cod_externo>
        <_nombreRepuesto>string</_nombreRepuesto>
        <_unidadMedida>string</_unidadMedida>
      </oObjDet>
    </fpAddLine>
  </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>
    <fpAddLineResponse xmlns="http://sinfoec.com/">
      <fpAddLineResult>
        <LineasDespacho>
          <ClsDespachoDet>
            <_cod_inventario>string</_cod_inventario>
            <_actividad>int</_actividad>
            <_cantidad_despacho>double</_cantidad_despacho>
            <_cantidad_req>double</_cantidad_req>
            <_cod_repuesto>int</_cod_repuesto>
            <_motivo>string</_motivo>
            <_Num_Parte>string</_Num_Parte>
            <_cod_externo>string</_cod_externo>
            <_nombreRepuesto>string</_nombreRepuesto>
            <_unidadMedida>string</_unidadMedida>
          </ClsDespachoDet>
          <ClsDespachoDet>
            <_cod_inventario>string</_cod_inventario>
            <_actividad>int</_actividad>
            <_cantidad_despacho>double</_cantidad_despacho>
            <_cantidad_req>double</_cantidad_req>
            <_cod_repuesto>int</_cod_repuesto>
            <_motivo>string</_motivo>
            <_Num_Parte>string</_Num_Parte>
            <_cod_externo>string</_cod_externo>
            <_nombreRepuesto>string</_nombreRepuesto>
            <_unidadMedida>string</_unidadMedida>
          </ClsDespachoDet>
        </LineasDespacho>
        <_recibidoPorCodigo>string</_recibidoPorCodigo>
        <_recibidoPorNombre>string</_recibidoPorNombre>
        <_cod_movimiento>string</_cod_movimiento>
        <_seccion>string</_seccion>
        <_usuario>string</_usuario>
        <_cod_bodega>string</_cod_bodega>
        <_cod_requisicion>string</_cod_requisicion>
        <_observacion>string</_observacion>
        <_fecha_despacho>string</_fecha_despacho>
        <_sNumOtExterna>string</_sNumOtExterna>
        <_errDetalle>string</_errDetalle>
        <_codExternoArea>string</_codExternoArea>
        <_codExternoGrupo>string</_codExternoGrupo>
        <_codExternoSubgrupo>string</_codExternoSubgrupo>
        <_codExternoEquipo>string</_codExternoEquipo>
        <_codActivoFijo>string</_codActivoFijo>
        <_sNumReqExterna>string</_sNumReqExterna>
        <_iCodEquipo>int</_iCodEquipo>
        <detalleJSONSerializable>string</detalleJSONSerializable>
        <numeroRegistro>int</numeroRegistro>
        <_fechaIni>string</_fechaIni>
        <_fechaFin>string</_fechaFin>
        <_numero>string</_numero>
        <_filtro>string</_filtro>
        <_opcionRep>int</_opcionRep>
        <_filtroRep>string</_filtroRep>
      </fpAddLineResult>
    </fpAddLineResponse>
  </soap12:Body>
</soap12:Envelope>