WS_HumanCapital


Click here for a complete list of operations.

CargueEmpleado

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 /WS_HumanCapital.asmx HTTP/1.1
Host: www.aplicaciones.humancapital.com.co
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://tempuri.org/CargueEmpleado"

<?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:Header>
    <SecuredWebServiceHeader xmlns="http://tempuri.org/">
      <AuthenticatedToken>string</AuthenticatedToken>
    </SecuredWebServiceHeader>
  </soap:Header>
  <soap:Body>
    <CargueEmpleado xmlns="http://tempuri.org/">
      <Empleado>
        <DatosEmpleado>
          <NoContrato>long</NoContrato>
          <CodAlterno>string</CodAlterno>
          <NoDocumento>long</NoDocumento>
          <Zona>string</Zona>
          <CentroCosto>string</CentroCosto>
          <Unidad>string</Unidad>
          <Cargo>string</Cargo>
          <TipoVinculacion>string</TipoVinculacion>
          <FechaIngreso>dateTime</FechaIngreso>
          <FechaRetiro>dateTime</FechaRetiro>
          <Fechaenganche>dateTime</Fechaenganche>
          <FechaFinContrato>dateTime</FechaFinContrato>
          <Sueldo>long</Sueldo>
          <ValorCupo>long</ValorCupo>
          <TotalRemuneracion>long</TotalRemuneracion>
          <FechaSueldo>dateTime</FechaSueldo>
          <Estado>string</Estado>
          <LineaCosto>string</LineaCosto>
          <PeriodicidadPago>string</PeriodicidadPago>
          <TipoPension>string</TipoPension>
          <CodEmpresa>long</CodEmpresa>
          <CiudadLabora>string</CiudadLabora>
          <CodMotivoRetiro>long</CodMotivoRetiro>
          <EntidadSalud>string</EntidadSalud>
          <EntidadPension>string</EntidadPension>
          <EntidadCaja>string</EntidadCaja>
          <EntidadRiesgos>string</EntidadRiesgos>
          <GrupoRiesgos>string</GrupoRiesgos>
          <EntidadCesantias>string</EntidadCesantias>
          <MetodoRetencion>long</MetodoRetencion>
          <PorcentajeRetencion>long</PorcentajeRetencion>
          <CodBancoEmpresa>string</CodBancoEmpresa>
          <CodBancoEmpleado>string</CodBancoEmpleado>
          <NroCuenta>string</NroCuenta>
          <TipoCuenta>string</TipoCuenta>
          <SabadoHabil>string</SabadoHabil>
          <HorasLabMes>string</HorasLabMes>
          <CedulaJefe>long</CedulaJefe>
          <Clase_empleado>string</Clase_empleado>
          <PorcAnticipo>long</PorcAnticipo>
        </DatosEmpleado>
        <DatosEmpleado>
          <NoContrato>long</NoContrato>
          <CodAlterno>string</CodAlterno>
          <NoDocumento>long</NoDocumento>
          <Zona>string</Zona>
          <CentroCosto>string</CentroCosto>
          <Unidad>string</Unidad>
          <Cargo>string</Cargo>
          <TipoVinculacion>string</TipoVinculacion>
          <FechaIngreso>dateTime</FechaIngreso>
          <FechaRetiro>dateTime</FechaRetiro>
          <Fechaenganche>dateTime</Fechaenganche>
          <FechaFinContrato>dateTime</FechaFinContrato>
          <Sueldo>long</Sueldo>
          <ValorCupo>long</ValorCupo>
          <TotalRemuneracion>long</TotalRemuneracion>
          <FechaSueldo>dateTime</FechaSueldo>
          <Estado>string</Estado>
          <LineaCosto>string</LineaCosto>
          <PeriodicidadPago>string</PeriodicidadPago>
          <TipoPension>string</TipoPension>
          <CodEmpresa>long</CodEmpresa>
          <CiudadLabora>string</CiudadLabora>
          <CodMotivoRetiro>long</CodMotivoRetiro>
          <EntidadSalud>string</EntidadSalud>
          <EntidadPension>string</EntidadPension>
          <EntidadCaja>string</EntidadCaja>
          <EntidadRiesgos>string</EntidadRiesgos>
          <GrupoRiesgos>string</GrupoRiesgos>
          <EntidadCesantias>string</EntidadCesantias>
          <MetodoRetencion>long</MetodoRetencion>
          <PorcentajeRetencion>long</PorcentajeRetencion>
          <CodBancoEmpresa>string</CodBancoEmpresa>
          <CodBancoEmpleado>string</CodBancoEmpleado>
          <NroCuenta>string</NroCuenta>
          <TipoCuenta>string</TipoCuenta>
          <SabadoHabil>string</SabadoHabil>
          <HorasLabMes>string</HorasLabMes>
          <CedulaJefe>long</CedulaJefe>
          <Clase_empleado>string</Clase_empleado>
          <PorcAnticipo>long</PorcAnticipo>
        </DatosEmpleado>
      </Empleado>
    </CargueEmpleado>
  </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>
    <CargueEmpleadoResponse xmlns="http://tempuri.org/">
      <CargueEmpleadoResult>
        <TipoHVHumanCapital>
          <Linea>string</Linea>
          <LLAVE>string</LLAVE>
          <COD_PROCESO>string</COD_PROCESO>
          <NUME_LINEA>string</NUME_LINEA>
          <MensajeError>string</MensajeError>
        </TipoHVHumanCapital>
        <TipoHVHumanCapital>
          <Linea>string</Linea>
          <LLAVE>string</LLAVE>
          <COD_PROCESO>string</COD_PROCESO>
          <NUME_LINEA>string</NUME_LINEA>
          <MensajeError>string</MensajeError>
        </TipoHVHumanCapital>
      </CargueEmpleadoResult>
    </CargueEmpleadoResponse>
  </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 /WS_HumanCapital.asmx HTTP/1.1
