**What you can build**

Build a js client that consumes a RESTful webservice . Specifically, the client will consume the service created REST like Web Service with CORS.

The client will be accessed by for example index.html file in your browser, and will consume the service accepting requests at:

http://webserverhost:port/api_v1/employees

The service will respond with a JSON representation with employees:

{“id”:“1”,“first_name”:“Tom”, “pin”:2,“department”:{“_id”:“5”,“name”:“Technology”},“last_name”:“Smith”}

http://webserverhost:port/api_v1/attendances

The service will respond with a JSON representation with all attendace logs:

{[{“first_name”:“Luis”,“last_name”:“Pulido”,“pin”:6,“log_id”:“23”,“log_status”:1,“count_as_work”:1,“absence”:0,“date”:“060220172333”,“id_attendance_event”:1}]}

The client will render this information into the DOM, or move this information to another kind of architecture: process it and the save into your own database…etc.

What you will need

  • ZPAD Terminal or PC with our Android Virtual Machine based implementation, and our webserver solution.
  • About 15 minutes
  • A text editor
  • An internet connection

Real example

Contact

Biotime Web can be purchased with our integrated Time & Attendance firmware. Also PC solution can be explained and purchased here:

Please contact us at: ZKTeco Purchase contact

webserverrestapi.txt · Last modified: 2017/01/31 22:35 by nexus
CC Attribution-Share Alike 4.0 International
www.chimeric.de Valid CSS Driven by DokuWiki Flying Spaghetti Monster also created this website. R'amen! Recent changes RSS feed Valid XHTML1.0