I am able to retrieve (all?/most) other attachments with no issue, but anything containing plus sign I cannot.
Specific example:
"Summary" : "ScriptX+DataYProblem Screens.doc",
"parent-id" : "21257",
"parent-type" : "defect",
"ref-type" : "File",
I need the REST API to retrieve the content of that attachment on the defect.
For any other attachment, I can request the url:
https://myALM.saas.hpe.com/qcbin/rest/domains/PRODUCTION_XYZCO/projects/ProjectXYZ
/defects/21257/attachments/${efname}?alt=application/octet-stream
Where efname is the URL-encoded filename, which in this case should be:
ScriptX%2BDataYProblemScreens.doc
End result though is that I get an error from the remote server and no content. For others, it works fine.
↧