0 Replies Latest reply on Apr 8, 2015 8:21 AM by fcpsolaradmin

    Assign Tech Via powershell

    fcpsolaradmin

      Is anyone using PowerShell to successfully managed tickets? Specifically I am looking to assign the ticket to a tech.

       

      Here is what I am trying to use without success

       

      $Body = @{

      emailTechGroupLevel="false";

      emailGroupManager="false";

      Clienttech= @{

           id="3";

           type="tech";

           displayname="Tech Name";

                    }

      }

      $Json= $body | Convertto-Json

       

      Invoke-restmethod -Uri "Helpdesk api stuff" -Method Put -Body $Json