[SOLVED] REST API - Download attachment
HI! This time I would like to ask about handling attachments. I couldn't find any additional information about handling requests' attachments. In this documentation ( https://help.servicedeskplus.com/api/request-operations.html$Attachment ) there is written that it's possible to add attachment. How about downloading / viewing attachments? Is this functionality included in GET_REQUEST. The last question is about deleting request, Is it somehow possible during EDIT_REQUEST? Thanks in advance for the
[SOLVED] Unable to pass reason via rest api to aquire password
Hi, I am trying to get the password for an account via the restapi of password manager pro but I am unable to pass the reason in a way the api would accept it. curl -X GET -k -H "Content-Type: text/json" -H "AUTHTOKEN: <hidden>" https://testing123.uk/restapi/json/v1/resources/52242/accounts/56759/password
Using REST POST to edit a Multiselect Additional Field
I have been working on a way to create new requests using the POST function of the REST API. So far I have had no issues setting info in the default fields (Subject, Description, etc), but I'm not able to get a custom Multiselect field to accept data.
Javascript CORS Policy Issue
Hello, I have tried looking for previously posted topics on this but have not found any that deal with my issue. (Reference) We currently use ServiceDesk Plus and SharePoint on their own domains. I am in the process of trying to build minor functionality
API Create User "You are not authorized"
When attempting to POST using the create user api for ADManager Plus, I am getting an error message stating "You do not have the authorization to modify the following attributes: employeeID, mailNickname, name". Is this an issue with roles in the ADManager Plus tool for the user or with Active Directory roles itself that the user might be missing to preform this action? The user is setup with the technician role within the ADManager tool already.
Find list of attachments on a conversation via API?
Hello, I've noticed that the SDP web interface uses: /api/v3/requests/(request ID)/notifications/(notification ID)/attachments/(attachment id) to download a file attached to a conversation item on a request. I'm able to get the notifications via /api/v3/requests/(request
How to connect SDP API with Postman for add request
Hi, I use Postman tool for API test and develop. Also I read your documentation for use SDP API (Build 9301), but when I test a API like add request, SDP return error. This is my screenshot from Postman: and return below error: No input data for get all requests Thanks
[SDF-95544] Add attachment to Contract using API V3
Hi everyone ! I have now tried for quite some time to upload an attachment to a contract using a POST request to /api/v3/attachments Is this possible anyway? The link to https://help.servicedeskplus.com/api/request-operations.html%24Attachment is dead.
Add Request Task Worklog - API REST
Hello, I am trying to add a work record on the task with this service: api / v3 / requests / {request_id} / tasks / {task_id} / worklogs I am using the next request: { "worklog": { "owner": { "id": "22806", "name":
How to add OAuth provider correctly
Hi, I have an internal rest api that accepts oauth, and when I attempted to request add oauth provider for an alarm action, there are some config items that I cannot be sure: the rest api accepts token request in this requirement, illustrated in curl
Authentication with REST API V3 does not work
Hi, I'm already confused with the authentication as all ME documentation refer to the same thing as different names: technician key, API key, authtoken... Then you have the ServiceDesk Plus On Demand and On Premise too, I'm not sure if there is a difference in the API... Anyway, I can successfully create a Request in ME SDP On Premise using API V1: However, the same payload and same Technician key (API key? Authtoken?) does not work with API V3: Can somebody please let me know what I'm doing wrong?
Rest API staged chromeos device actions
1. Is it possible to list staged chromeos devices via the rest api? The devices api does not seem to return information for enrolled devices which have not had the assign user action performed. 2. Is it possible to assign user to a staged chromebook device via the rest api? The device/actions endpoint can possibly do so but there is little documentation on how to use the actions.
REST API access to create and reply to email converstations
Hello all. Does anyone know if there is an exposed API to view, create and reply to email conversations in a ticket? I can see that there is a well-documneted API for Notes, but I am not able to find anything about Emails. Regards, Alex
Create Task Via API
I would want to have a task automatically created once a service request has been approved. How do I implement this using Powershell or Python and the REST API?
ServiceDesk Plus On Demand API V3 - Error with adding attachment to Request
Hi, I have a problem with adding attachments to requests using the API V3. The attachment seems to be uploaded (status code 200), but it does not appear on the Request screen. It is important that: This is with ME SDP On Demand. When ME SDP On Demand used the earlier API, I could successfully attach files to a Request. Authentication is fine, I can create a request using the API. I suspect that the problem is that (according to the documentation https://www.manageengine.com/products/service-desk/sdpod-v3-api/SDPOD-V3-API.html#add-attachment-to-a-request),
Request creation via REST API - populating the requester field?
Hi, Is it only possible to put the full name of the requester in the "requester" field in the JSON payload when creating a Request? I tried to add the email address and the login name as well, but in these cases the requester was not recognized, but new requesters were created automatically... If using the full name (case sensitive?) is the only option, what happens if there are two requesters called John Smith? How to distinguish between them? Thanks and best regards, Tamás
ServiceDesk API Callback URL
Hello community, I'm in the progress of evaluating the SDP Rest API. One feature that we require is receiving the status change of a request in various external services. Here it says that one can set a callback URL which is triggered once the ticket has been resolved. https://help.servicedeskplus.com/api/rest-api.html To test this I installed SDP on my machine and created the default ASP.NET Core Web API project. However after creating a ticket via Postman and setting the callback_url to "http://localhost:61046/api/values"
Modify REST API JSON Output
Hi everyone, we have a problem with our PMP automation. We are trying to only retrieve the password of a account in a specific ressource. The problem is that there is always the "header" which will be displayed Example: (what it looks like) {"operation":{"name":"GET PASSWORD","result":{"status":"Success","message":"Password fetched successfully"},"Details":{"PASSWORD":"password"}}} What we need: password Is there a way to archive this? Thank you for the help! Best regards Sandro
Rest api sometimes asks for login credentials/redirect to login page for Add Request operation.
The first time the page is loaded in a browser it redirects to login screen instead of sending the AddRequest operation. Any idea how to fix this? Thank you, E.L.
REST API - Tasks
Hi Cannot see anything in the documentation how to create tasks in a service request using the REST API. Is it possible? BR Hans
REST API and Network Monitoring
We are currently using ServiceDesk Plus and PRTG and I would like to publish our current SDP dashboard on our PRTG screen, within PRTG I can create a REST API sensor which should be able to pull data from the SDP. But I dont know if pulling stats is available. Is there any way of using the REST API to get the number of tickets (Total Open, On Hold, Overdue) ? My API skills are a little bit lacking (I'm Ops not Dev! :D ) so might need a bit of handholding. Thanks Andy
Any JavaScript REST API Examples?
Hi all, I'm currently working on an application that will submit a request via JavaScript using the REST API. Has anyone else done this and have any examples?
REST API - Get all open request from filter
Hello, I'm having trouble getting the REST API to list all the request that we have in a custom filter. This seems only to list something like 35 open request under "All Open Requests". What am i doing wrong here? https://***************/sdpapi/request/?OPERATION_NAME=GET_REQUESTS&TECHNICIAN_KEY=**************************&INPUT_DATA=<Operation><Details><from>0</from><limit>100</limit><filterby>GARANTI/REKLAMASJON</filterby><status>open</status></Details></Operation>
SD API Problems
Hey there, So today I started to mess around with the API. Right now I can only get the API working with XML even though the documentation linked under the Admin panel lists JSON as the INPUT_DATA format For most of the operations, INPUT_DATA is required. It is given as a JSON string along with the parameter, while the Attibutes and their values are sent along with the input data. On the other hand, the Response is exposed as JSON or XML string . {{SDPSERVERURL.com}}/sdpapi/request?OPERATION_NAME=GET_REQUESTS&TECHNICIAN_KEY={{APIKEYOMITTED}}&INPUT_DATA=<operation>
Empty Response for adding new request using postman
Hi all, i am training to add a new request in to my cloud service desk plus from postman using REST protocol, by following steps in below link. https://api-sdpondemand.wiki.zoho.com/Add-request.html/ but i am getting null as response and no request get created. for your reference i attached postman request screenshot. Thanks in advance..
Rest API - Get all requests/tickets for a specific group
Using the Rest API, is there anyway to get all requests for a specific groupname or groupid? I can get a list of all the groups and technicians, but I want to take this further... to be able to view what requests/tickets are sat with certain groups. Kind Regards
JSONP Calls on ServiceDesk Plus?
Hello, We have ManageEngine Service Desk Plus v 9.0 Build 9030. Does it support jsonp calls? (Similar to this thread for ServiceCenter: https://forums.manageengine.com/topic/using-api-from-another-domain) I would like to query it via REST API from another domain. What is the best approach? Thanks in advance.
ServiceDesk Plus REST API and Json
Hi there, I am currently creating an integration between SDP and another support system and was wondering if it is possible to use Json data format for creating a new request as opposed to using the xml post attribute INPUT_DATA as outlined in the API Documentation. If it is possible to use Json, do you have any basic examples or documentation for this. Please note we are currently using version 9.0 Build 9003. Thanks for your input Allen
how can I get more information from GET_REQUESTES?
Hello I need your help. I'm using the API get_requests but this just get some fields: <request> <workorderid>XXXXX</workorderid> <requester>TEJIDOS INDUSTRIALES COVETA S.A.</requester> <createdby>TEJIDOS INDUSTRIALES COVETA S.A.</createdby> <createdtime>1496957916993</createdtime> <duebytime>1497389916993</duebytime> <subject>Error en contabilidad</subject> <technician>MARTHA AIDEE MALDONADO MARIN</technician> <priority>3- Alta ó Restricción
REST API: HTML tags stripped out of ticket Description on creation
I am having an issue with the REST API where anchor tags are stripped of their attributes when creating a ticket via the REST API. JSON body: data:{"operation": {"details": {"description": "<a href=\"http:\/\/www.google.com\">TEST<\/a>","requester": "Example User","site": "Example Site","subject": "Title of the request.","account": "Example Account"}}} Results in { "operation": { "result": { "status": "Success", "message": "Request updated successfully" }, "details": {
REST API GET_REQUESTS column filtering
In SDP v9.2, I need to use the GET_REQUESTS operation to page through all requests. I have some questions: How can I specify which columns I want to return? I only want "workorderid", "status", "createdtime", "resolvedtime", and "completedtime". How can I know how many total requests are available? The result does not say. Can you please also point me to good API documentation for v9.2 of your product? Particularly all information related to using JSON. Thank you. Jason
Rest API GET_REQUESTS
Hello. The non-MSP version of ServiceDesk Plus API has the "GET_REQUESTS" operation that getts all the requests for a view. https://www.manageengine.com/products/service-desk/help/adminguide/api/request-operations.html#Requests It looks like this functionality is not available in the MSP version. https://www.manageengine.com/products/service-desk-msp/help/adminguide/api/request-operations.html Is there some other way to get similar functionality in the MSP version?
Elasticsearch / Logstash / Kibana for ManageEngine Apps Manager
Hi, We are looking to pull data from Manage Engine into the ELK stack in order to get better charting, event correlation between Manage Engine and other APM tools, etc. The ELK stack is great and it uses Logstash to pull the data from ME, will send it to Elasticsearch for indexing and uses Kibana as a way to query and graph data from Elasticsearch. Has anybody tried to poll data from the Managed Server API with Logstash? The way Logstash works is based on a conf file that has input, filter and output
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 - ResourceID
Hi, I am trying to connect to ManageEngine Apps Manager and pull information about monitors via REST API (http://help.appmanager.com/list-monitor). The ListMonitor REST Command asks for the ResourceID of a particular monitor. Does anybody know where can I find the ResourceID so I can include it in my REST call? Thanks! -Robert
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
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 get all URL Monitors for a device
Hi, in OpManager 11, with api/json/device/getGraphNames I'm able to see the associated performance monitors, but I can't find anywhere a function to list all URLs Monitors associated to the device. There's a getAllUrlMonitorDetails but only returns the site-wide URL monitors, not the device-associated ones. Being the dirty hacker I am, I found out that the web interface uses an undocumented api/json/device/getDeviceAssociatedMonitors, but it's restricted by a session cookie (useless in a script).
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.
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
Next Page