servBodSaldoInicial
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/servBodSaldoInicial.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>
<Lineas>
<ClsSaldoInicialDet>
<_CodMovimiento>string</_CodMovimiento>
</ClsSaldoInicialDet>
<ClsSaldoInicialDet>
<_CodMovimiento>string</_CodMovimiento>
</ClsSaldoInicialDet>
</Lineas>
<JSONDetalle>
<oDetSaldoJSON>
<cod_repuesto>string</cod_repuesto>
<stock>decimal</stock>
<costo_promedio>decimal</costo_promedio>
<estimado_mensual>decimal</estimado_mensual>
<cod_inventario>string</cod_inventario>
</oDetSaldoJSON>
<oDetSaldoJSON>
<cod_repuesto>string</cod_repuesto>
<stock>decimal</stock>
<costo_promedio>decimal</costo_promedio>
<estimado_mensual>decimal</estimado_mensual>
<cod_inventario>string</cod_inventario>
</oDetSaldoJSON>
</JSONDetalle>
<_Fecha_Ingreso>string</_Fecha_Ingreso>
<_Ingresado_por>string</_Ingresado_por>
<_usuario>string</_usuario>
<_codBodega>int</_codBodega>
<_codMovimiento>string</_codMovimiento>
<_errorDetalle>string</_errorDetalle>
<_errorNumero>int</_errorNumero>
<detalleJSONSerializable>string</detalleJSONSerializable>
<numeroRegistro>int</numeroRegistro>
</oObjCab>
<oObjDet>
<_CodMovimiento>string</_CodMovimiento>
</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>
<Lineas>
<ClsSaldoInicialDet>
<_CodMovimiento>string</_CodMovimiento>
</ClsSaldoInicialDet>
<ClsSaldoInicialDet>
<_CodMovimiento>string</_CodMovimiento>
</ClsSaldoInicialDet>
</Lineas>
<JSONDetalle>
<oDetSaldoJSON>
<cod_repuesto>string</cod_repuesto>
<stock>decimal</stock>
<costo_promedio>decimal</costo_promedio>
<estimado_mensual>decimal</estimado_mensual>
<cod_inventario>string</cod_inventario>
</oDetSaldoJSON>
<oDetSaldoJSON>
<cod_repuesto>string</cod_repuesto>
<stock>decimal</stock>
<costo_promedio>decimal</costo_promedio>
<estimado_mensual>decimal</estimado_mensual>
<cod_inventario>string</cod_inventario>
</oDetSaldoJSON>
</JSONDetalle>
<_Fecha_Ingreso>string</_Fecha_Ingreso>
<_Ingresado_por>string</_Ingresado_por>
<_usuario>string</_usuario>
<_codBodega>int</_codBodega>
<_codMovimiento>string</_codMovimiento>
<_errorDetalle>string</_errorDetalle>
<_errorNumero>int</_errorNumero>
<detalleJSONSerializable>string</detalleJSONSerializable>
<numeroRegistro>int</numeroRegistro>
</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/servBodSaldoInicial.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>
<Lineas>
<ClsSaldoInicialDet>
<_CodMovimiento>string</_CodMovimiento>
</ClsSaldoInicialDet>
<ClsSaldoInicialDet>
<_CodMovimiento>string</_CodMovimiento>
</ClsSaldoInicialDet>
</Lineas>
<JSONDetalle>
<oDetSaldoJSON>
<cod_repuesto>string</cod_repuesto>
<stock>decimal</stock>
<costo_promedio>decimal</costo_promedio>
<estimado_mensual>decimal</estimado_mensual>
<cod_inventario>string</cod_inventario>
</oDetSaldoJSON>
<oDetSaldoJSON>
<cod_repuesto>string</cod_repuesto>
<stock>decimal</stock>
<costo_promedio>decimal</costo_promedio>
<estimado_mensual>decimal</estimado_mensual>
<cod_inventario>string</cod_inventario>
</oDetSaldoJSON>
</JSONDetalle>
<_Fecha_Ingreso>string</_Fecha_Ingreso>
<_Ingresado_por>string</_Ingresado_por>
<_usuario>string</_usuario>
<_codBodega>int</_codBodega>
<_codMovimiento>string</_codMovimiento>
<_errorDetalle>string</_errorDetalle>
<_errorNumero>int</_errorNumero>
<detalleJSONSerializable>string</detalleJSONSerializable>
<numeroRegistro>int</numeroRegistro>
</oObjCab>
<oObjDet>
<_CodMovimiento>string</_CodMovimiento>
</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>
<Lineas>
<ClsSaldoInicialDet>
<_CodMovimiento>string</_CodMovimiento>
</ClsSaldoInicialDet>
<ClsSaldoInicialDet>
<_CodMovimiento>string</_CodMovimiento>
</ClsSaldoInicialDet>
</Lineas>
<JSONDetalle>
<oDetSaldoJSON>
<cod_repuesto>string</cod_repuesto>
<stock>decimal</stock>
<costo_promedio>decimal</costo_promedio>
<estimado_mensual>decimal</estimado_mensual>
<cod_inventario>string</cod_inventario>
</oDetSaldoJSON>
<oDetSaldoJSON>
<cod_repuesto>string</cod_repuesto>
<stock>decimal</stock>
<costo_promedio>decimal</costo_promedio>
<estimado_mensual>decimal</estimado_mensual>
<cod_inventario>string</cod_inventario>
</oDetSaldoJSON>
</JSONDetalle>
<_Fecha_Ingreso>string</_Fecha_Ingreso>
<_Ingresado_por>string</_Ingresado_por>
<_usuario>string</_usuario>
<_codBodega>int</_codBodega>
<_codMovimiento>string</_codMovimiento>
<_errorDetalle>string</_errorDetalle>
<_errorNumero>int</_errorNumero>
<detalleJSONSerializable>string</detalleJSONSerializable>
<numeroRegistro>int</numeroRegistro>
</fpAddLineResult>
</fpAddLineResponse>
</soap12:Body>
</soap12:Envelope>