Api doc


SDK's


Api Modules

admin.files

Returns a list of all files uploaded into Humanity.



Supported Methods:

GET
Params
  • token (Required): valid token
  • training: integer
  • employee: integer


Documentation

GET
Retrieves a list of all files uploaded into ShiftPlanning.
If training id is forwarded trough parameter "training" the module retrieves the Training Files.
If employee id is forwarded trough parameter "employee" the module retrieves Employee Files.
If no parameters are forwarded module retrieves Admin Files.
Display limit is 50.

Level 5 is required.

--

Parameters:

  1. "training": accepted //Training id (integer)
  2. "employee": accepted //Employee id (integer)
  3. "token": "xxxxxxx" //Valid token is required

Example Request:

  1. {
  2. "module":"admin.files",
  3. "method":"GET",
  4. "request":{
  5.  
  6. }
  7. }

Example Response:

  1. {
  2. "status":1,
  3. "data":[
  4. {
  5. "id":"444",
  6. "name":"",
  7. "description":"",
  8. "filename":"payroll_export.csv",
  9. "date":"1339516067",
  10. "file_size":"239",
  11. "num_downloads":"0",
  12. "filetype":"application\/octet-stream",
  13. "extension":"csv",
  14. "url":"http:\/\/www.humanity.com\/api\/file\/444.j4k32k32k",
  15. "secureurl":"http:\/\/www.humanity.com\/app\/admin\/file.php?fid=ggfd"
  16. }
  17. ],
  18. "token":"xxxxxxx"
  19. }

GET STARTED NOW

Free Trial. No Credit Card Required.

close
(e.g.+14158675309 or +1415-8675-309)

By clicking "Create my ShiftPlanning Account" you agree to the Terms of Service and Privacy Policy.

Have a promotional code?Click Here


LIVE CHAT DEMO REQUEST!

Please provide information below.

close
INSTANT DEMOSCHEDULED DEMO
Connect with a ShiftPlanning Team Member for a live demo right now!
 

RESELLER REQUEST!

Please provide information below.

close