@manyos/smileconnect-client

1.9.1 • Public • Published

smileconnect-client

A client for our BMC ITSM API SMILEconnect. Use this to easily access your BMC ITSM Suite via nodejs or as reference implementation of a SMILEconnect client.

Read more about SMILEconnect: https://manyos.it

Contribution via Pull Request is welcome.

Usage:

Initialization

const sc = require('@manyos/smileconnect')

const SMILEconnect = new sc.SmileconnectClient(process.env.CLIENT_ID, process.env.CLIENT_SECRET)

Read Ticket

const ticket = await SMILEconnect.getTicket('incidents', 'INC000000001401')

Read TicketWorklogs

const worklogs = await SMILEconnect.getTicketWorklogs('incidents', 'INC000000001401')

Read TicketWorklog

const worklog = await SMILEconnect.getTicketWorklog('incidents', 'INC000000001401', 'CWL000000001601')

Read TicketTasks

const tasks = await SMILEconnect.getTicketTasks('incidents', 'INC000000001401')

Read TicketTask

const task = await SMILEconnect.getTicketTask('incidents', 'INC000000001401', 'TAS000000046217')

Read TicketTask Worklogs

const worklogs = await SMILEconnect.getTaskWorklogs('incidents', 'INC000000001401', 'TAS000000046217')

Read TicketTask Worklog

const worklog = await SMILEconnect.getTaskWorklog('incidents', 'INC000000001401', 'TAS000000046217', 'CWL000000001601')

Package Sidebar

Install

npm i @manyos/smileconnect-client

Weekly Downloads

28

Version

1.9.1

License

MIT

Unpacked Size

25.5 kB

Total Files

6

Last publish

Collaborators

  • manyos-robert