Hyperion Essbase (MOSC)

MOSC Banner

How to use 21C API to list files older than 60 days

I can successfully use CURL to list files in a directory. I'd like to write a script to delete files over 60 days old. I assume I need to first list the files and then loop through list to delete. I'm not seeing in documentation how to filter on the modifiedTime property. I also don't understand what this dateTime format represents. If any knows or can point me at documentation it would be appreciated.

Documentation doesn't get into any detail:


curl -i -X GET -u EssbaseAdmin:password

"https://essbasedev.sculptor.com/essbase/rest/v1/files/users/EssbaseAdmin/BUDFC_04202023.zip" -H "accept: application/json"

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center