Api doc


SDK's


Api Modules

timeclock.addclocktime

Add Clock Time.



Supported Methods:

GET
Params
  • token (Required): valid token
  • employee (Required): integer
  • datein (Required): varchar
  • dateout: varchar
  • onlyin: enum (0, 1)
  • schedule: integer
  • notes: varchar
  • remote_site: integer
  • tips: varchar


Documentation

GET
Clock In Employee (Default: Authenticated User)
Level 5 is required (all users can fetch this module)

--

Parameters:

  1. "employee": required //Employee id (integer)
  2. "datein": required //Clock in time timestamp (varchar)
  3. "dateout": accepted //Clock out time timestamp (varchar)
  4. "onlyin": accepted //Only clock in (enum[0,1])
  5. /* 0: Add clock in and clock out time
  6.   * 1: Just add clock in time */
  7. "schedule": accepted //Schedule id (integer)
  8. "notes": accepted //Notes (varchar)
  9. "token": "xxxxxxx" //Valid token is required

Example Request:

  1. {
  2. "module":"timeclock.addclocktime",
  3. "method":"GET",
  4. "request":{
  5. "employee":"159345",
  6. "datein":"Nov 20, 2012 09:00 AM",
  7. "dateout":"Nov 20, 2012 05:00 PM"
  8. }
  9. }

Example Response:

  1. {
  2. "status":1,
  3. "data":{
  4. "Clock time added."
  5. },
  6. "token":"xxxxxxx"
  7. }

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