servPlanMantEquipo


Click here for a complete list of operations.

fpLLenaLineasPlanManEquipo

Agrega LĂ­neas(Detalle de OT) al objeto principal de OT

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 /servPlanMantEquipo.asmx HTTP/1.1
Host: smprog-ws.coamperu.com
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://sinfoec.com/fpLLenaLineasPlanManEquipo"

<?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>
    <fpLLenaLineasPlanManEquipo xmlns="http://sinfoec.com/">
      <oPlanMantEquipo>
        <_codArea>int</_codArea>
        <_codGrupo>int</_codGrupo>
        <_codSubgrupo>int</_codSubgrupo>
        <_codEquipo>int</_codEquipo>
        <COD_TIPO_EQUIPO>int</COD_TIPO_EQUIPO>
        <Usa_Plantilla>string</Usa_Plantilla>
        <Actividad>string</Actividad>
        <_codsEquipos>string</_codsEquipos>
        <NUM_VERSION>int</NUM_VERSION>
        <REF_PNT>string</REF_PNT>
        <FREC_BASE_DIA>int</FREC_BASE_DIA>
        <FREC_BASE_MED>int</FREC_BASE_MED>
        <NOM_CREA>string</NOM_CREA>
        <USUARIO>string</USUARIO>
        <_COD_PLAN_MANT_EQUIPO>int</_COD_PLAN_MANT_EQUIPO>
        <ESTADO>char</ESTADO>
        <COD_PLAN_MANT_EQUIPO>int</COD_PLAN_MANT_EQUIPO>
        <COD_PLAN_MANT_EQUIPO_ANT>int</COD_PLAN_MANT_EQUIPO_ANT>
        <COD_COMPONENTE>string</COD_COMPONENTE>
        <COD_SUBCOMPONENTE>string</COD_SUBCOMPONENTE>
        <COD_TAREA_PREVENTIVA>string</COD_TAREA_PREVENTIVA>
        <FREC_DIA>decimal</FREC_DIA>
        <FREC_MED>decimal</FREC_MED>
        <ULTIMO_MEDIDOR>decimal</ULTIMO_MEDIDOR>
        <ULTIMA_FECHA_MANT>dateTime</ULTIMA_FECHA_MANT>
        <FECHA_MODIFICADA>string</FECHA_MODIFICADA>
        <NOM_COMPONENTE>string</NOM_COMPONENTE>
        <NOM_SUBCOMPONENTE>string</NOM_SUBCOMPONENTE>
        <DESC_TAREA_PREVENTIVA>string</DESC_TAREA_PREVENTIVA>
        <_ProveedorAsignado>string</_ProveedorAsignado>
        <Pc>string</Pc>
        <Marca>int</Marca>
        <Modelo>int</Modelo>
        <NomUsuario>string</NomUsuario>
        <Equipos>string</Equipos>
        <cantequipos>int</cantequipos>
        <_fechaDesde>string</_fechaDesde>
        <_fechaHasta>string</_fechaHasta>
        <_OP>string</_OP>
        <_codProveedor>int</_codProveedor>
        <_tipoProveedor>string</_tipoProveedor>
        <_sCodBodega>string</_sCodBodega>
        <Tipo_Medidor>int</Tipo_Medidor>
        <Cod_equipo_c />
        <Cod_subgrupo_c />
        <_codRepuesto>int</_codRepuesto>
        <_cantRequerida>double</_cantRequerida>
        <_descRepuesto>string</_descRepuesto>
        <_numParte>string</_numParte>
        <_codInventario>string</_codInventario>
        <_presentacion>string</_presentacion>
        <_duracion>decimal</_duracion>
        <_costo_servicio>decimal</_costo_servicio>
        <_archivo>base64Binary</_archivo>
        <_nom_archivo>string</_nom_archivo>
        <_observacion>string</_observacion>
        <_errNumero>int</_errNumero>
        <_errDetalle>string</_errDetalle>
        <_errLinea>int</_errLinea>
        <fecUsuarioResponsable>string</fecUsuarioResponsable>
        <NOMBREAPROBADORRESPONSABLE>string</NOMBREAPROBADORRESPONSABLE>
        <COD_PROV_ASIGNADO>int</COD_PROV_ASIGNADO>
        <USR_APROBADOR_ASIGNADO>string</USR_APROBADOR_ASIGNADO>
        <_criterio>int</_criterio>
        <_tipoFacilitador>int</_tipoFacilitador>
        <_codTipoTrabajo>int</_codTipoTrabajo>
        <_buscar>string</_buscar>
        <_mant_modificado>string</_mant_modificado>
        <_cod_reprog_mant_prev>int</_cod_reprog_mant_prev>
        <_cod_motivo_repro>int</_cod_motivo_repro>
        <_cod_autorizado_por>int</_cod_autorizado_por>
        <_nom_autorizado_por>string</_nom_autorizado_por>
        <_justificacion>string</_justificacion>
        <_fec_reprogramacion>string</_fec_reprogramacion>
        <_med_reprogramacion>int</_med_reprogramacion>
        <_predictivo>char</_predictivo>
        <lineas>
          <cls_PlanMantEquipo_Detalle />
          <cls_PlanMantEquipo_Detalle />
        </lineas>
        <_listaItemsActividadesPreventiva>string</_listaItemsActividadesPreventiva>
        <_listaItemsActividadesPredictiva>string</_listaItemsActividadesPredictiva>
        <_codArchivo>int</_codArchivo>
        <_cod_solicitado_por>int</_cod_solicitado_por>
        <_nom_solicitado_por>string</_nom_solicitado_por>
        <_factorPreventivo>double</_factorPreventivo>
        <_factorCorrectivo>double</_factorCorrectivo>
      </oPlanMantEquipo>
      <oPlanMantEquipo_Detalle />
    </fpLLenaLineasPlanManEquipo>
  </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>
    <fpLLenaLineasPlanManEquipoResponse xmlns="http://sinfoec.com/">
      <fpLLenaLineasPlanManEquipoResult>
        <_codArea>int</_codArea>
        <_codGrupo>int</_codGrupo>
        <_codSubgrupo>int</_codSubgrupo>
        <_codEquipo>int</_codEquipo>
        <COD_TIPO_EQUIPO>int</COD_TIPO_EQUIPO>
        <Usa_Plantilla>string</Usa_Plantilla>
        <Actividad>string</Actividad>
        <_codsEquipos>string</_codsEquipos>
        <NUM_VERSION>int</NUM_VERSION>
        <REF_PNT>string</REF_PNT>
        <FREC_BASE_DIA>int</FREC_BASE_DIA>
        <FREC_BASE_MED>int</FREC_BASE_MED>
        <NOM_CREA>string</NOM_CREA>
        <USUARIO>string</USUARIO>
        <_COD_PLAN_MANT_EQUIPO>int</_COD_PLAN_MANT_EQUIPO>
        <ESTADO>char</ESTADO>
        <COD_PLAN_MANT_EQUIPO>int</COD_PLAN_MANT_EQUIPO>
        <COD_PLAN_MANT_EQUIPO_ANT>int</COD_PLAN_MANT_EQUIPO_ANT>
        <COD_COMPONENTE>string</COD_COMPONENTE>
        <COD_SUBCOMPONENTE>string</COD_SUBCOMPONENTE>
        <COD_TAREA_PREVENTIVA>string</COD_TAREA_PREVENTIVA>
        <FREC_DIA>decimal</FREC_DIA>
        <FREC_MED>decimal</FREC_MED>
        <ULTIMO_MEDIDOR>decimal</ULTIMO_MEDIDOR>
        <ULTIMA_FECHA_MANT>dateTime</ULTIMA_FECHA_MANT>
        <FECHA_MODIFICADA>string</FECHA_MODIFICADA>
        <NOM_COMPONENTE>string</NOM_COMPONENTE>
        <NOM_SUBCOMPONENTE>string</NOM_SUBCOMPONENTE>
        <DESC_TAREA_PREVENTIVA>string</DESC_TAREA_PREVENTIVA>
        <_ProveedorAsignado>string</_ProveedorAsignado>
        <Pc>string</Pc>
        <Marca>int</Marca>
        <Modelo>int</Modelo>
        <NomUsuario>string</NomUsuario>
        <Equipos>string</Equipos>
        <cantequipos>int</cantequipos>
        <_fechaDesde>string</_fechaDesde>
        <_fechaHasta>string</_fechaHasta>
        <_OP>string</_OP>
        <_codProveedor>int</_codProveedor>
        <_tipoProveedor>string</_tipoProveedor>
        <_sCodBodega>string</_sCodBodega>
        <Tipo_Medidor>int</Tipo_Medidor>
        <Cod_equipo_c />
        <Cod_subgrupo_c />
        <_codRepuesto>int</_codRepuesto>
        <_cantRequerida>double</_cantRequerida>
        <_descRepuesto>string</_descRepuesto>
        <_numParte>string</_numParte>
        <_codInventario>string</_codInventario>
        <_presentacion>string</_presentacion>
        <_duracion>decimal</_duracion>
        <_costo_servicio>decimal</_costo_servicio>
        <_archivo>base64Binary</_archivo>
        <_nom_archivo>string</_nom_archivo>
        <_observacion>string</_observacion>
        <_errNumero>int</_errNumero>
        <_errDetalle>string</_errDetalle>
        <_errLinea>int</_errLinea>
        <fecUsuarioResponsable>string</fecUsuarioResponsable>
        <NOMBREAPROBADORRESPONSABLE>string</NOMBREAPROBADORRESPONSABLE>
        <COD_PROV_ASIGNADO>int</COD_PROV_ASIGNADO>
        <USR_APROBADOR_ASIGNADO>string</USR_APROBADOR_ASIGNADO>
        <_criterio>int</_criterio>
        <_tipoFacilitador>int</_tipoFacilitador>
        <_codTipoTrabajo>int</_codTipoTrabajo>
        <_buscar>string</_buscar>
        <_mant_modificado>string</_mant_modificado>
        <_cod_reprog_mant_prev>int</_cod_reprog_mant_prev>
        <_cod_motivo_repro>int</_cod_motivo_repro>
        <_cod_autorizado_por>int</_cod_autorizado_por>
        <_nom_autorizado_por>string</_nom_autorizado_por>
        <_justificacion>string</_justificacion>
        <_fec_reprogramacion>string</_fec_reprogramacion>
        <_med_reprogramacion>int</_med_reprogramacion>
        <_predictivo>char</_predictivo>
        <lineas>
          <cls_PlanMantEquipo_Detalle />
          <cls_PlanMantEquipo_Detalle />
        </lineas>
        <_listaItemsActividadesPreventiva>string</_listaItemsActividadesPreventiva>
        <_listaItemsActividadesPredictiva>string</_listaItemsActividadesPredictiva>
        <_codArchivo>int</_codArchivo>
        <_cod_solicitado_por>int</_cod_solicitado_por>
        <_nom_solicitado_por>string</_nom_solicitado_por>
        <_factorPreventivo>double</_factorPreventivo>
        <_factorCorrectivo>double</_factorCorrectivo>
      </fpLLenaLineasPlanManEquipoResult>
    </fpLLenaLineasPlanManEquipoResponse>
  </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 /servPlanMantEquipo.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>
    <fpLLenaLineasPlanManEquipo xmlns="http://sinfoec.com/">
      <oPlanMantEquipo>
        <_codArea>int</_codArea>
        <_codGrupo>int</_codGrupo>
        <_codSubgrupo>int</_codSubgrupo>
        <_codEquipo>int</_codEquipo>
        <COD_TIPO_EQUIPO>int</COD_TIPO_EQUIPO>
        <Usa_Plantilla>string</Usa_Plantilla>
        <Actividad>string</Actividad>
        <_codsEquipos>string</_codsEquipos>
        <NUM_VERSION>int</NUM_VERSION>
        <REF_PNT>string</REF_PNT>
        <FREC_BASE_DIA>int</FREC_BASE_DIA>
        <FREC_BASE_MED>int</FREC_BASE_MED>
        <NOM_CREA>string</NOM_CREA>
        <USUARIO>string</USUARIO>
        <_COD_PLAN_MANT_EQUIPO>int</_COD_PLAN_MANT_EQUIPO>
        <ESTADO>char</ESTADO>
        <COD_PLAN_MANT_EQUIPO>int</COD_PLAN_MANT_EQUIPO>
        <COD_PLAN_MANT_EQUIPO_ANT>int</COD_PLAN_MANT_EQUIPO_ANT>
        <COD_COMPONENTE>string</COD_COMPONENTE>
        <COD_SUBCOMPONENTE>string</COD_SUBCOMPONENTE>
        <COD_TAREA_PREVENTIVA>string</COD_TAREA_PREVENTIVA>
        <FREC_DIA>decimal</FREC_DIA>
        <FREC_MED>decimal</FREC_MED>
        <ULTIMO_MEDIDOR>decimal</ULTIMO_MEDIDOR>
        <ULTIMA_FECHA_MANT>dateTime</ULTIMA_FECHA_MANT>
        <FECHA_MODIFICADA>string</FECHA_MODIFICADA>
        <NOM_COMPONENTE>string</NOM_COMPONENTE>
        <NOM_SUBCOMPONENTE>string</NOM_SUBCOMPONENTE>
        <DESC_TAREA_PREVENTIVA>string</DESC_TAREA_PREVENTIVA>
        <_ProveedorAsignado>string</_ProveedorAsignado>
        <Pc>string</Pc>
        <Marca>int</Marca>
        <Modelo>int</Modelo>
        <NomUsuario>string</NomUsuario>
        <Equipos>string</Equipos>
        <cantequipos>int</cantequipos>
        <_fechaDesde>string</_fechaDesde>
        <_fechaHasta>string</_fechaHasta>
        <_OP>string</_OP>
        <_codProveedor>int</_codProveedor>
        <_tipoProveedor>string</_tipoProveedor>
        <_sCodBodega>string</_sCodBodega>
        <Tipo_Medidor>int</Tipo_Medidor>
        <Cod_equipo_c />
        <Cod_subgrupo_c />
        <_codRepuesto>int</_codRepuesto>
        <_cantRequerida>double</_cantRequerida>
        <_descRepuesto>string</_descRepuesto>
        <_numParte>string</_numParte>
        <_codInventario>string</_codInventario>
        <_presentacion>string</_presentacion>
        <_duracion>decimal</_duracion>
        <_costo_servicio>decimal</_costo_servicio>
        <_archivo>base64Binary</_archivo>
        <_nom_archivo>string</_nom_archivo>
        <_observacion>string</_observacion>
        <_errNumero>int</_errNumero>
        <_errDetalle>string</_errDetalle>
        <_errLinea>int</_errLinea>
        <fecUsuarioResponsable>string</fecUsuarioResponsable>
        <NOMBREAPROBADORRESPONSABLE>string</NOMBREAPROBADORRESPONSABLE>
        <COD_PROV_ASIGNADO>int</COD_PROV_ASIGNADO>
        <USR_APROBADOR_ASIGNADO>string</USR_APROBADOR_ASIGNADO>
        <_criterio>int</_criterio>
        <_tipoFacilitador>int</_tipoFacilitador>
        <_codTipoTrabajo>int</_codTipoTrabajo>
        <_buscar>string</_buscar>
        <_mant_modificado>string</_mant_modificado>
        <_cod_reprog_mant_prev>int</_cod_reprog_mant_prev>
        <_cod_motivo_repro>int</_cod_motivo_repro>
        <_cod_autorizado_por>int</_cod_autorizado_por>
        <_nom_autorizado_por>string</_nom_autorizado_por>
        <_justificacion>string</_justificacion>
        <_fec_reprogramacion>string</_fec_reprogramacion>
        <_med_reprogramacion>int</_med_reprogramacion>
        <_predictivo>char</_predictivo>
        <lineas>
          <cls_PlanMantEquipo_Detalle />
          <cls_PlanMantEquipo_Detalle />
        </lineas>
        <_listaItemsActividadesPreventiva>string</_listaItemsActividadesPreventiva>
        <_listaItemsActividadesPredictiva>string</_listaItemsActividadesPredictiva>
        <_codArchivo>int</_codArchivo>
        <_cod_solicitado_por>int</_cod_solicitado_por>
        <_nom_solicitado_por>string</_nom_solicitado_por>
        <_factorPreventivo>double</_factorPreventivo>
        <_factorCorrectivo>double</_factorCorrectivo>
      </oPlanMantEquipo>
      <oPlanMantEquipo_Detalle />
    </fpLLenaLineasPlanManEquipo>
  </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>
    <fpLLenaLineasPlanManEquipoResponse xmlns="http://sinfoec.com/">
      <fpLLenaLineasPlanManEquipoResult>
        <_codArea>int</_codArea>
        <_codGrupo>int</_codGrupo>
        <_codSubgrupo>int</_codSubgrupo>
        <_codEquipo>int</_codEquipo>
        <COD_TIPO_EQUIPO>int</COD_TIPO_EQUIPO>
        <Usa_Plantilla>string</Usa_Plantilla>
        <Actividad>string</Actividad>
        <_codsEquipos>string</_codsEquipos>
        <NUM_VERSION>int</NUM_VERSION>
        <REF_PNT>string</REF_PNT>
        <FREC_BASE_DIA>int</FREC_BASE_DIA>
        <FREC_BASE_MED>int</FREC_BASE_MED>
        <NOM_CREA>string</NOM_CREA>
        <USUARIO>string</USUARIO>
        <_COD_PLAN_MANT_EQUIPO>int</_COD_PLAN_MANT_EQUIPO>
        <ESTADO>char</ESTADO>
        <COD_PLAN_MANT_EQUIPO>int</COD_PLAN_MANT_EQUIPO>
        <COD_PLAN_MANT_EQUIPO_ANT>int</COD_PLAN_MANT_EQUIPO_ANT>
        <COD_COMPONENTE>string</COD_COMPONENTE>
        <COD_SUBCOMPONENTE>string</COD_SUBCOMPONENTE>
        <COD_TAREA_PREVENTIVA>string</COD_TAREA_PREVENTIVA>
        <FREC_DIA>decimal</FREC_DIA>
        <FREC_MED>decimal</FREC_MED>
        <ULTIMO_MEDIDOR>decimal</ULTIMO_MEDIDOR>
        <ULTIMA_FECHA_MANT>dateTime</ULTIMA_FECHA_MANT>
        <FECHA_MODIFICADA>string</FECHA_MODIFICADA>
        <NOM_COMPONENTE>string</NOM_COMPONENTE>
        <NOM_SUBCOMPONENTE>string</NOM_SUBCOMPONENTE>
        <DESC_TAREA_PREVENTIVA>string</DESC_TAREA_PREVENTIVA>
        <_ProveedorAsignado>string</_ProveedorAsignado>
        <Pc>string</Pc>
        <Marca>int</Marca>
        <Modelo>int</Modelo>
        <NomUsuario>string</NomUsuario>
        <Equipos>string</Equipos>
        <cantequipos>int</cantequipos>
        <_fechaDesde>string</_fechaDesde>
        <_fechaHasta>string</_fechaHasta>
        <_OP>string</_OP>
        <_codProveedor>int</_codProveedor>
        <_tipoProveedor>string</_tipoProveedor>
        <_sCodBodega>string</_sCodBodega>
        <Tipo_Medidor>int</Tipo_Medidor>
        <Cod_equipo_c />
        <Cod_subgrupo_c />
        <_codRepuesto>int</_codRepuesto>
        <_cantRequerida>double</_cantRequerida>
        <_descRepuesto>string</_descRepuesto>
        <_numParte>string</_numParte>
        <_codInventario>string</_codInventario>
        <_presentacion>string</_presentacion>
        <_duracion>decimal</_duracion>
        <_costo_servicio>decimal</_costo_servicio>
        <_archivo>base64Binary</_archivo>
        <_nom_archivo>string</_nom_archivo>
        <_observacion>string</_observacion>
        <_errNumero>int</_errNumero>
        <_errDetalle>string</_errDetalle>
        <_errLinea>int</_errLinea>
        <fecUsuarioResponsable>string</fecUsuarioResponsable>
        <NOMBREAPROBADORRESPONSABLE>string</NOMBREAPROBADORRESPONSABLE>
        <COD_PROV_ASIGNADO>int</COD_PROV_ASIGNADO>
        <USR_APROBADOR_ASIGNADO>string</USR_APROBADOR_ASIGNADO>
        <_criterio>int</_criterio>
        <_tipoFacilitador>int</_tipoFacilitador>
        <_codTipoTrabajo>int</_codTipoTrabajo>
        <_buscar>string</_buscar>
        <_mant_modificado>string</_mant_modificado>
        <_cod_reprog_mant_prev>int</_cod_reprog_mant_prev>
        <_cod_motivo_repro>int</_cod_motivo_repro>
        <_cod_autorizado_por>int</_cod_autorizado_por>
        <_nom_autorizado_por>string</_nom_autorizado_por>
        <_justificacion>string</_justificacion>
        <_fec_reprogramacion>string</_fec_reprogramacion>
        <_med_reprogramacion>int</_med_reprogramacion>
        <_predictivo>char</_predictivo>
        <lineas>
          <cls_PlanMantEquipo_Detalle />
          <cls_PlanMantEquipo_Detalle />
        </lineas>
        <_listaItemsActividadesPreventiva>string</_listaItemsActividadesPreventiva>
        <_listaItemsActividadesPredictiva>string</_listaItemsActividadesPredictiva>
        <_codArchivo>int</_codArchivo>
        <_cod_solicitado_por>int</_cod_solicitado_por>
        <_nom_solicitado_por>string</_nom_solicitado_por>
        <_factorPreventivo>double</_factorPreventivo>
        <_factorCorrectivo>double</_factorCorrectivo>
      </fpLLenaLineasPlanManEquipoResult>
    </fpLLenaLineasPlanManEquipoResponse>
  </soap12:Body>
</soap12:Envelope>