We’ve been working hard to bring you some great new features to our BMC Remedy & ITSM REST API.
Open Source javascript client for BMC Remedy ITSM
Imagine you have written this great little javascript tool that is loved in your enterprise. Your tool wants to show the user his Computers in a selection menu and you want to display all DB2 databases. Also from now and then a small error happens and you would like to create an incident for this.
Up to now this was incredibly complicated stuff :)
Now it is easier then ever to access data in BMC Remedys ITSM Suite. Our open source javascript client allows you to create tickets or access configuration items directly from your application.
We decided to share our knowledge with the community and released the client as open source. If you have any ideas or feedback: collaboration is welcome :)
Let have a look how easy it is to access a ticket:
First, lets initialize the API:
const sc = require('@manyos/smileconnect')
const SMILEconnect = new sc.SmileconnectClient(process.env.CLIENT_ID, process.env.CLIENT_SECRET)
Use your SMILEconnect client credentials to connect to the API.
Now you can simply access your tickets:
const ticket = await SMILEconnect.getTicket('incidents', 'INC000000001401')
The result will, depending on your permissions, will look like this:
{
"data": {
"id": "INC000000001526",
"opsCat1": null,
"opsCat2": null,
"opsCat3": null,
"prodCat1": null,
"prodCat2": null,
"prodCat3": null,
"productName": null,
"manufacturer": null,
"detailedDescription": null,
"summary": "Ticket created by My famous API",
"statusReason": null,
"status": "Assigned",
"assignedGroup": "SGP000000000011",
"ownerGroup": "SGP000000000011",
"vendorGroup": null,
"customerId": "PPL000000000013",
"contactId": null,
"impact": "4-Minor/Localized",
"urgency": "4-Low",
"priority": "Low",
"resolution": null,
"submitDate": "Fri Jul 30 12:07:10 GMT 2021",
"lastModifiedDate": "Fri Jul 30 12:07:10 GMT 2021",
"relations": {}
},
"included": {}
}
For more information jump over to our NPM Repository.
smart integrations. less effort. :)