on 2017 Oct 02 8:31 PM
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
Request clarification before answering.
Hello Jay,
Please use
queryMode=periodDelta;resultOptions=isNotFirstQuery;resultOption=renderPreviousTags
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Jay,
Could you please try this
queryMode=periodDelta;resultOptions=isNotFirstQuery,renderPreviousTags
Regards,
Suresh.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
<urn:name>resultOptions</urn:name><urn:value>renderPreviousTags,IsNotFirstQuery</urn:value>
use it like this
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
10 | |
7 | |
7 | |
4 | |
3 | |
2 | |
2 | |
2 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.