Request add attachment_Python script-API

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 the attachment need to be upload; mention the file name  >> save (Here 'test.txt' is placed under the folder "Attachment_Python_Script"  and the same is mentioned in the script )

Command prompt >> execute the command to upload the attachment-->py attachmentScript.py

 

Above highlighted are the those that need to be modified based on the requirement. If you are generating technician key under Admin->Technicians, you need to save it. You may also generate the same for the logged in technician using the API key generation option at the profile box at the right top.