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

Deleting file from Inbox/Outbox Explorer using REST API

edited Aug 5, 2025 12:40PM in Planning 1 comment

Hi all,

We are trying to delete a csv file from Inbox/Outbox Explorer using the below REST API

https://docs.oracle.com/en/cloud/saas/enterprise-performance-management-common/prest/delete_files_v2.html

Although, this REST API is working fine from Postman, the below error is thrown when implementing the same in groovy script.

Below is the groovy script:

def json_data="""
{
"fileName": "Test.csv"
}

"""

HttpResponse<String> jsonResponse= operation.application.getConnection("EPBCSPlanning").delete('/interop/rest/v2/files/delete')
.header("Content-Type","application/json")
.body(json_data)
.asString()

println(jsonResponse.body)

It would be really helpful if you guys can guide me through this. Thanks a ton for your responses in Advance!

Howdy, Stranger!

Log In

To view full details, sign in.

Register

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