Search code examples
phpjsonapixml-rpcorangehrm

How to Create an api for OrangeHRM


I want to create an api for orangehrm to punch in & punch out but i am unable to find any documentation to create an api.

Anybody knows the standards or reference to create API for Orange HRM using XMLRPC,JSON etc..


Solution

  • Here's a 4-page overview of its support for web services. Note the Web services controller on page 4.

    http://web.archive.org/web/20110822071832/http://www.myplick.com/view/4LD-9rCeJwJ/OrangeHRM-architecture-For-Web-Services?

    Since its PHP based you can use one of the following:

    1. The phpxmlrpc library(used by Joomla) OR the IXR library (used by Wordpress)
    2. Then Read on the xmlrpc specification
    3. Learn best practises from looking at the Joomla & Wordpress implementations. Security is very important

    All the best!

    EDIT: There's also the built-in PHP library that you can enable as an extension