I can't seem to be able to get a successful return on "/files" and "/folders" API endpoints.
I have followed the documentation's instructions and included fileId/foderId - depending on the call - yet still getting back a 404 Not Found. Please see attached screenshot with example.
API call:
(GET) https://app.connect.trimble.com/tc/api/2.0/files/{fileId}
Return:
{
"message": "File not found",
"errorcode": "OBJECT_NOT_FOUND"
}
I have been testing with fileId/folderId from TC URL, as well as file excel exports which contain the file's fieldId.
Can someone please advise if there's a problem with the API or if potentially I'm doing something wrong.
Any help would be appreciated.
Many thanks,
Sergio.