Delete file from inbox
Summary:
Hi all,
i'm facing the following issue while deleting file from inbox/outbox explorer through using REST api from groovy script.
"A method called by the script failed on line: 4, with error: Error occured: BAD_REQUEST"
The connection used is the following :
https://*serverUrl*/interop
I used Delete Files (v11.1.2.3.600) REST API.
I don't know what the problem is.
Thank you in advance for any suggestions,
SRAD
Version (include the version you are using, if applicable):
Code Snippet (add any code snippets that support your topic, if applicable):
String sRoleReport = "test.csv"
HttpResponse<String> jsonResponseReport1 = delete("ConnectionName", sRoleReport)
int statusReport = awaitCompletion("ConnectionName", jsonResponseReport1)