Skip to content

Adding a new endpoint

Chris Taylor edited this page Apr 16, 2021 · 8 revisions

Trying to access an endpoint we don't have a function for?

Congratulations you must be working on something neat!

You should be able to easily add new endpoints using one of the templates provided in the Templates directory. Choose the template that matches the action you are taking (Get, New, Update, Remove) and update it with the needed information. I have an example of doing this for contacts.

Get-CWMTicketTask

New-CWMTicketTask

Update-CWMContact

Remove-CWMContact

Once you have things sorted out send us a pull request and let us know what cool things you did with it.