Symptom
- We have an option to refresh the Odata API Metadata via UI
- However we would like to automate this process and so would like to schedule it via an API call
Environment
Successfactors HXM Suite
Resolution
1. This activity is a simple 1minute task when done via UI, just go to metadata refresh in the top search box or via Admin Centre.
2. However if you want to schedule this activity, it has to be done via an API call and for that, you just need to trigger below API call and it will do the work.
https://apisX.successfactors.com:443/odata/v2/refreshMetadata
Note: There are no side effects or performance interruptions of performing a metadata refresh.
Hint: its recommended to do a metadata refresh after instance refresh or release.
See Also
2171588 - SuccessFactors: OData API Metadata Refresh and Export
2355830 - How to refresh metadata of restricted Odata MDF entities?
2488874 - How to Refresh Metadata of APIs under BETA Category
Keywords
- Odata Metadata refresh
- Metadata refresh via API call
SAP Knowledge Base Article - Public