dzham/envycrm_api_v1

此包的最新版本(1.0.0)没有可用的许可信息。

EnvyCrm API V1

1.0.0 2018-01-04 11:03 UTC

This package is not auto-updated.

Last update: 2024-09-29 05:14:47 UTC


README

安装

composer require dzham/envycrm_api_v1

使用

$client = new \Dzham\EnvyCrmApiV1\Client("b6215149115fe226f83561a75aa8e6c6b54aa8c1");
try{ 
    $client->getCrmData();
}catch (\Dzham\EnvyCrmApiV1\Exceptions\ApiException $e){
    var_dump($e->getMessage());
}

方法

所有方法的描述 - 跳转

setApiKey - 设置API密钥

  • 申请

getCrmData - 获取CRM数据
createLead - 创建申请
getLeadById - 通过ID获取申请
leadSearch - 搜索申请
leadList - 获取申请列表
leadStart - 开始处理申请
updateLeadValue - 更新申请字段

  • 交易

getDealById - 通过ID获取交易
dealSearch - 搜索交易
updateDealStage - 更新交易阶段
dealList - 获取交易列表
updateDealValue - 更新交易字段

  • 客户

clientList - 获取客户列表