Example of using the simplified REST API to retrieve recommended knowledge articles and tickets
To retrieve recommended knowledge articles or incidents for a specified problem investigation
cURL example
'https://<Innovation Suite server URL>/api/com.bmc.dsm.itsm.itsm-rest-api/v2/problem/PBI000000000102/recommended/knowledge' \
-H 'accept: application/json'
Request URL
To retrieve recommended knowledge articles or incidents for a specified incident
cURL example
'https://<Innovation Suite server URL>/api/com.bmc.dsm.itsm.itsm-rest-api/v2/incident/INC000000000102/recommended/knowledge' \
-H 'accept: application/json'
Request URL
The following example demonstrate how to perform the operations by using Postman client.
Before you begin
Make sure that you have a valid authentication token. For more information, see Access-and-authentication-for-the-simplified-REST-API.
To retrieve the recommended knowledge articles or incidents
- Open the Postman - REST Client.
Depending on your goal, set the request URL and method as any of the following:
Goal
Method
Sample URL
To retrieve recommended knowledge articles or incidents for a specified problem investigation.
GET
https://<Innovation Suite server URL>/api/com.bmc.dsm.itsm.itsm-rest-api/v2/problem/<ID>/recommended/<ticket type>
To retrieve recommended knowledge articles or incidents for a specified incident.
GET
https://<Innovation Suite server URL>/api/com.bmc.dsm.itsm.itsm-rest-api/v2/incident/<ID>/recommended/<ticket type>
- Click Headers.
Enter the following data as key value pairs in the header:
Key
Value
X-Requested-By
XMLHttpRequest
Content-Type
application/json
- Click Send.
The results are displayed on the response panel.