Knowledge Advanced REST API: error retrieving object
Summary
I try to get a rating for a content id, but it cannot be found though I verified it existsContent
Hi,
Using the Knowledge Advanced REST API via Postman, I'm trying to see if I can get the rating belonging to an article. This is my request (after having authorized the API User and thereafter the Console and Web user):
Url:
GET https://{{hostname}}-irs.{{server}}/km/api/{{apiversion}}/content/{{answerid}}/ratings
Headers:key: kmauthtoken
value: {"siteName":"{{sitename}}","interfaceId":"{{interfaceId}}","localeId":"{{localeId}}","knowledgeInteractionId":"{{knowledgeInteractionId}}","integrationUserToken":"{{integrationUserToken}}"}
key: answerid
value: {{answerid}}
Pre-request Script:
postman.setEnvironmentVariable("answerid","1001425");
And this is the response I get:
0