php SalesForce Leads - GET

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了php SalesForce Leads - GET相关的知识,希望对你有一定的参考价值。

<?php

$apiurl = 'https://[instance_url]/services/data/v37.0/sobjects/Lead/';

$headers = [
    'Authorization: Bearer [token]',
    'Content-Type: application/json'
];

$http = curl_init();

curl_setopt($http, CURLOPT_HEADER, false);
curl_setopt($http, CURLOPT_RETURNTRANSFER, true);

curl_setopt($http,CURLOPT_URL, $apiurl);

$results = curl_exec($http);
$http_status = curl_getinfo($http, CURLINFO_HTTP_CODE);
$info = curl_getinfo($http);

$results_json = json_decode($results);

curl_close($http);
?>

以上是关于php SalesForce Leads - GET的主要内容,如果未能解决你的问题,请参考以下文章

php SalesForce Leads - GET

PHP zip 下载错误

工具包php / Salesforce:改变lang

html 捕获leads.html

Miss leads pain ?

FlinkZookeeper connection loss leads to Flink job restart