GET https://:account.api-us1.com/api/3/dealGroups
- cURL
curl --request GET \
--url https:///:account.api-us1.com/api/3/dealGroups
- Node
var request = require("request");
var options = { method: 'GET',
url: 'https:///:account.api-us1.com/api/3/dealGroups' };
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
- Ruby
require 'uri'
require 'net/http'
url = URI("https:///:account.api-us1.com/api/3/dealGroups")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body
- JavaScript
var data = JSON.stringify(false);
var xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener("readystatechange", function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open("GET", "https:///:account.api-us1.com/api/3/dealGroups");
xhr.send(data);
- Python
import requests
url = "https:///:account.api-us1.com/api/3/dealGroups"
response = requests.request("GET", url)
print(response.text)
200 OK
QUERY PARAMS
filters[title]
string Filter by pipeline's title. The filter matches any pipeline titles that contain the provided title (i.e. "Contact" matches all of "In Contact", "To Contact", and "Contact Pipeline").
filters[have_stages]
int32 Filter by whether pipelines have deal stages. Can be either
1
or 0
. If 1
, only pipelines with at least one stage will be returned.orders[title]
string Order by Pipeline's title
orders[popular]
string Order by number of deals each pipeline has. If pipelines have same number of deals, pipelines' created dates are used to determine the order.
By default, deal stages for the pipelines are also returned in the response.
Opmerkingen
0 opmerkingen
Artikel is gesloten voor opmerkingen.