SAP Knowledge Base Article - Public

2591439 - LMS OData - POST method for catalogSearch

Symptom

You are looking for the POST method for catalogSearch API call.

When using the below URL for POST method, it does not work:

[LMS_URL]/learning/odatav4/public/user/catalogSearch/v1/CatalogItems

Environment

SuccessFactors LMS

Reproducing the Issue

1. Create your catalogSearch call and use the POST method

POST_method.PNG

2. When you send the call, you get the below error:

POST_error.PNG

Cause

There is no POST method for catalogSearch API call.

Resolution

The catalogSearch call is meant for users to be able to search items in a Learning Catalog, so you can only use it with the GET method.

If you are looking for a call to add items in a catalog, we currently do not have any call that allows this. If this is a needed functionality, you may raise an Enhancement Request in our Community.

See Also

2318897 - LMS Webservices Knowledge Support and Tips

2167560 - Submit an Enhancement Request for LMS

Keywords

 odata, webservices , KBA , LOD-SF-LMS-ODA , Web Services OData , Problem

Product

SAP SuccessFactors Learning all versions