Discussions

Ask a Question
Back to All

Location parameter is ignored in timeclock.clockin method

Request:
[
'key' => 'HIDDEN',
'module' => 'timeclock.clockin',
'method' => 'GET',
'request' => [
'location' => '192.168.1.25',
'employee' => 'hidden'
]
]

Documentation says the parameter "location" is accepted as:
location (accepted) varchar Clock in location - IP address

However, when running this call, the IP address will still be the server IP and not the client IP.

Am I doing something wrong or why is the "location" parameter ignored in this call?

Thanks in advance!