Can anybody help me out to how to query the successfactors to get only the latest job information?
I am using SFOData.Person api.
as far as I can see you have two ways to get this:
1) filter right on the query by setting a filter parameter in the Operation:
2) whenever you get the XML (with the old job information as well) filter your XML with a business shape.
I hope this will help you a little further, if not, let me know!
Use either EmpJob or SFOData.EmpJob object to get the latest job details. Use the filter condition person_id_external to send the employee id. Compound Employee would give you complete history of Job details and other personal and employment details.
I am not getting your point.
Greater part of successfactors objects has a timeline.
Usually SFSF returns the current record but not means that the record is the last updated or the newest one. For example you make a termination for the next month and this would be the latest record updated and the latest one.
When you request a record to SFSF return the current newest one (today is inside the record). Some objects allow to create several records for the same beginning day but only the newest one would be returned.
If you request all records for an interval date you would request all changes (all sequence numbers included the previous values not valid at this moment).
In some cases i have requested the last record of a timeline and i have requested for date 99991231.
Retrieving data ...