Paste the URL from Step-4 into a web browser. You will be redirected to a page similar to the one shown below. Copy and save the SiteId (for example,highlighted in red).
Navigate to the SharePoint folder where you want to upload or fetch a file. It looks like this:https://documentdeliverydev.sharepoint.com/sites/TestSite/Shared Documents/Forms/AllItems.aspx?id=/sites/BobbyTestSite/Shared Documents/Folder1/Folder2&viewid=a9475809-2cdb-412c-943a-559f810d7dab. You can find the ParentFolder in the URL. (In this case, Folder1/Folder2)
FileId for GRAB API:
FileId in the Grab payload is a siteId followed by a comma-separated path to a template file. For example: suppose you have a nested folder calledFolder1/Folder2that contains a file calledtest1.docxin it. The FileId looks like this: fd2bf294-42bf-42d9-b3c7-87f2e88c8ce7,Folder1/Folder2/test1.docx(format: siteId,path to a template file)
FileId for SEND API:
FileId in the Send payload is a comma-separated siteId and path. For example: suppose you have a nested folder calledFolder1/Folder2. The FileId looks like this: fd2bf294-42bf-42d9-b3c7-87f2e88c8ce7,Folder1/Folder2(format: siteId,path)