Jump to content

All Activity

This stream auto-updates

  1. Today
  2. Thank you so much for the response Paul! Looking forward to it keep up the great work!
  3. Yesterday
  4. Last week
  5. Decided. Question removed. Thank you
  6. Hello .Did you manage to reproduce the error?
  7. I'll have to look into it tomorrow. I'll reply back when I have more information. -Paul
  8. Thank you!!! what am I doing wrong here? I want to publish a test ticket. And i get 500 error result [success] => [error] => Array ( [code] => 500 [message] => Internal Server Error [details] => Internal Server Error ) $data = [ 'title' => 'test', 'details' => 'sdfsd', // 'tenantId' => 6636, 'accountId' => 112388, 'locationId' => 127431, 'contactId' => 97966, 'softwareAssetId' => 0, 'hardwareAssetId' => 0, 'queueId' => 30526, 'statusId' => 40482, 'priorityId' => 33223, 'typeId' => 8, 'issueTypeId' => 0, 'subIssueTypeId' => 0, 'contractId' => 0, 'assigneeId' => 0, 'workTypeId' => 0, 'sourceId' => 0, 'slaId' => 0, 'openDate' => "2022-01-23T12:31:13.003Z", 'dueDate' => "2022-01-23T12:31:13.003Z", // 'secondaryAssignees' => json_encode([]), // 'ccs' => json_encode([ // 'emailAddress' => '', // 'entityType' => 0, // 'id' => 0, // ]), // 'tempAttachments' => json_encode([ // 'id' => 0, // 'name' => '', // 'alias' => '' // ]), // 'customFieldsData' => json_encode([ // 'id' => 0, // 'customFieldId' => 0, // 'data' => '', // 'settingsId' => 0, // ]), 'useDefaultContract' => true ]; $data = json_encode($data); $headersTicket = [ "Authorization: Bearer ".$accessToken, "accept: application/json", "Content-Type: application/json" ]; $urlTicket = "https://api.psa.pulseway.com/v2/servicedesk/tickets"; $ch = curl_init($urlTicket); curl_setopt($ch, CURLOPT_HTTPHEADER, $headersTicket); curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); curl_setopt($ch, CURLOPT_POST, 1); curl_setopt($ch, CURLOPT_POSTFIELDS, $data); curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false); curl_setopt($ch, CURLOPT_HEADER, false); $res = curl_exec($ch); curl_close($ch); $res = json_decode($res, JSON_UNESCAPED_UNICODE); print_r($res);
  9. You should be able to get the IDs of tickets from another API call used to list tickets: /v2/servicedesk/tickets/search -Paul
  10. Thank you . Tell me where else can I look for example ticketId ? . In the admin I see only the name . /v2/servicedesk/tickets/{ticketId}
  11. Hi Guys, I though I would begin to write a couple of post on how I manage certain things in Pulseway. I love Pulseway it is a good product so far but some features are lacking and those scripts makes life way easier, at least for me. If you find that post helpful let me know and I will post more of my scripts on how I manage stuff. You are also more then welcome to let me know how you do it or any amelioration suggestions. Disclaimer : I am not a programmer at all so bare whit me on the coding part LOL To name computers I though it was essential that I could put a description in it so I made a custom field noteinname for Per Systems. So when I need to have a description on the machine I add the custom field to it. In that example LAB VM. Then I also thought that I really wanted the username in the name and Pulseway support gave me a script for that but when no user are logged in it removes the name. So I script it to put the last logged in user if no users were logged in. That way you can also search for the username when looking for an agent. Here is the script I use. After that I created a task to rename the computers every day. That's it. Works perfectly. $user1 = quser | Select-Object -skip 1 #Adds a - to $notes if not empty if (!$notes){ write-output "-- Not modifying variable Notes NULL" }else{ write-output "-- Notes not NULL adding a -" $notes= "-$notes" } if (!$user1) { write-output '-- No user connected applying lastlogged user' $user2 = Get-ItemProperty -Path 'HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Authentication\LogonUI' -Name LastLoggedOnUser ` | Select-Object -ExpandProperty LastLoggedOnUser $user2mod = $user2 -creplace '^[^\\]*\\', '' write-output "-- Name to be applied $env:computername$notes-$user2mod" Set-ItemProperty -Path "HKLM:\Software\MMSOFT Design\PC Monitor\" -Name ComputerName -Value "$env:computername$notes-$user2mod" } else { write-output '-- A user is logged applying logged username' $user1mod = $user1.substring(1,22).Trim() -join "," write-output "-- Name to be applied $env:computername$notes-$user1mod" Set-ItemProperty -Path "HKLM:\Software\MMSOFT Design\PC Monitor\" -Name ComputerName -Value "$env:computername$notes-$user1mod" } Here is the result. Hope this helps ! Cheers.
  12. Will adding a global rule with the actions - If 'Name' contains 'KB5010793' then 'Approve and Install', work for Out of Band updates? This update fixes the VPN breaking update 'KB5009543'.
  13. Hi there, Check out the PSA REST API's here: https://api.psa.pulseway.com/. The link you have provided is for the RMM. -Paul
  14. Hello. I need help. Can I add https://psa.pulseway.com/MSP/TicketsListing.aspx here to Tickets ? Using https://api.pulseway.com/ ?
  15. Earlier
  16. So I have a few devices that get stuck on the "Status - Checking" when attempting to run a patch policy. I've tried unregistering the machines and changing policies but that doesn't seem to help. I've tried uninstalling Pulseway from the device and then reinstalling. The only way I've been able to get past this issue, is to fully wipe the device and start over. Has anyone else experienced this issue?
  17. Thanks for this. Still struggling for some reason and this my first time struggling with an API like this. Since I have 2FA on my main account I created a new account and left 2FA off. I started testing by using the basic GET command for the api.pulseway to get the systems just to test it out. If that worked then I could move to the PSA api. If I use the username:password for that account I get a 401 "invalid username and/or password" error every time. If I try the bearer token I get 401 Unauthorized and no body returned. I did verify that the new account has API access and I can log into the web portal with no issues. I have been trying for about 2 weeks now waiting for a resolution from our customer rep, would it be possible to have the IP address blocked for excessive denied requests?
  18. Hi @BShevchuck, In that case the server name is: psa.pulseway.com . Let me know how it goes ! -Paul
  19. We recently rolled out both Pulseway and the PSA replacing out Spiceworks help desk. Since the client portal is not as simple for user to create tickets within our mobile application, I am looking to use the PSA API but stuck. I am testing with the basic GET request to retrieve tickets and stuck on what server_name should be. Also for the authorization Bearer access_token, am I using the same token from the Pulseway webapp? Using this HTTP Request: GET https://server_name/api/servicedesk/tickets
  20. We also have the same issue. Cant install webroot via Pulseway. But after downloading the webroot agent and installation, we do the install process again in Pulseway and then the system sees the agent. But now if you have 500 agents? Is there an solution already to this item?
  21. I like it, but when will we be able to either A. Send Email when a service is triggered (creates a ticket on our end) B. Use the service started within the workflows as well and potentially allow us to stop or start that service (this would fix the send email part for us)
  22. Via PowerShell through Pulseway. We have since tried it and it works fine.
  23. During testing we have removed the installer entries from the registry on a managed PC. Therefore, Pulseway is not listed on Add/Remove Programs. How do we now uninstall Pulseway?
  24. Paul

    Custom Titles

    Hi Tor, You'd need the msi to be stored in a publicly accessible web server but you can put it over some complex path or file name so it wouldn't be easy to find. -Paul
  1. Load more activity
×
×
  • Create New...