cancel
Showing results for 
Search instead for 
Did you mean: 

SAP HCI SuccessFactors Adapter Compound Employee periodDelta resultsOptions IsNotFirstQuery

jmalla
Contributor
0 Kudos

We need to get the period based delta records for the SuccessFactors Compound Employee API using the SAP HCI SuccessFactors adapter.

We have specified the following but we are not sure if this is the correct way:

queryMode=previousDelta;resultOptions=renderPreviousTags,IsNotFirstQuery

Anyone have experience calling the Compound Employee API for period based deltas from SAP HCI?

Running the interface from SOAP toolkit, this SOAP call works great.

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:urn="urn:sfobject.sfapi.successfactors.com">
   <soapenv:Header/>
   <soapenv:Body>
      <urn:query>
         <urn:queryString>SELECT person, address_information, email_information, employment_information, compensation_information, paycompensation_recurring, global_assignment_information, job_information, national_id_card, personal_information FROM CompoundEmployee WHERE  company ='010' and last_modified_on > to_datetime('2017-09-25T00:00:00Z') and fromDate = to_date('2017-10-01','YYYY-MM-DD')  and toDate =  to_date('2017-10-14','YYYY-MM-DD')  ORDER BY  start_date DESC</urn:queryString>
         <!--Zero or more repetitions:-->
         <urn:param>
            <urn:name>queryMode</urn:name>
            <urn:value>delta</urn:value>
         </urn:param>
         <urn:param>
            <urn:name>resultOptions</urn:name>
            <urn:value>renderPreviousTags</urn:value>
         </urn:param>
         <urn:param>
            <urn:name>resultOptions</urn:name>
            <urn:value>IsNotFirstQuery</urn:value>
         </urn:param>
      </urn:query>
   </soapenv:Body>
</soapenv:Envelope>

But the question is whether the SuccessFactors HCI adapter, takes the multiple values in the resultOptions and creates separate tags -

1. resultOptions=renderPreviousTags,IsNotFirstQuery

or do I need to send this like this?

2. resultOptions=renderPreviousTags;resultOptions=IsNotFirstQuery

Thanks for any help in advance.

Regards,

Jay

Accepted Solutions (0)

Answers (3)

Answers (3)

0 Kudos

Hello Jay,

Please use

queryMode=periodDelta;resultOptions=isNotFirstQuery;resultOption=renderPreviousTags

0 Kudos

Hi Jay,

Could you please try this

queryMode=periodDelta;resultOptions=isNotFirstQuery,renderPreviousTags

Regards,

Suresh.

Rutuja_Thakre
Explorer
0 Kudos

<urn:name>resultOptions</urn:name><urn:value>renderPreviousTags,IsNotFirstQuery</urn:value>

use it like this