Get All Disposed Asset Using Python Script
Steps to use the provided script:
- Replace the URL variable with your API endpoint and set the api_key variable.
- Customize the input_data dictionary with your desired parameters.
- Replace the Portalid variable with the required portalID according to your specific requirements.
- Run the script. (python scriptname.py)
- Wait for the script to retrieve all the data from the API.
- Check the output for any errors or exceptions.
- If successful, a file named "Disposed_Asset.xlsx" will be created with the retrieved data.
New to ADSelfService Plus?
Related Articles
Update status using Python script in 11.0
Using a Python script via custom trigger, we can update the status invoking an API call. A short guide on setting up python is available here : https://pitstop.manageengine.com/portal/kb/articles/how-to-setup-python-on-the-server Find the attached ...
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 ...
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 ...
Error - Can't find a default Python
In version 10.6 and above when creating a Custom Trigger you will need to paste a .txt file in the Executor path as shown below instead of entering the scripts name there. To create a txt file you need to path to => ManageEngine\Service ...
Python Troubleshooting steps
Here we are listing the troubleshooting steps for the python script to be executed 1. Check whether python is installed or not in the sever where SDP is installed 2. If it's installed check the version of python ( Preferable version should be above ...