Tuesday 23 July 2019

Sample Taleo Request to get Candidate Details

<soapenv:Envelope xmlns:par="http://hostname/common/xsd/parent" xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
   <soapenv:Header>
      <wsse:Security soapenv:mustUnderstand="1" xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd">
         <wsse:UsernameToken wsu:Id="UsernameToken">
            <wsse:Username>UserName</wsse:Username>
            <wsse:Password Type="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#PasswordText">Password</wsse:Password>
            <wsse:Nonce EncodingType="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-soap-message-security-1.0#Base64Binary"></wsse:Nonce>
            <wsu:Created>2019-06-14T05:13:04.056Z</wsu:Created>
         </wsse:UsernameToken>
      </wsse:Security>
   </soapenv:Header>
   <soapenv:Body>
      <findPartialEntities xmlns="http://www.taleo.com/ws/tee800/2009/01/find" xmlns:client="http://xmlns.oracle.com/GetNewHireDetailsFrmTaleo/GetNewHireDetailsFrmTaleo" xmlns:ns1="http://itk.taleo.com/ws/query" xmlns:ns2="http://www.taleo.com/ws/tee800/2009/01" xmlns:ns3="http://www.taleo.com/ws/integration/toolkit/2005/07" xmlns:plnk="http://docs.oasis-open.org/wsbpel/2.0/plnktype" xmlns:soap11="http://schemas.xmlsoap.org/soap/envelope/" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope" xmlns:soapenc11="http://schemas.xmlsoap.org/soap/encoding/" xmlns:soapenc12="http://www.w3.org/2003/05/soap-encoding" xmlns:tns="http://www.taleo.com/ws/tee800/2009/01/find" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:wsdlsoap="http://schemas.xmlsoap.org/wsdl/soap/">
         <tns:mappingVersion>http://www.taleo.com/ws/tee800/2009/01</tns:mappingVersion>
         <tns:query>
            <ns1:query alias="Find New Hires" attributes="perfo.max.relation.deepness=8" locale="en" preventDuplicates="false" projectedClass="Candidate">
               <ns1:subQueries/>
               <ns1:projections>
                  <ns1:projection>
                     <ns1:field path="Number"/>
                  </ns1:projection>
                  <ns1:projection>
                     <ns1:field path="DiversityAnswers,Question,Code"/>
                  </ns1:projection>
                  <ns1:projection>
                     <ns1:field path="DiversityAnswers,PossibleAnswer,Description"/>
                  </ns1:projection>
                  <ns1:projection alias="RecruitmentSource">
                     <ns1:field path="TalentUser,Profile,RecruitmentSource,Description"/>
                  </ns1:projection>
                  <ns1:projection alias="sourceType">
                     <ns1:field path="TalentUser,Profile,RecruitmentSource,Type,RecruitmentSourceType.CustomDescription"/>
                  </ns1:projection>
                  <ns1:projection alias="studyLevel">
                     <ns1:field path="TalentUser,Profile,Studies,StudyLevel,StudyLevel.Code"/>
                  </ns1:projection>
               </ns1:projections>
               <ns1:filterings>
                  <ns1:filtering>
                     <ns1:equal>
                        <ns1:field path="Number"/>
                        <ns1:string>$CandidateId</ns1:string>
                     </ns1:equal>
                  </ns1:filtering>
               </ns1:filterings>
               <ns1:sortings>
                  <ns1:sorting>
                     <ns1:field path="Number"/>
                  </ns1:sorting>
               </ns1:sortings>
            </ns1:query>
         </tns:query>
         <tns:attributes>
            <tns:entry>
               <tns:key>pageindex</tns:key>
               <tns:value>1</tns:value>
            </tns:entry>
         </tns:attributes>
      </findPartialEntities>
   </soapenv:Body>
</soapenv:Envelope>

No comments:

Post a Comment

IDCS - Identity Federation with Azure and Google (SAML IDP & Social IDP)

  Collect IDCS Meta Data Enable "Access Signing Certificate" option to get the IDCS metadata.   Default Domain Settings ->  Sel...