Skip to content

clockin/clockout operation not happening via API #7

@rkshakya

Description

@rkshakya

Hi,
I am using Python-SDK to execute 'timeclock.clockin' operation using following code snippet but the clockin operation does not happen. The execution of the the code snippet does not show any error but displays the console output as in attached screenshot.
Could you please inform what could have gone wrong? Thank you
(I have changed key, email, password values in the code snippet
console
)
`import os
import shift_planning

if name == "main":
key = "7f1083c7a109479317"
username = 'ravkya@gmail.com'
pwd = 'pwd'
s = shift_planning.ShiftPlanning(key,username,pwd)
s.do_login()
params1 = {
'module':'timeclock.clockin',
'method':'GET',
'request': {
'employee':2397445
}
}
s.perform_request(params1)
print s.get_raw_resopsne()`

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions