Request add attachment_Python script-API
Steps for adding attachment to the request through python script-API.
Extract the attached "Attachment_Python_Script.zip" >> Edit attachmentscript.py >>Mention product installed url in the base url ; update the api key; update the request id that the attachment need to be upload; mention the file name >> save (Here 'test.txt' is placed under the folder "Attachment_Python_Script" and the same is mentioned in the script )
Command prompt >> execute the command to upload the attachment-->py attachmentScript.py
Above highlighted are the those that need to be modified based on the requirement. If you are generating technician key under Admin->Technicians, you need to save it. You may also generate the same for the logged in technician using the API key generation option at the profile box at the right top.
Add Attachment API assistance for other tools
Our sample html to test Add Attachment API works well. However many customers are having trouble converting it to code/other tools (Powershell, python, Postman, Curl). Hence we are posting this article to get it using Postman for other tools. We can ...
Python script to automate FCR
Please find the attached Python script on this link to automate FCR via custom trigger when the request is created and resolved by the same technician. The link contains two Python scripts with the name FCR.py (this script can be used when MSP is ...
Script to Auto share request to technicains
1. Download MSP_share_Request.zip from the attachment, extract it, and paste the same under ManageEngine\ServiceDesk Plus MSP\integrations\Custom_scripts. # auto_share_MSP.py # functions.py # configuration.json 2. ...
Script to send notifications when a unknown request is raised
Use case The script will send email notifications to the address configured inside the script whenever a request is created under unknown requests. Pre-requisite - Python should be installed in the server and configured. You can review the ...
Python script to update request status
This article consists of a python script to update the request status based on a criteria set in Custom trigger. For installation and setup of PYTHON, please refer the below link, ...