operaciones


Click here for a complete list of operations.

AgregarPostulante

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 /PersonnelPostulante/services/operaciones.asmx HTTP/1.1
Host: postulantes.spm.pe
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://tempuri.org/AgregarPostulante"

<?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>
    <AgregarPostulante xmlns="http://tempuri.org/">
      <sCodTipoPersona>string</sCodTipoPersona>
      <sCodCia>string</sCodCia>
      <sResponsable>string</sResponsable>
      <sCodGru>string</sCodGru>
      <sCCosto>string</sCCosto>
      <sReingreso>string</sReingreso>
      <sCodTra>string</sCodTra>
      <sPriNomPos>string</sPriNomPos>
      <sSegNomPos>string</sSegNomPos>
      <sApePatPos>string</sApePatPos>
      <sApeMatPos>string</sApeMatPos>
      <sDireccion>string</sDireccion>
      <sTelefonos>string</sTelefonos>
      <sLicenciaConducir>string</sLicenciaConducir>
      <sTipoLicenciaConducir>string</sTipoLicenciaConducir>
      <sTipDocIde>string</sTipDocIde>
      <sNumDocIde>string</sNumDocIde>
      <sFecNac>string</sFecNac>
      <sCodAre>string</sCodAre>
      <sCodUsu>string</sCodUsu>
      <sFechaIni>string</sFechaIni>
      <sFechaFin>string</sFechaFin>
    </AgregarPostulante>
  </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>
    <AgregarPostulanteResponse xmlns="http://tempuri.org/">
      <AgregarPostulanteResult>
        <BolExito>boolean</BolExito>
        <StrError>string</StrError>
        <BolExitoValida>boolean</BolExitoValida>
        <StrErrorValida>string</StrErrorValida>
        <CodRetorno>string</CodRetorno>
        <ObjRetorno />
      </AgregarPostulanteResult>
    </AgregarPostulanteResponse>
  </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 /PersonnelPostulante/services/operaciones.asmx HTTP/1.1
Host: postulantes.spm.pe
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>
    <AgregarPostulante xmlns="http://tempuri.org/">
      <sCodTipoPersona>string</sCodTipoPersona>
      <sCodCia>string</sCodCia>
      <sResponsable>string</sResponsable>
      <sCodGru>string</sCodGru>
      <sCCosto>string</sCCosto>
      <sReingreso>string</sReingreso>
      <sCodTra>string</sCodTra>
      <sPriNomPos>string</sPriNomPos>
      <sSegNomPos>string</sSegNomPos>
      <sApePatPos>string</sApePatPos>
      <sApeMatPos>string</sApeMatPos>
      <sDireccion>string</sDireccion>
      <sTelefonos>string</sTelefonos>
      <sLicenciaConducir>string</sLicenciaConducir>
      <sTipoLicenciaConducir>string</sTipoLicenciaConducir>
      <sTipDocIde>string</sTipDocIde>
      <sNumDocIde>string</sNumDocIde>
      <sFecNac>string</sFecNac>
      <sCodAre>string</sCodAre>
      <sCodUsu>string</sCodUsu>
      <sFechaIni>string</sFechaIni>
      <sFechaFin>string</sFechaFin>
    </AgregarPostulante>
  </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>
    <AgregarPostulanteResponse xmlns="http://tempuri.org/">
      <AgregarPostulanteResult>
        <BolExito>boolean</BolExito>
        <StrError>string</StrError>
        <BolExitoValida>boolean</BolExitoValida>
        <StrErrorValida>string</StrErrorValida>
        <CodRetorno>string</CodRetorno>
        <ObjRetorno />
      </AgregarPostulanteResult>
    </AgregarPostulanteResponse>
  </soap12:Body>
</soap12:Envelope>