Releases: smatechnologies/opcon-rest-api-client-powershell
v1.23
v1.22
Bug fixes for OpCon_GetDailyJob and OpCon_JobAction
v1.21
-Bug fixes
-Added support for Windows Authentication option
Release v1.2
-Reworked parameters for functions to "require" certain parameters
-Rewrote many portions to make the code simpler and more efficient
-Combined functions OpCon_SkipCerts and OpCon_IgnoreSelfSignedCerts to OpCon_SkipCerts. It will take the appropriate action based on your Powershell version
-Added new functions:
OpCon_EventToAPI - Lets you pass traditional OpCon events to the API
OpCon_RunScriptRepositoryScript - Lets you execute a script stored in the OpCon script repository, from your script.
OpCon_GetIncidents - Gets Incidents on a daily job.
OpCon_ManageIncident - Lets you make changes/add incidents to a daily job.
OpCon_GetServiceRequest - New version of an old function using new API endpoints to get the details of a Self Service button.
OpCon_ManageServiceRequestChoice - Another new version of an old function that takes advantage of new API endpoints for managing choice dropdowns on a Self Service button.
Bug fixes to several functions
Bug/logic fixes to AddUserRole, GetRole, CreateUser functions. There was a bug with AddUserRole where it would add the "ocadm" role if the rolename supplied did not exist. Also simplified the look/removed unnecessary variables.
Over time I will be cleaning up alot of the other functions, some have bad logic from when I was forcing failure exit codes.
Initial Release
Going forward as changes are added I will create a new release and list the changes.
The changes for this version were around OpCon_UpdateCalendar and error/logic fixes to make it compatible with new calendars and other conditions (like no description, not tied to a schedule etc).