Add Attachment API assistance for other tools
Our
sample html to test Add Attachment API works well. However many customers are having trouble converting it to code/other tools (Powershell, python, Postman, Curl).
Hence we are posting this article to get it using Postman for other tools.
Attached is the sample json corresponding to "Add Attachment" API. Upload this in the Postman to get the necessary format.
New to ADSelfService Plus?
Related Articles
Adding attachment to Resolution using API
PURPOSE: To add an attachment to the resolution via API. STEPS: 1) Upload the attachment file and obtain the attachment ID: URL: <domain_url>/api/v3/requests/upload Method: POST Payload: files ( input_data = <file_content> ) Response: 2) Add the ...
Add attachments using API
Attachment cannot be added when a request is created, it can be only added after request creation URL : http://localhost:8080/api/v3/attachments?TECHNICIAN_KEY=XXXXXXXXX Body
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 ...
Add Attachment via API for Request Notifications.
Please refer to the below steps on how to add the attachments for Notifications via API. 1. Please go to API - Add Attachment to Notification API and add the request ID and the attachment. Screenshot for reference: 2. Then, you would need to find the ...
Add request API Using Postman
You need to send the TECHNICIAN_KEY and format in Params and the data in Body. Also, you have to encode the body and send it. Please refer to the below for your reference which is sent using postman. Attached is the SAMPLE JSON file Example : ...