The main class 'API' is used with your manage engine API key to access the common commands. The API key can be obtained via the sdplus section: Admin, Assignees, Edit Assignee (other than yourself), Generate API Key. Recommended: Setup your API key as a windows environment variable (e.g. PHP API Key Generator. Ask Question Asked 10 years, 6 months ago. Active 2 years, 6 months ago. Viewed 56k times 33. Does anyone know of any API key generator script/class for PHP? The class should have method generate, that would generate a key and isValid method, to check if the key is valid. Php security key.
Background
Currently, the Manage Engine Service Desk Plus Rest API is xml based.
This python module eases the interaction with the API by translating the xml into a more pythonic structure.
Usage
Required Modules
- requests
- xmltodict
The main class 'API' is used with your manage engine API key to access the common commands. The API key can be obtained via the sdplus section: Admin, Assignees, Edit Assignee (other than yourself), Generate API Key.Recommended: Setup your API key as a windows environment variable (e.g. SDPLUS_API_KEY).All interactions with the API require a 'base' url - the url of how you usually access Service Desk Plus, with '/sdpapi/request/' appended at the end.
Manageengine Servicedesk Plus Api
For example, to view a request, and return a list of dictionary items:
Manageengine Generate Api Key For Technician Training
Most code you will write using this module will be similar to the above.E.g. to edit a request and change the subject line:
Google Api Key
However, sometimes the xml returned is not standard to the common return structure from Manage Engine. In these cases, you can bypass this module's internal processing with the following 'bypass=True' parameter: