简体   繁体   English

如何为OrangeHRM创建api

[英]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. 我想为orangehrm创建一个api来打卡和打卡但我无法找到任何文档来创建一个api。

Anybody knows the standards or reference to create API for Orange HRM using XMLRPC,JSON etc.. 任何人都知道使用XMLRPC,JSON等为Orange HRM创建API的标准或参考。

Here's a 4-page overview of its support for web services. 以下是对Web服务支持的4页概述。 Note the Web services controller on page 4. 请注意第4页的Web服务控制器。

http://web.archive.org/web/20110822071832/http://www.myplick.com/view/4LD-9rCeJwJ/OrangeHRM-architecture-For-Web-Services ? 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: 从基于PHP开始,您可以使用以下之一:

  1. The phpxmlrpc library (used by Joomla) OR the IXR library (used by Wordpress) phpxmlrpc库 (由Joomla使用)或IXR库 (由Wordpress使用)
  2. Then Read on the xmlrpc specification 然后阅读xmlrpc规范
  3. Learn best practises from looking at the Joomla & Wordpress implementations. 通过查看Joomla和Wordpress实现来学习最佳实践。 Security is very important 安全非常重要

All the best! 祝一切顺利!

EDIT: There's also the built-in PHP library that you can enable as an extension 编辑:还有内置的PHP库 ,您可以将其作为扩展启用

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM