Search found 6 matches

by jhonathanarroyo
Thu Mar 03, 2022 9:45 am
Forum: Developers
Topic: Creating Schedule whit APISchedule
Replies: 6
Views: 4435

Re: Creating Schedule whit APISchedule

I do not have access to the server.

Could you send to me an example of the parameters needed in the argument to send the request to the APISchedule -> setSchedule

Thanks
by jhonathanarroyo
Wed Mar 02, 2022 10:18 am
Forum: Developers
Topic: Creating Schedule whit APISchedule
Replies: 6
Views: 4435

Re: Creating Schedule whit APISchedule

Could you send to me an example of how can I send a correct request to that API method?
by jhonathanarroyo
Wed Mar 02, 2022 10:16 am
Forum: Developers
Topic: Creating Schedule whit APISchedule
Replies: 6
Views: 4435

Re: Creating Schedule whit APISchedule

The response is:

bool(false)
by jhonathanarroyo
Tue Mar 01, 2022 4:05 pm
Forum: Developers
Topic: Creating Schedule whit APISchedule
Replies: 6
Views: 4435

Creating Schedule whit APISchedule

Could someone help me to know what am I doing wrong $dataSchedule = [ 'user_id' => 'iduser', 'status_id' => 20, //Absent 'start_date' => strtotime($data->dtstart->format('Y-m-d H:i:s')), 'end_date' => strtotime($data->dtend->format('Y-m-d H:i:s')), 'absence_policy_id' => 'idpolicy' ]; $user_data = $...
by jhonathanarroyo
Fri Jan 07, 2022 11:19 am
Forum: Help
Topic: getPunch is returning true instead of punches register
Replies: 1
Views: 1038

getPunch is returning true instead of punches register

I'm trying to get punches from Timetrex with my API it was working yesterday properly with the same code, and today is not. what I'm doing is calling the method APIPunch/getPunch whit this filter: Array ( [filter_data] => Array ( [time_stamp] => 1641531600 [type_id] => 10 ) ) but I'm getting just tr...
by jhonathanarroyo
Tue Dec 07, 2021 2:35 pm
Forum: Developers
Topic: Pay Code available per user depending of policy group
Replies: 1
Views: 3948

Pay Code available per user depending of policy group

Does someone know why the Timetrex version 15.0 is not returning the policy_group_id? and does someone knows how to get the PayCode available for a user?