{"id":3256,"date":"2020-09-30T04:01:52","date_gmt":"2020-09-30T04:01:52","guid":{"rendered":"https:\/\/www.ncheck.net\/?page_id=3256"},"modified":"2024-11-05T19:22:38","modified_gmt":"2024-11-05T16:22:38","slug":"integrating-with-third-party-applications","status":"publish","type":"page","link":"https:\/\/cn.ncheck.net\/zh\/integrating-with-third-party-applications\/","title":{"rendered":"Integrating with third-party applications"},"content":{"rendered":"<h3>NCheck Bio Attendance with third-party systems<\/h3>\n<p>NCheck Bio Attendance clients can execute an <strong>external application\/URL<\/strong> in a specific event (Check-in or check-out). This feature can be used with an <strong>access control system<\/strong>, such as opening doors for authorized personnel.<\/p>\n<p>Also, NCheck Bio Attendance provide an application programming interface (<strong>API<\/strong>) for extending it&#8217;s functionality with different kind of applications. For an example, you may want some client application, which will server a different purpose than NCheck client applications. In such cases, you can consume NCheck API to get specific information from NCheck server. For integration details, please refer the <a href=\"https:\/\/www.ncheck.net\/documentation\/developer\/ncheck_api.html\" target=\"_blank\" rel=\"noopener\">developer&#8217;s manual<\/a>.<\/p>\n<div class=\"alert alert_info\"><div class=\"alert_icon\"><svg viewbox=\"0 0 28 28\" aria-label=\"info alert icon\"><defs><style>.path{fill:none;stroke:#000;stroke-miterlimit:10;stroke-width:1.5px;}<\/style><\/defs><g><circle class=\"path\" cx=\"14\" cy=\"14\" r=\"12\"\/><path class=\"path\" d=\"M11.2,9.12a3.4,3.4,0,0,1,3-1.69,2.84,2.84,0,0,1,3,2.76,3.16,3.16,0,0,1-.84,2.23c-.63.74-1.58,1.18-2.19,1.88a1,1,0,0,0-.26.64v2.32\"\/><circle class=\"path\" cx=\"14\" cy=\"20\" r=\"0.33\"\/><\/g><\/svg><\/div><div class=\"alert_wrapper\">These features are intended for integrators\/developers. You may need to get help from a person with technical skills in order to create such integrations. <\/div><a href=\"#\" class=\"close mfn-close-icon\"><span class=\"icon\">\u2715<\/span><\/a><\/div>\n\n<h4>Executing an external application<\/h4>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-3262 size-full\" src=\"https:\/\/www.ncheck.net\/wp-content\/uploads\/2020\/09\/external_exec.png\" alt=\"External application executing with NCheck Bio Attendance\" width=\"733\" height=\"443\" srcset=\"https:\/\/cn.ncheck.net\/wp-content\/uploads\/2020\/09\/external_exec.png 733w, https:\/\/cn.ncheck.net\/wp-content\/uploads\/2020\/09\/external_exec-300x181.png 300w, https:\/\/cn.ncheck.net\/wp-content\/uploads\/2020\/09\/external_exec-242x146.png 242w, https:\/\/cn.ncheck.net\/wp-content\/uploads\/2020\/09\/external_exec-50x30.png 50w, https:\/\/cn.ncheck.net\/wp-content\/uploads\/2020\/09\/external_exec-124x75.png 124w, https:\/\/cn.ncheck.net\/wp-content\/uploads\/2020\/09\/external_exec-400x242.png 400w\" sizes=\"(max-width:767px) 700px, 733px\" \/><\/p>\n<p>Example for external application use case &#8211; open a door.<\/p>\n<ol>\n<li>Employee check-in using NCheck Bio Attendance Standard client.<\/li>\n<li>NCheck Standard client (Client 1) update the record in NCheck server.<\/li>\n<li>In the Client 1 device configuration, we have configured to run an external executable on check-in event. This can be configured from the NCheck control panel. Go to device management and create a peripheral configuration, and assign that configuration to the said device (Client 1).<\/li>\n<li>According to the peripheral configuration assigned to the device, it calls the external executable\/URL which we configured in the control panel. (This may be opening a door, or execute another application installed in the client itself.)<\/li>\n<\/ol>\n<h4>Using NCheck API in a third-party application<\/h4>\n<p>NCheck API is intended for developing custom application that can work with NCheck Server. Detailed API documentation can be found <a href=\"https:\/\/www.ncheck.net\/documentation\/developer\/ncheck_api.html\" target=\"_blank\" rel=\"noopener\">here<\/a>.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-3265\" src=\"https:\/\/www.ncheck.net\/wp-content\/uploads\/2020\/09\/API_use_case-1.png\" alt=\"\" width=\"788\" height=\"490\" srcset=\"https:\/\/cn.ncheck.net\/wp-content\/uploads\/2020\/09\/API_use_case-1.png 788w, https:\/\/cn.ncheck.net\/wp-content\/uploads\/2020\/09\/API_use_case-1-300x187.png 300w, https:\/\/cn.ncheck.net\/wp-content\/uploads\/2020\/09\/API_use_case-1-768x478.png 768w, https:\/\/cn.ncheck.net\/wp-content\/uploads\/2020\/09\/API_use_case-1-235x146.png 235w, https:\/\/cn.ncheck.net\/wp-content\/uploads\/2020\/09\/API_use_case-1-50x31.png 50w, https:\/\/cn.ncheck.net\/wp-content\/uploads\/2020\/09\/API_use_case-1-121x75.png 121w, https:\/\/cn.ncheck.net\/wp-content\/uploads\/2020\/09\/API_use_case-1-400x249.png 400w\" sizes=\"(max-width:767px) 700px, (max-width:788px) 100vw, 788px\" \/><\/p>\n<p>Simple use-case for such third-party application will look like this:<\/p>\n<ol>\n<li>There&#8217;s a client application registered with a NCheck Server. Employees can check-in or check-out using that client device. Also administrators can manually add\/edit\/delete events through web control panel.<\/li>\n<li>To access NCheck API, you need to have a username and password. Simply log in to web control panel and in device management, you can create new API access token. You can send generated credentials via email as well, or write it down.<\/li>\n<li>NCheck API will allow to perform following operations:\n<ul>\n<li>Add\/delete user<\/li>\n<li>Get user list<\/li>\n<li>Update\/delete biometric<\/li>\n<li>Get attendance events<\/li>\n<li>Delete events<\/li>\n<li>Get work hour report<\/li>\n<\/ul>\n<\/li>\n<\/ol>\n<p>Refer the full <a href=\"https:\/\/www.ncheck.net\/documentation\/developer\/ncheck_api.html\" target=\"_blank\" rel=\"noopener\">API documentation.<\/a><\/p>","protected":false},"excerpt":{"rendered":"<p>NCheck Bio Attendance with third-party systems NCheck Bio Attendance clients can execute an external application\/URL in a specific event (Check-in or check-out). This feature can be used with an access control system, such as opening doors for authorized personnel. Also, NCheck Bio Attendance provide an application programming interface (API) for<span class=\"excerpt-hellip\"> [\u2026]<\/span><\/p>","protected":false},"author":3,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"inline_featured_image":false,"footnotes":""},"class_list":["post-3256","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/cn.ncheck.net\/zh\/wp-json\/wp\/v2\/pages\/3256"}],"collection":[{"href":"https:\/\/cn.ncheck.net\/zh\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/cn.ncheck.net\/zh\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/cn.ncheck.net\/zh\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/cn.ncheck.net\/zh\/wp-json\/wp\/v2\/comments?post=3256"}],"version-history":[{"count":13,"href":"https:\/\/cn.ncheck.net\/zh\/wp-json\/wp\/v2\/pages\/3256\/revisions"}],"predecessor-version":[{"id":11049,"href":"https:\/\/cn.ncheck.net\/zh\/wp-json\/wp\/v2\/pages\/3256\/revisions\/11049"}],"wp:attachment":[{"href":"https:\/\/cn.ncheck.net\/zh\/wp-json\/wp\/v2\/media?parent=3256"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}