# How to synchronize the time attendance data to the third-party systems?

**URL:** <https://community.anviz.com/t/how-to-synchronize-the-time-attendance-data-to-the-third-party-systems/491>\
**Category:** Integration\
**Tags:** time-attendance, crosschex-cloud\
**Created:** [August 16, 2022, 2:21am UTC](https://community.anviz.com/t/how-to-synchronize-the-time-attendance-data-to-the-third-party-systems/491 "2022-08-16T02:21:26Z")\
**Posts on this page:** 20\
**Page:** 2

<div class="post-metadata">

**Author:** ![jeperaltag](https://avatars.discourse-cdn.com/v4/letter/j/8dc957/32.png) [@jeperaltag](https://community.anviz.com/u/jeperaltag)\
**Post date:** [November 2, 2022, 11:53am UTC](https://community.anviz.com/t/how-to-synchronize-the-time-attendance-data-to-the-third-party-systems/491/21 "2022-11-02T11:53:25Z")

</div>

Hi. Is there any way, to use webhook to get punch not only information but also basic schedule information associated to each employee to be managed for our IA payroll SW. Anyway, would you provide me detailed information related to the functions and information that can be gotten using webhook. Regards, Juan Peralta

---

<div class="post-metadata">

**Author:** ![jeperaltag](https://avatars.discourse-cdn.com/v4/letter/j/8dc957/32.png) [@jeperaltag](https://community.anviz.com/u/jeperaltag)\
**Post date:** [November 3, 2022, 12:35pm UTC](https://community.anviz.com/t/how-to-synchronize-the-time-attendance-data-to-the-third-party-systems/491/22 "2022-11-03T12:35:59Z")

</div>

@Felix_Anviz Hi Felix. Before activating the webhook on the testing account would you please send me information about the functions supporting and especially if I can retry the employee schedules using webhook. Our payroll application needs employee punches but also a daily schedule to calculate the working time (that it is very complicated in Panama due to labor regulations)

---

<div class="post-metadata">

**Author:** ![Felix\_Anviz](https://avatars.discourse-cdn.com/v4/letter/f/7c8e57/32.png) [@Felix\_Anviz](https://community.anviz.com/u/Felix_Anviz)\
**Post date:** [November 4, 2022, 2:27am UTC](https://community.anviz.com/t/how-to-synchronize-the-time-attendance-data-to-the-third-party-systems/491/23 "2022-11-04T02:27:45Z")

</div>

Hi @leandro.albero

We checked we already acctive the developer mode for you. And please check the it and login with administrator account. The cloud login is [eu.crosschexcloud.com](http://eu.crosschexcloud.com)

---

<div class="post-metadata">

**Author:** ![Felix\_Anviz](https://avatars.discourse-cdn.com/v4/letter/f/7c8e57/32.png) [@Felix\_Anviz](https://community.anviz.com/u/Felix_Anviz)\
**Post date:** [November 4, 2022, 2:36am UTC](https://community.anviz.com/t/how-to-synchronize-the-time-attendance-data-to-the-third-party-systems/491/24 "2022-11-04T02:36:00Z")

</div>

Hi All:

We have upgrade the Webhooks interface information. Thank you very much for your attention！

---

<div class="post-metadata">

**Author:** ![Felix\_Anviz](https://avatars.discourse-cdn.com/v4/letter/f/7c8e57/32.png) [@Felix\_Anviz](https://community.anviz.com/u/Felix_Anviz)\
**Post date:** [November 4, 2022, 2:39am UTC](https://community.anviz.com/t/how-to-synchronize-the-time-attendance-data-to-the-third-party-systems/491/25 "2022-11-04T02:39:46Z")

</div>

Hi @jeperaltag ：

The Webhooks is only push the employee’s time attendance to your server. The CrossChex Cloud software already include the shift schedule funciton.

---

<div class="post-metadata">

**Author:** ![Felix\_Anviz](https://avatars.discourse-cdn.com/v4/letter/f/7c8e57/32.png) [@Felix\_Anviz](https://community.anviz.com/u/Felix_Anviz)\
**Post date:** [November 4, 2022, 2:48am UTC](https://community.anviz.com/t/how-to-synchronize-the-time-attendance-data-to-the-third-party-systems/491/26 "2022-11-04T02:48:07Z")

</div>

Hi @jeperaltag 🙂

Thanks for you suggestion we will possibilities to consider and validate the feature from our cloud.

---

<div class="post-metadata">

**Author:** ![jeperaltag](https://avatars.discourse-cdn.com/v4/letter/j/8dc957/32.png) [@jeperaltag](https://community.anviz.com/u/jeperaltag)\
**Post date:** [November 4, 2022, 9:30am UTC](https://community.anviz.com/t/how-to-synchronize-the-time-attendance-data-to-the-third-party-systems/491/27 "2022-11-04T09:30:20Z")

</div>

Hi @Felix_Anviz . Please take a moment to understand what we are working on. In Panama there is payroll software that covers 90% of the market and we are working on developing a tool that can calculate the working time needed by the payroll application (PayDay for your reference). The problem is that PayDay requires a complex table with about 35 columns where the user must fill in the working time of each employee according to the Panamanian labor regulation that can classify the working time in a very complex way. We have developed a complete algorithm to do that, but we need both the employee punches and the schedule of the employee. Using this information (and the complex rules of Panamanian rules) we can create the table needed by the payroll software.

Our idea is that customer use Crosschexcloud to manage attendance and basic RRHH and can with our application generate the required table for payroll calculation without human calculations (as they must do right now).

To do that we should be able to retrieve from Crosschexcloud:

- Employee (Id, name, and department)
- Employee schedule (by day) in a date range

Would you please confirm if we can do that using webhook, or if we must abandon this project and let the customer do it manually as they do today?

In the past, we failed in a complete development (using SDK cloud) because it must reply major function of cloudclocking, so we prefer to cancel the project.

Your final response will be highly appreciated to determine if we keep on working or not with the payroll interface.

Best regards, Juan

---

<div class="post-metadata">

**Author:** ![Felix\_Anviz](https://avatars.discourse-cdn.com/v4/letter/f/7c8e57/32.png) [@Felix\_Anviz](https://community.anviz.com/u/Felix_Anviz)\
**Post date:** [November 4, 2022, 11:08am UTC](https://community.anviz.com/t/how-to-synchronize-the-time-attendance-data-to-the-third-party-systems/491/28 "2022-11-04T11:08:33Z")

</div>

HI 🙂

Right now the employee data just include below:

| Field | Type | Instruction |
| --- | --- | --- |
| records | array | Array of the records |
| check\_time | string | Record Time（UTC） |
| check\_type | string | Punch Type |
| employee | array | Employee Info. |
| workno | string | Employee ID |
| first\_name | string | First Name |
| last\_name | string | Last Name |
| device | array | Device Info. |
| serial\_number | string | Device SN |
| name | string | Device Name |

That’s good news for us to know that. Can you share me more information about the data format about the employee schedule. Thanks. My mail box is: [felix@anviz.com](mailto:felix@anviz.com)

---

<div class="post-metadata">

**Author:** ![babis](https://avatars.discourse-cdn.com/v4/letter/b/e274bd/32.png) [@babis](https://community.anviz.com/u/babis)\
**Post date:** [November 25, 2022, 4:38pm UTC](https://community.anviz.com/t/how-to-synchronize-the-time-attendance-data-to-the-third-party-systems/491/29 "2022-11-25T16:38:34Z")

</div>

Hello,  
I am interested in working with this my servers are 310000560 and 310000795. Could you please activate webhooks?

---

<div class="post-metadata">

**Author:** ![makis](https://avatars.discourse-cdn.com/v4/letter/m/cab0a1/32.png) [@makis](https://community.anviz.com/u/makis)\
**Post date:** [December 8, 2022, 8:51pm UTC](https://community.anviz.com/t/how-to-synchronize-the-time-attendance-data-to-the-third-party-systems/491/30 "2022-12-08T20:51:26Z")

</div>

Hello… Could you activate developer mode to my account , please … Company ID : 110005310

---

<div class="post-metadata">

**Author:** ![Leonardo\_Anviz](https://sea2.discourse-cdn.com/flex020/user_avatar/community.anviz.com/leonardo_anviz/32/60_2.png) [@Leonardo\_Anviz](https://community.anviz.com/u/Leonardo_Anviz)\
**Post date:** [December 12, 2022, 1:45pm UTC](https://community.anviz.com/t/how-to-synchronize-the-time-attendance-data-to-the-third-party-systems/491/31 "2022-12-12T13:45:18Z")

</div>

Hi @makis

Webhooks activated.

---

<div class="post-metadata">

**Author:** ![Leonardo\_Anviz](https://sea2.discourse-cdn.com/flex020/user_avatar/community.anviz.com/leonardo_anviz/32/60_2.png) [@Leonardo\_Anviz](https://community.anviz.com/u/Leonardo_Anviz)\
**Post date:** [December 12, 2022, 1:45pm UTC](https://community.anviz.com/t/how-to-synchronize-the-time-attendance-data-to-the-third-party-systems/491/32 "2022-12-12T13:45:39Z")

</div>

Hi @babis

Webhooks activated for both accounts

---

<div class="post-metadata">

**Author:** ![makis](https://avatars.discourse-cdn.com/v4/letter/m/cab0a1/32.png) [@makis](https://community.anviz.com/u/makis)\
**Post date:** [December 15, 2022, 8:37pm UTC](https://community.anviz.com/t/how-to-synchronize-the-time-attendance-data-to-the-third-party-systems/491/33 "2022-12-15T20:37:43Z")

</div>

Hi Leonardo. Thank you for your response. I see the new menu “Developer Mode” but I cant find how to subscribe trigger events . Am I missing something?

---

<div class="post-metadata">

**Author:** ![Leonardo\_Anviz](https://sea2.discourse-cdn.com/flex020/user_avatar/community.anviz.com/leonardo_anviz/32/60_2.png) [@Leonardo\_Anviz](https://community.anviz.com/u/Leonardo_Anviz)\
**Post date:** [December 16, 2022, 12:40am UTC](https://community.anviz.com/t/how-to-synchronize-the-time-attendance-data-to-the-third-party-systems/491/34 "2022-12-16T00:40:01Z")

</div>

Hi @makis

On the developer mode pages you can find some tutorials about how to do it, have you checked them?  
There are two pages, one specific for webhooks, antother specific by Cloud API.

Maybe this other topic can help you:

> [@How to use API to get the records from the CrossChex Cloud?](https://community.anviz.com/t/how-to-use-api-to-get-the-records-from-the-crosschex-cloud/726):
>
> Inorder to get the employee’s records from the CrossChex Cloud. Anviz not only provide the webhooks function to push the time attendance data to your server, ([CrossChex Cloud Webhooks](https://community.anviz.com/t/how-to-synchronize-the-time-attendance-data-to-the-third-party-systems/491)) now we provide the API to get the records from the CrossChex Cloud Server. The CrossChex Cloud API URL: [https://api.ap.crosschexcloud.com/](https://api.ap.crosschexcloud.com/) Get Token Request: Name Value Type Necessary Description header[nameSpace] authorize.token Text Yes Fixed Value header[nameAction] token Text Yes Fixed…

---

<div class="post-metadata">

**Author:** ![makis](https://avatars.discourse-cdn.com/v4/letter/m/cab0a1/32.png) [@makis](https://community.anviz.com/u/makis)\
**Post date:** [December 16, 2022, 6:12pm UTC](https://community.anviz.com/t/how-to-synchronize-the-time-attendance-data-to-the-third-party-systems/491/35 "2022-12-16T18:12:57Z")

</div>

Thank you for your response… Of course I have checked them already . I can’t see the part that says where can you subscribe an event …  
Also I m trying to implement a php client for your API … I ve set headers like documentation says … Also i ve set post parameters api\_key & api\_secret like documentation says … Always throws up with this error

```
"payload": {
    "type": "MISS_PARAM",
    "message": "MISS_PARAM"
}

```

Is there any implementation in any programming language that we can check ?? Thank you in advance.  
I did some tests with postman and I always get this error … I assume that comes from your db connection

 ![db-error-pool-anviz](https://us1.discourse-cdn.com/flex020/uploads/anviz/original/1X/f85b04c9c9df43898884314a59354496bc827fc6.png)

---

<div class="post-metadata">

**Author:** ![Leonardo\_Anviz](https://sea2.discourse-cdn.com/flex020/user_avatar/community.anviz.com/leonardo_anviz/32/60_2.png) [@Leonardo\_Anviz](https://community.anviz.com/u/Leonardo_Anviz)\
**Post date:** [December 19, 2022, 1:16pm UTC](https://community.anviz.com/t/how-to-synchronize-the-time-attendance-data-to-the-third-party-systems/491/36 "2022-12-19T13:16:06Z")

</div>

Hi @Felix_Anviz can you please help us with your comments?

Thank you

---

<div class="post-metadata">

**Author:** ![Felix\_Anviz](https://avatars.discourse-cdn.com/v4/letter/f/7c8e57/32.png) [@Felix\_Anviz](https://community.anviz.com/u/Felix_Anviz)\
**Post date:** [December 20, 2022, 1:34am UTC](https://community.anviz.com/t/how-to-synchronize-the-time-attendance-data-to-the-third-party-systems/491/37 "2022-12-20T01:34:01Z")

</div>

Hi @makis  
Please put the request parameter in the request body.

---

<div class="post-metadata">

**Author:** ![makis](https://avatars.discourse-cdn.com/v4/letter/m/cab0a1/32.png) [@makis](https://community.anviz.com/u/makis)\
**Post date:** [December 22, 2022, 6:06pm UTC](https://community.anviz.com/t/how-to-synchronize-the-time-attendance-data-to-the-third-party-systems/491/38 "2022-12-22T18:06:11Z")

</div>

Thank you for your response. Is there any example with curl?? As you can see on the screenshot that I ve posted before the parameters are included in the body of request… I m really confused what are you mean by this …

---

<div class="post-metadata">

**Author:** ![ruben](https://avatars.discourse-cdn.com/v4/letter/r/59ef9b/32.png) [@ruben](https://community.anviz.com/u/ruben)\
**Post date:** [December 29, 2022, 12:18pm UTC](https://community.anviz.com/t/how-to-synchronize-the-time-attendance-data-to-the-third-party-systems/491/39 "2022-12-29T12:18:41Z")

</div>

Hi, we’d like to test the developer mode. Our ID is 110005458

---

<div class="post-metadata">

**Author:** ![Leonardo\_Anviz](https://sea2.discourse-cdn.com/flex020/user_avatar/community.anviz.com/leonardo_anviz/32/60_2.png) [@Leonardo\_Anviz](https://community.anviz.com/u/Leonardo_Anviz)\
**Post date:** [December 29, 2022, 2:32pm UTC](https://community.anviz.com/t/how-to-synchronize-the-time-attendance-data-to-the-third-party-systems/491/40 "2022-12-29T14:32:28Z")

</div>

Hello @Felix_Anviz can you please support? Thanks!

[Previous page](https://community.anviz.com/t/how-to-synchronize-the-time-attendance-data-to-the-third-party-systems/491.md?page=1)

[Next page](https://community.anviz.com/t/how-to-synchronize-the-time-attendance-data-to-the-third-party-systems/491.md?page=3)
