SAP Knowledge Base Article - Public

3114087 - Is it possible to query LastModificationDate of a Requisition field using the entity JobRequisitionPosting via OData API? - Recruiting Management

Symptom

How to use JobRequisitionPosting Entity to track changes made in the Requisition fields?  

Environment

SAP SuccessFactors Recruiting Management 

Resolution

It is not possible to perform such action to extract the required data. The JobRequisitionPosting property lastModifiedDateTime stores only the modification timestamp of a Job Posting, not changes done in a Requisition field.

As an example, using the respective entity to see the last modified date by querying the Requisition where a job was only posted (not removed), is possible to see that it is the same as the Start Date, not changes done within Requisition: 

"results": [
            {
                "__metadata": {
                    "uri": "https://apisalesdemo4.successfactors.com:443/odata/v2/JobRequisitionPosting(jobPostingId=1710L,jobReqId=2905L)",
                    "type": "SFOData.JobRequisitionPosting"
                },
                "jobReqId": "2905",
                "lastModifiedDateTime": "/Date(1610403709000+0000)/", >  2021-01-11T22:21:49
                "postEndDate": null,
                "postEndDateOffset": null,
                "postStartDate": "/Date(1610385709000)/" > 2021-01-11T22:21:49
            },
            
Therefore, to get the audit of changes done in Requisition, it would be necessary to perform an API call using JobRequisition as the entity, applying the fields that are required to check the changes.
To see more regarding the JobRequisitionPosting entity and the whole properties, check KBA 2897834 - Job Requisition Posting via OData API - Recruiting Management
 

See Also

2897834 - Job Requisition Posting via OData API - Recruiting Management

Keywords

jobrequisitionposting, job posting, OData API, lastModifiedDateTime, job posting audit , KBA , LOD-SF-RCM-API , Webservices & APIs , How To

Product

SAP SuccessFactors Recruiting all versions