GET https://:account.api-us1.com/api/3/dealTasks
- cURL
curl --request GET \
--url https:///:account.api-us1.com/api/3/dealTasks
- Node
var request = require("request");
var options = { method: 'GET',
url: 'https:///:account.api-us1.com/api/3/dealTasks' };
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/dealTasks")
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/dealTasks");
xhr.send(data);
- Python
import requests
url = "https:///:account.api-us1.com/api/3/dealTasks"
response = requests.request("GET", url)
print(response.text)
201 Created
QUERY PARAMS
filters[title]
string The title to be assigned to the task
filters[reltype]
string The name of the relating object (see relationships table)
filters[relid]
int32 The id of the relational object for this task
filters[status]
int32 The status to be assigned the task
filters[note]
string The content describing the task
filters[duedate]
date Due date of the task
filters[d_tasktypeid]
int32 The type of the task based on the available Task Types in the account
filters[userid]
int32 User ID this task belongs to
Opmerkingen
0 opmerkingen
Artikel is gesloten voor opmerkingen.