Skip to Content

SAP HCI SuccessFactors Adapter Compound Employee periodDelta resultsOptions IsNotFirstQuery

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

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Oct 11 at 11:55 AM

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

    use it like this

    Add comment
    10|10000 characters needed characters exceeded