Get Files Categories API

Request Url

https://people.zoho.com/people/api/files/getCategories?

Header:

Authorization: Zoho-oauthtoken 1000.8cb99dxxxxxxxx9be93.9b8xxxxxxf

Request Parameters:

name
Specify the folder name to fetch the specific folder details.

Request

Copiedhttps://people.zoho.com/people/api/files/getAllFiles?fileType=0&start=0&limit=25&roleId=6000000043061&catId=6000000043062&employeeId=6000000043063&locationId=6000000043064&filterBy=my

Header

CopiedAuthorization: Zoho-oauthtoken 1000.8cb99dxxxxxxxx9be93.9b8xxxxxxf

Response

Copied<response uri="/api/files/getAllFiles">
<status>0</status>
<message>Data fetched successfully</message>
<result>

[{"fileName":"payslip.html","fileCatName":"3","filePath":"1480399880022FileCabinet/payslip.txt","fileRoleID":"","fileDate":"11-29-2016","fileDesc":"","fileLocationID":"","decryptfilePath":"1480399880022FileCabinet/payslip.txt","fileCreateByName":"","fileConfident":0,"fileCategoryID":"2790000000304003","fileOwnerID":"","isreportingTo":0,"fileUsageSpace":1313890,"fileType":1,"fileID":"27900000003390032"},

{"fileName":"offerletter.txt","fileCatName":"offerletter","filePath":"1480399918832FileCabinet/offerletter.txt","fileRoleID":"","fileDate":"11-29-2016","fileDesc":"","fileLocationID":"","decryptfilePath":"1480399918832FileCabinet/offerletter.txt","fileCreateByName":"","cats":[{"getFileCatName":"3","getFileCatId":"2790000000304009"},{"getFileCatName":"99","getFileCatId":"2790000000145005"}],"fileConfident":0,"fileCategoryID":"2790000000145005","fileOwnerID":"","isreportingTo":0,"fileUsageSpace":1313790,"fileType":1,"fileID":"27900000003380023"}]

</result>
</response>
Copied{"response":{"result":[{"fileOwnerName":"John g","fileName":"Payslip","fileCatName":"Payroll","filePath":"14748722981FileCabinet/usecase.rtf","fileRoleID":"","fileDate":"11-30-2016","fileDesc":"","fileLocationID":"","decryptfilePath":"1479448722981FileCabinet/usecase.rtf","fileCreateByName":"","cats":[{"getFileCatName":"Payroll","getFileCatId":"2790000000340001"}],"fileConfident":0,"fileCategoryID":"2790000000340001","fileOwnerID":"2790000000092117","isreportingTo":0,"fileUsageSpace":13137890,"fileType":0,"fileID":"2790000000331011"}],"message":"Data fetched successfully","uri":"/api/files/getAllFiles","status":0}}