Facing issues while getting files under retention policy
CompletedGoal : Try to fetch the retention policy on a file if there is one.
Hey, I am trying to determine whether there is retention policy and if there is, get the winning retention policy.
I was hoping to get this from metedata of the file using
GET "https://api.box.com/2.0/files/{file_id}" API but this is not returning any details pertaining to retention policy.
I tried to fetch the info from
GET "https://api.box.com/2.0/file_version_retentions?file_id={file_id}" API but this is returning empty list of entries even though the file corresponding to {file_id} is under retention
Finally I am trying to fetch all the files under retention using
but this is returning
Please sign in to leave a comment.
Comments
1 comment