ServiceDesk API User Guide

This page will show documents belongs to companies which logged-in contact has access to.



Applying filtering using Odata

Implementing filtering using OData queries.
Getting documents with specific file name :

GET ~/api/DbFileView?$filter=file_name+eq+'1750-2353372479.png'

Getting thumbnail of a file :
GET ~/api/DbFileView/GetFileThumbnail/?id={db_file_id}

Getting thumbnail of a file with given Height & Width :
GET ~/api/DbFileView/GetFileThumbnail/?id={db_file_id}&maxWidth={Max_Width_Int}&maxHeight={Max_Height_Int}

Getting file content or reading whole file
GET ~/api/DbFileView/GetFileContent/?id={db_file_id}