REST API failure to post projects with example data
I am unable to use the Rest API example to post a new project on one of our servers. I have the JSON format correct as I am able to post to another server using the same data. I have tried multiple browsers. The same error happens for any type of operation. I do not get an error message either. Please see screenshot below. Why won't it allow posting?
How to modify phone number requester in REST API
I need to change the phone number of an applicant through REST API, how could you do?
Rest api to manage an IP group
Hello, I found the api to create and delete an IP group but not sure how to use it properly: POST http://<server>/api/json/nfaipgroup/addIPGroup? POST http://<server>/api/json/nfaipgroup/deleteIPGroup? Could you please give me documentation for the API to manage an IPGroup? Which field do we need for the request? And it would be nice if you can provide me an exemple. Thanks in advance. Regards, Viet For more info: I'm using Netflow Ananlyzer build 12200
API
Hi, I am attempting to use the API to pull a listing of our requestors. I am receiving the error:{"operation":{"result":{"status":"Failed","message":"Invalid URL","error_code":4007}}} I am using the url: https://sdpondemand.manageengine.com/api/json/requester&scope=sdpodap&authtoken=AUTHTOKEN=f529251b703b3f17f0b198f78960dd6f&OPERATION_NAME=GET_REQUESTERS Can someone please assist me in where I am wrong? Thank you Kate
Using Powershell to input request details works only once
Hi, I have created a powershell script that sends some details back to a request (it changes the user and the custom fields called 'Mappenavn'). Also it adds an approver to the request. My problem is that either of these two functions works alone. But the second I add both functions in the same script none of them works. If I then comment out one of the functions, the other starts working again. Can anyone tell me what I'm doing wrong and how I fix it? Script: param ( $json = "none" ) $jsondata
Powershell - POST to resource field
I am trying to post a value to a resource field and can't seem to do so. the purpose of the script is to take two fields, do some math and then post back a total cost While there is more to the script that preceeds this I am hoping someone can tell me what I wrong syntactically with the inputdata when I write to the host I am getting the right values from the variables I am puling from other resource fields; however, I can't seem to post $totalcost to the resource field Any advice on this would be
User Rest to merge users?
Hi there, I've noticed that there are a lot of posts that have to do with maintaining the list of requesters in SDP. The consensus is to not use the database to fix things as there are a lot of things that could be missed, along with some caching. I don't want to have to manually go through all of the requesters as we have nearly a thousand of them and I have better things to do than constantly maintain this list. :-) Is there a way that I can use the API's in combination with scripting to manage
REST API "No Conversation present for request: xxxx" for GET_CONVERSATIONS
I am trying to retrieve conversations with REST API in C# but no luck. I get the response below for any requests I tried. The technician key is for the administrator and this key gets/adds requests successfully. I have followed the Admin guide (https://www.manageengine.com/products/service-desk/help/adminguide/api/request-operations.html#conversation). my URL: http://<servername>:<port number>/sdpapi/request/<request id>/conversation/ 1.The operation name "GET_CONVERSATIONS " should be sent as a
Email to Notify Field- Update via Powershell/API
I have a powershell script that makes an API update via post to update ticket fields. For some reason I can't seem to update the "Email(s) to Notify" field via the API It looks like the name for this field is "emailcc" according to the API Documentation; however, when I attempt to update the request and add an email address to this field it doesn't seem to work, even though I can update other fields with the same script. Anything I need to do differently to change this field?
ADD Attachment API Rest using Powershell
Good day, Anyone have successfully achieve adding attachments using Rest API in a powershell script? Worked fine most of the operations i need, but this multipart/form-data request i havent cracked yet. What iam trying to achieve is automate a request-template, was able to download the file the user attached, and i need to attach the result back to the ticket.
API key for Requester
Hi, I activated the "Allow Automatic Generation of API Key" option in Admin -> Self service portal settings. Now where can I find the API key associated to a specific Requester (not technician!)? Best regards, Sutot
REST API unable to delete a single graph
Hi, according to http://help.opmanager.com/rest_api-v12 I can use getGraphNames to obtain a list of graph associated to the device. I have to write a script to automatically delete a graph when it matches a certain condition - the issue is that the REST APIs will let me delete a whole performance monitor but not a single graph (the one identified with a pollId). Is there any function that will let me do this? Thanks, Marco
ServiceDesk Plus - API - GET_REQUEST, Error when performing required operation.</
Hello, I’m using the GET_REQUEST operation to get information from requests. For about a month now this have been working fine. I specify the case number in the Uri and the Parameter of the body and get an output with all the information i need about the case. But today, on one single case, we are receiving an error back from the operation. <operation name="GET_REQUEST"><result><status>Failed</status><message>Error when performing required operation.</message></result></operation> Any case number
REST API - Get all CI´s owned by a person OR department
Hi all, Is it possible to use the REST API to get all CI´s owned by a person OR department? Thanks, Hans ### Get all CI´s $key = '627CAA04-A195-4EB5-88FB-348A888CAAAA' $server = 'servicedesk-test.DOMAIN.com' $body= @{OPERATION_NAME='read';TECHNICIAN_KEY=$key;format='xml'} $xmldoc=Invoke-RestMethod -Method POST -Uri "$server/api/cmdb/ci/list/all" -Body $body $xmldoc.OuterXml
CMDB REST API Update CI - Resource Serial No.
Hello, I am trying to post a simple update using the API. The API documentation says to use "Resource Serial No." as the field name for serial number, but the post result says "message": "Invalid field name 'Resource Serial No.' specified." Does anyone know the correct field name to use for serial number in the criteria parameters? Thank you. Resource Serial No. String Serial number of the resource Input: <?xml version='1.0' encoding='UTF-8'?> <API version='1.0' > <citype> <name>Windows
Powershell: How to attach a file
I have a problem. I want to use the API to attach a file to an request. The problem is that I can only find examples how this is done with C# or Java. But I specifily need to do it with powershell. Is this even possible? I want to to be done when the request is created. But a second API request that attach a file to an existing request is fine too.
REST API Assets module?
Hi guys, Any information on the Asset module being used through the REST API? Looks like it maybe hasn't been added yet. If not, there are two specific situations at the moment I'm trying to use it for: 1. Scripting in the automation of Active Directory groups based on Asset details. Specifically we have some 'quiet room' workstations that get pulled and deployed regularly, I want the helpdesk to be able to update the details in SDP and I can periodically run a script to update an AD group for policies
REST API, Operation GET_ALL is not supported
Hi, Im trying to get information aboaut a specifik user/requester such as mailadress. I've been working with this API before when creating and editing case's but for some reason the operation name "GET_ALL" do not work. Following error occurs: <operation name="GET_ALL"><result><status>Failed</status><message>Operation GET_ALL is not supported.</message></result></operation> What might I be missing? Regards Pontus
Max request per API call
It is indicated in the Fetch all Request API documentation that there is a 100 maximum request per api call. but what if i have more than 100 rows of records. how can I make sure that I'm getting all the data?
Rest API - requester operations
The website indicates that you can conduct requester operations, but I have been unable to find out what operations can be done http://www.manageengine.com/products/service-desk/help/adminguide/index.html
ManageEngine SupportDesk Plus API + PHP Problem
Hi, I'm using ManageEngine SupportDesk Plus and im trying to create a custom dashboard in a different place using php. I just want to extract all the datas from api to show it in a Chart.js graph plugin. Can you please help me to do that? Thanks in advanced.
upgrade from 8316 to 9001 to 9004
We completed our upgrade and ran into a few problems. Notifications that aren't enabled in the notification rules started being sent out. Specifically, notify requester when a request is assigned to a technician. We have never had this enabled but after the upgrade it began sending out these notifications for all accounts even though it was not checked. We fixed this by checking the box and saving it and then unchecking the box. It looks the parameter for requesttemplate had a name change in
SDP OnDemand API problem: attachment successfully added mut missing from Request
Hello, I'm using the REST web service API of ServiceDesk Plus OnDemand to create requests. I also use the API to upload attachments after the request is created. My problem is that even though I receive a success message stating that the attachment was successfully created, it does not appear when I view the request. URL: https://XXX.sdpondemand.manageengine.com/api/json/request/25/attach?authtoken=4dbc3150d5b4b3595d9cc4f0a47d5d3c&scope=sdpodapi&OPERATION_NAME=ADD_ATTACHMENT HTTP header field: Name:
Best way to display Request Body
Hi, We're writing a new UI to interface with SDP. I'm downloading the Json of the request which returns a string for the request body. Has anyone else had to deal with rendering this as a webpage, since most often they're HTML encoded emails? Any suggestions would be greatly appreciated. Thanks, Ryan
Creating a request through API
Is there a way to create a request via the API and not notify the contact it’s associated with ? I know it's mandatory to enter the contact's email for the request to be created but after that's done, is it possible to disable the email that goes to the contact and says "Your support request has been received..." Thanks
API Configuration with Zen Desk + Other workflows
All, Is there any other information out there regarding configuring APIs with other Help Desk systems, specifically Zen Desk? We had a department that went with Zen Desk because it's got ties with social media apps. I'm assuming these APIs are built in. I'm trying to get tickets that come in through our main support email address to switch over to theirs. I'm getting tickets that I CAN NOT (which is extremely irritating) automate a "close" due to limitations with SDP. Right now I'm having to send
REMOTE_IP_LOCKED on trying to export tickets in bulk.
I am trying to use the API to export certain details from a bunch of tickets in bulk. The problem is: at some point that is not always the same, the API call fails: { u'operation': { u'name': u'GET_REQUEST', u'result': { u'status': u'Failed', u'message': u'REMOTE_IP_LOCKED', u'error_code': 4001 } } } The first run, I received 145 tickets. Second, 10. Third, it failed immediately. What gives?
Retrieve attachment details from API
Hi, We are working on a project that requires to pass attachment information to another system through Servlet or Rest API. Does the current build support this? If not, are there any plans for this feature? Thank you so much.
REST API call
I would like to integrate Microsoft System Center Operations Manager with Service Desk Plus. Like certain alerts generated by SCOM should create an Incident in ServiceDesk. Could you please assist.
JSON file not returning all data in the request
We use many additional "resource fields" in the Service Requests and I need to access these fields in a script. I have created a custom trigger which launches a Python script that reads the JSON file generated. Problem: I only see the additional data when the ticket is edited NOT when its created These steps are a summary of the current process: Service Request is created and the additional resource fields are populated. The JSON file data dump shows all the additional "Resource fields" as
REST API - Manage Approvals
Hi, Are there any news on managing the "Approvals" tab of a request via the REST API? We would like to be able to resend the approval notification, list the approvers, add, delete approvers, etc. Are there any workarounds for that? Thanks!
REST API Technician Key Failure
This topic is spam Every now and then, around 10 PM, a tool of ours that uses the SDP REST API to grab requests fails with the following error: [22:08:46:986]|[08-10-2015]|[com.adventnet.servicedesk.utils.ServiceDeskUtil]|[SEVERE]|[1861]|: Exception while getting user credentials in getUserId. Assuming Non-Login view. | [22:08:46:986]|[08-10-2015]|[com.adventnet.servicedesk.utils.ServiceDeskUtil]|[SEVERE]|[1861]|: Exception while getting user credentials in getUserId. Assuming Non-Login view. | [22:08:46:986]|[08-10-2015]|[com.manageengine.servicedesk.sdpapi.servlet.SDPAPIServlet]|[INFO]|[1861]|:
REST API: assets
How can I get all the assets from a specific type AND which has the 'Asset State' 'In Store'. What is the unique and constant value for an asset. The asset name can be changed, thus how can I use the API with the ID of the asset, in order to be sure I am working with that correct asset even if the name changes. Example. External application X queries an asset. Person A changes the asset name in the web interface of service desk. Application X now holds a value of an asset which in theory is
Views / filters and API
Hello Support, In Servicedesk you have the option to create views so you can create a filter for yourself or a team. We make use of these views and 1 specificly too interact with the API in servicedesk too export all hours made on every ticket in too Dynamics AX. The view is based on "Time last update" and then the selection is bigger then or equal too a date. I wonder if it is possible to make this view selection too bigger then or equal too the last 2 weeks, or the last month (like you can do with
HTML and they Rest API
I currently have a web form that creates requests in SDP using the Servlet API. Since the Servlet API is removed in SDP after version 9.0.0 I need to convert this form to use the Rest API instead of the Servlet so we can upgrade. My issue is that it seems the Rest API is stripping away HTML formatting. Has anyone else been able to use HTML with the Rest API? The Servlet API had no issue with HTML.
How do i use the RESTAPI?
I'm trying to add a request via the RESTApi but it keeps giving me a response of "HTTP/1.1 401 Unauthorized" This is my first attempt at using an API, so i'm probably doing something obviously wrong, but the documentation doesn't show how to actually specify the Technician API in the HTTP Post. It says to either include it in the URL or the Header, so i tried both, but maybe i'm using the wrong keyword or something? It doesn't actually say in the documentation how to do this... Any help would be
Conditional Tasks
Morning, Is there any way to use conditional tasks on a request template? So that a task is only used if a certain field has been flagged as yes? ~ Gemma
Powershell commands to access the requests in service desk plus
Hi, Are there any powershell commands to view the requests in service desk plus??
Create ticket and use through out a Orchestration
Hi We use MS System Center Orchestrator for automation. I would like to add a Creation of a service ticket at the start of each orchestration and use it to report errors and success (within the Orchestration) We use the REST API today so the Creation is easy. My question is HOW do I know which ticketID i got? If I could find out the ticketID it would be easy for me to feed the service request with information from the orchestration.
Servlet API Changes in Build 8313
Good Morning, We recently updated our system to 8.3 Build 8313 and are now experiencing problems with our servlet API calls to create work logs. Our scripts have not been modified but we are now receiving the error 'WorkLog cannot be added due to Error Occuered While Loading Form Attributes to DO' in response from the API call. Has something changed in this version that has caused these errors? https://manageengingIP/servlets/RequestServlet The current parameters we were using successfully prior
Next Page