Create New request using Python Script

Create New request using Python Script

Script to raise a new request using Python Script.

Pre-requisite

- Python should be installed in the server and configured. You can review the instructions here
- Requests module should be installed with the python

Steps

1. Download the zip file from the attachment and extract it under ManageEngine\ServiceDeskPlus-MSP\integration\custom_scripts 

2. Edit the script and update the URL and Technician key

3. You my create New Action under Admin -> Custom Triggers -> Execute Script. 



                New to ADManager Plus?

                  New to ADSelfService Plus?

                    • Related Articles

                    • 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 ...
                    • 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 add worklog using custom schedule

                      What is a Custom Schedule? Custom Schedules are actions scheduled on a specific date and time with or without repeat frequency. The actions are specified in a customized script file. Any data from ServiceDesk Plus can be sent to the script through ...
                    • How to automatically create multiple child requests from a parent request with a configurable JSON file (V3)

                      This is a sample Python script to automatically trigger the creation of multiple child requests from a parent request, based on the request template chosen. The request ID of the child requests will be added as a Note in the parent request. This is ...
                    • Script to AutoShare Request to Groups

                      Please follow the below link to setup python on the server ​ https://pitstop.manageengine.com/portal/en/kb/articles/how-to-setup-python-on-the-server-11-11-2019 Steps to configure 1.  Extract the attached zip file in <Home>/integration/custom_scripts ...