Thank you for supporting the Cloud Customer Connect Community in 2024. It's a gift to work with you!

Look back
You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

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)

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!