vtiger-cloudsdk/restapi-php
Composer 安装命令:
composer require vtiger-cloudsdk/restapi-php
包简介
Vtiger Cloud Restapi Library
README 文档
README
RestApi library makes it easy to interact with your data on Vtiger Cloud.
Reference: https://www.vtiger.com/docs/rest-api-for-vtiger
Setup
You will need to know the domain of your Vtiger Cloud instance along with your login username and accesskey allocated for the same.
$restapi = new \Vtiger\Cloud\RestApi($domain, $username, $accesskey);
Types
$types = $restapi->listTypes();
Create Record
$moduleName = "Accounts";
$newAccount = array(
"accountname" => "Name of Account",
"assigned_user_id" => $restapi->myid()
);
$account = $restapi->create($moduleName, $newAccount);
Find Records
$records = $restapi->query("SELECT * FROM Accounts WHERE createdtime = '2019-01-01';");
Retrieve Record
$id = "target_record_id";
$record = $restapi->retrieve($id);
统计信息
- 总下载量: 20
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: proprietary
- 更新时间: 2019-02-16