EPDM API: Get Parent-Folder-ID from File-ID

Hello,

is there a way to get the Parent_Folder_ID from the file-ID ? At the end i need the Folder-Path but every

api command to get the Folder Path Needs the Folder-ID ?

Thanks for all help !!

SolidworksApi macros