DISCLAIMER: I have no affiliation to SolarWinds© and this is a third party API. This is NOT supported by SolarWinds©. Solarwinds and Web Help Desk are Trademarks of Solarwinds.
A golang wrapper around the Web Help Desk REST API. Allows you to interact with the Solarwinds Web Help Desk REST API from your applications seamlessly.
The API is based on the SolarWinds Web Help Desk REST API documentation for 12.7.4 found here.
Supported Features:
- Authenticate (Username/Password;API Key;Session Key)
- Create/Update Tickets
- Support for manipulating Ticket Custom fields
- Add Worklog notes to Tickets
- Retreive Ticket Worklog Notes
- Add Attachments
- Retreive Attachments (From Tickets and Worklog Notes)
- Locations/Status/Ticket Type Objects provided for easy manipulation and access to these fields in Tickets
To start using go-whd
include the following in you application import:
"github.com/pvik/go-whd/whd"
whdTicketID := 1000
var whdTicket whd.Ticket
err := whd.GetTicket(Host,
whd.User{Pass: ApiKey, Type: whd.ApiKeyAuth},
whdTicketID,
&whdTicket)
if err != nil {
log.Errorf("Unable to retrive ticket from WHD: %s", err)
return
}
log.Debugf("Retrieved Ticket from WHD: %+v", whdTicket)