Host: www.aplicaciones.humancapital.com.co
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:Header>
    <SecuredWebServiceHeader xmlns="http://tempuri.org/">
      <AuthenticatedToken>string</AuthenticatedToken>
    </SecuredWebServiceHeader>
  </soap12:Header>
  <soap12:Body>
    <CargueEmpleado xmlns="http://tempuri.org/">
      <Empleado>
        <DatosEmpleado>
          <NoContrato>long</NoContrato>
          <CodAlterno>string</CodAlterno>
          <NoDocumento>long</NoDocumento>
          <Zona>string</Zona>
          <CentroCosto>string</CentroCosto>
          <Unidad>string</Unidad>
          <Cargo>string</Cargo>
          <TipoVinculacion>string</TipoVinculacion>
          <FechaIngreso>dateTime</FechaIngreso>
          <FechaRetiro>dateTime</FechaRetiro>
          <Fechaenganche>dateTime</Fechaenganche>
          <FechaFinContrato>dateTime</FechaFinContrato>
          <Sueldo>long</Sueldo>
          <ValorCupo>long</ValorCupo>
          <TotalRemuneracion>long</TotalRemuneracion>
          <FechaSueldo>dateTime</FechaSueldo>
          <Estado>string</Estado>
          <LineaCosto>string</LineaCosto>
          <PeriodicidadPago>string</PeriodicidadPago>
          <TipoPension>string</TipoPension>
          <CodEmpresa>long</CodEmpresa>
          <CiudadLabora>string</CiudadLabora>
          <CodMotivoRetiro>long</CodMotivoRetiro>
          <EntidadSalud>string</EntidadSalud>
          <EntidadPension>string</EntidadPension>
          <EntidadCaja>string</EntidadCaja>
          <EntidadRiesgos>string</EntidadRiesgos>
          <GrupoRiesgos>string</GrupoRiesgos>
          <EntidadCesantias>string</EntidadCesantias>
          <MetodoRetencion>long</MetodoRetencion>
          <PorcentajeRetencion>long</PorcentajeRetencion>
          <CodBancoEmpresa>string</CodBancoEmpresa>
          <CodBancoEmpleado>string</CodBancoEmpleado>
          <NroCuenta>string</NroCuenta>
          <TipoCuenta>string</TipoCuenta>
          <SabadoHabil>string</SabadoHabil>
          <HorasLabMes>string</HorasLabMes>
          <CedulaJefe>long</CedulaJefe>
          <Clase_empleado>string</Clase_empleado>
          <PorcAnticipo>long</PorcAnticipo>
        </DatosEmpleado>
        <DatosEmpleado>
          <NoContrato>long</NoContrato>
          <CodAlterno>string</CodAlterno>
          <NoDocumento>long</NoDocumento>
          <Zona>string</Zona>
          <CentroCosto>string</CentroCosto>
          <Unidad>string</Unidad>
          <Cargo>string</Cargo>
          <TipoVinculacion>string</TipoVinculacion>
          <FechaIngreso>dateTime</FechaIngreso>
          <FechaRetiro>dateTime</FechaRetiro>
          <Fechaenganche>dateTime</Fechaenganche>
          <FechaFinContrato>dateTime</FechaFinContrato>
          <Sueldo>long</Sueldo>
          <ValorCupo>long</ValorCupo>
          <TotalRemuneracion>long</TotalRemuneracion>
          <FechaSueldo>dateTime</FechaSueldo>
          <Estado>string</Estado>
          <LineaCosto>string</LineaCosto>
          <PeriodicidadPago>string</PeriodicidadPago>
          <TipoPension>string</TipoPension>
          <CodEmpresa>long</CodEmpresa>
          <CiudadLabora>string</CiudadLabora>
          <CodMotivoRetiro>long</CodMotivoRetiro>
          <EntidadSalud>string</EntidadSalud>
          <EntidadPension>string</EntidadPension>
          <EntidadCaja>string</EntidadCaja>
          <EntidadRiesgos>string</EntidadRiesgos>
          <GrupoRiesgos>string</GrupoRiesgos>
          <EntidadCesantias>string</EntidadCesantias>
          <MetodoRetencion>long</MetodoRetencion>
          <PorcentajeRetencion>long</PorcentajeRetencion>
          <CodBancoEmpresa>string</CodBancoEmpresa>
          <CodBancoEmpleado>string</CodBancoEmpleado>
          <NroCuenta>string</NroCuenta>
          <TipoCuenta>string</TipoCuenta>
          <SabadoHabil>string</SabadoHabil>
          <HorasLabMes>string</HorasLabMes>
          <CedulaJefe>long</CedulaJefe>
          <Clase_empleado>string</Clase_empleado>
          <PorcAnticipo>long</PorcAnticipo>
        </DatosEmpleado>
      </Empleado>
    </CargueEmpleado>
  </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>
    <CargueEmpleadoResponse xmlns="http://tempuri.org/">
      <CargueEmpleadoResult>
        <TipoHVHumanCapital>
          <Linea>string</Linea>
          <LLAVE>string</LLAVE>
          <COD_PROCESO>string</COD_PROCESO>
          <NUME_LINEA>string</NUME_LINEA>
          <MensajeError>string</MensajeError>
        </TipoHVHumanCapital>
        <TipoHVHumanCapital>
          <Linea>string</Linea>
          <LLAVE>string</LLAVE>
          <COD_PROCESO>string</COD_PROCESO>
          <NUME_LINEA>string</NUME_LINEA>
          <MensajeError>string</MensajeError>
        </TipoHVHumanCapital>
      </CargueEmpleadoResult>
    </CargueEmpleadoResponse>
  </soap12:Body>
</soap12:Envelope>