How to check Odata API Audit logs in Successfactors System?
Image/data in this KBA is from SAP internal systems, sample data, or demo systems. Any resemblance to real data is purely coincidental.
Reproducing the Issue
1. Steps to Download Odata API Audit Logs:
- Login to the SF instance->Admin tools-> Integration Tool-> Odata API Audit log.
Below screenshot explains the Audit log page and you may observe the tabs that are of interest.
2. The next screenshot gives a detailed view on the Http Request and Rest Response.
A session is created and a Session id is generated whenever a Login call takes place to the API server.
For example, The below session id is generated when an API call was triggered.
(This could happen via Boomi , Soap UI or any other Integration tools etc)
We can observe the following -
It is a Query operation to Select firstName of an employee whose ExternalId is XXXX from Odata API PerPersonal entity in json format.
The results are fetched as per the request and can be noticed from the Response xml.
Filters can be used to narrow down the search from all the payloads (Audit logs) to obtain the required one.Filters are seen in the left hand side of the screen (referring to the above screenshots)
Filters available to Narrow search results -
Login ID (Id of the user who triggered the API)
Status (Success / Failed)
Odata API Call (Login / Query / Update etc,)
Entity Name (Name of the API entity)
Request Time (Timestamp of the process execution)
Response Time (Run Time of the API operation - Rarely used filter)
These logs explain the behaviour of the API in the respective call. This helps in understanding the source of API errors if there are any.
API Audit Logs, Session id , request xml , response xml, OData Audit logs , KBA , LOD-SF-INT-ODATA , OData API Framework , LOD-SF-INT , Integrations , Problem