Issues with Powershell and API to 'pickup' a ticket
I'm trying to use powershell to pickup a ticket, I cant seem to find what the 'Operation_Name' for a pickup is.
I see the documentation here:
Below is an example of how I can retrieve Resolutions using the Operation_Name of 'GET_RESOLUTION'...I guess I'm just looking for the name of the Operation for Picking up a ticket or even assigning to a technician...any help would be appreciated
- $ticket =Get-RestTicket -API $api -TicketId $i
-
- $postParams = @{ OPERATION_NAME = 'GET_RESOLUTION'; TECHNICIAN_KEY = $api}
- $uri = "https://SERVERNAME/api/v3/requests/$i/resolutions"
-
- $response = Invoke-WebRequest -Uri $URI -Method GET -Body $postParams -UseBasicParsing -erroraction stop
New to ADSelfService Plus?