Get List of Activities
curl --request POST \
--url https://api.zixflow.com/api/v1/collection-records/activity-list/query \
--header 'Content-Type: application/json' \
--data '
{
"filter": [
{}
],
"sort": [
{}
],
"limit": 123,
"offset": 123
}
'import requests
url = "https://api.zixflow.com/api/v1/collection-records/activity-list/query"
payload = {
"filter": [{}],
"sort": [{}],
"limit": 123,
"offset": 123
}
headers = {"Content-Type": "application/json"}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'Content-Type': 'application/json'},
body: JSON.stringify({filter: [{}], sort: [{}], limit: 123, offset: 123})
};
fetch('https://api.zixflow.com/api/v1/collection-records/activity-list/query', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.zixflow.com/api/v1/collection-records/activity-list/query",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'filter' => [
[
]
],
'sort' => [
[
]
],
'limit' => 123,
'offset' => 123
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.zixflow.com/api/v1/collection-records/activity-list/query"
payload := strings.NewReader("{\n \"filter\": [\n {}\n ],\n \"sort\": [\n {}\n ],\n \"limit\": 123,\n \"offset\": 123\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.zixflow.com/api/v1/collection-records/activity-list/query")
.header("Content-Type", "application/json")
.body("{\n \"filter\": [\n {}\n ],\n \"sort\": [\n {}\n ],\n \"limit\": 123,\n \"offset\": 123\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.zixflow.com/api/v1/collection-records/activity-list/query")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Content-Type"] = 'application/json'
request.body = "{\n \"filter\": [\n {}\n ],\n \"sort\": [\n {}\n ],\n \"limit\": 123,\n \"offset\": 123\n}"
response = http.request(request)
puts response.read_body{
"status": true,
"message": "Records fetched successfully",
"data": [
{
"_id": "654b3231448888ff7d161a59",
"name": "Call HOH",
"scheduleAt": "2023-11-08T07:01:00.000Z",
"description": "",
"associated": null,
"assignee": {
"_id": "65338d9a4d3b7a624a8d63ab",
"name": "Test User",
"avatar": "",
"email": "user@zixflow.com"
},
"status": {
"_id": "65338d9cf781c59be3859c63",
"color": "#99ff93",
"name": "Completed",
"celebrationEnabled": false,
"isArchived": false,
"order": 2,
"statusType": "normal",
"timeInStatus": 0
},
"sourceDetails": "",
"source": {
"_id": "65338d9cf781c59be3859c6a",
"name": "Manually created",
"color": "#efe0da",
"isArchived": false,
"order": 1
},
"createdBy": {
"_id": "65338d9a4d3b7a624a8d63ab",
"name": "Test User",
"avatar": "",
"email": "user@zixflow.com"
},
"completedTime": "2023-11-08T07:01:30.450Z",
"activityLostReason": null,
"createdAt": "2023-11-08T07:01:05.770Z"
}
]
}
{
"status": false,
"message": "No token provided"
}
Activity / Task
Get List of Activities
This endpoint returns all activity data
POST
/
api
/
v1
/
collection-records
/
activity-list
/
query
Get List of Activities
curl --request POST \
--url https://api.zixflow.com/api/v1/collection-records/activity-list/query \
--header 'Content-Type: application/json' \
--data '
{
"filter": [
{}
],
"sort": [
{}
],
"limit": 123,
"offset": 123
}
'import requests
url = "https://api.zixflow.com/api/v1/collection-records/activity-list/query"
payload = {
"filter": [{}],
"sort": [{}],
"limit": 123,
"offset": 123
}
headers = {"Content-Type": "application/json"}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'Content-Type': 'application/json'},
body: JSON.stringify({filter: [{}], sort: [{}], limit: 123, offset: 123})
};
fetch('https://api.zixflow.com/api/v1/collection-records/activity-list/query', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.zixflow.com/api/v1/collection-records/activity-list/query",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'filter' => [
[
]
],
'sort' => [
[
]
],
'limit' => 123,
'offset' => 123
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.zixflow.com/api/v1/collection-records/activity-list/query"
payload := strings.NewReader("{\n \"filter\": [\n {}\n ],\n \"sort\": [\n {}\n ],\n \"limit\": 123,\n \"offset\": 123\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.zixflow.com/api/v1/collection-records/activity-list/query")
.header("Content-Type", "application/json")
.body("{\n \"filter\": [\n {}\n ],\n \"sort\": [\n {}\n ],\n \"limit\": 123,\n \"offset\": 123\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.zixflow.com/api/v1/collection-records/activity-list/query")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Content-Type"] = 'application/json'
request.body = "{\n \"filter\": [\n {}\n ],\n \"sort\": [\n {}\n ],\n \"limit\": 123,\n \"offset\": 123\n}"
response = http.request(request)
puts response.read_body{
"status": true,
"message": "Records fetched successfully",
"data": [
{
"_id": "654b3231448888ff7d161a59",
"name": "Call HOH",
"scheduleAt": "2023-11-08T07:01:00.000Z",
"description": "",
"associated": null,
"assignee": {
"_id": "65338d9a4d3b7a624a8d63ab",
"name": "Test User",
"avatar": "",
"email": "user@zixflow.com"
},
"status": {
"_id": "65338d9cf781c59be3859c63",
"color": "#99ff93",
"name": "Completed",
"celebrationEnabled": false,
"isArchived": false,
"order": 2,
"statusType": "normal",
"timeInStatus": 0
},
"sourceDetails": "",
"source": {
"_id": "65338d9cf781c59be3859c6a",
"name": "Manually created",
"color": "#efe0da",
"isArchived": false,
"order": 1
},
"createdBy": {
"_id": "65338d9a4d3b7a624a8d63ab",
"name": "Test User",
"avatar": "",
"email": "user@zixflow.com"
},
"completedTime": "2023-11-08T07:01:30.450Z",
"activityLostReason": null,
"createdAt": "2023-11-08T07:01:05.770Z"
}
]
}
{
"status": false,
"message": "No token provided"
}
Body
array
An array that will eventually allow users to define specific criteria for
filtering data. Currently, it is an empty array, indicating that no filtering
is applied at this time.
array
An array that will eventually enable users to specify sorting criteria for the
data. Like the filter array, it is currently empty, implying that no sorting
is applied in the current context.
number
required
he number of records to be returned, set to 10 in this instance. This
parameter restricts the response to a specific quantity of records.
number
required
The starting point from which the records are to be fetched within the entire
dataset. In this case, it is set to 0, indicating that retrieval should
commence from the beginning of the dataset.
Response
boolean
Indicates the success or failure of the record retrieval. In this case, true
signifies a successful operation.
string
Provides a human-readable message accompanying the response. In this instance,
it confirms the successful retrieval of records with the message “Records
fetched successfully.”
array_object
An array containing details of the fetched records. For each record
in the data array:
Show data
Show data
string
A unique identifier for the record, allowing for precise referencing.
string
The name associated with the record.
string
The scheduled time for the record in ISO 8601 format.
string
Additional information or details about the record.
null
Details about any associated entity, if applicable.
object
object
string
Additional details about the source of the record.
object
object
string
The timestamp when the record was completed in ISO 8601 format.
null
Reason for any lost activity, if applicable.
string
The timestamp when the record was created in ISO 8601 format.
{
"status": true,
"message": "Records fetched successfully",
"data": [
{
"_id": "654b3231448888ff7d161a59",
"name": "Call HOH",
"scheduleAt": "2023-11-08T07:01:00.000Z",
"description": "",
"associated": null,
"assignee": {
"_id": "65338d9a4d3b7a624a8d63ab",
"name": "Test User",
"avatar": "",
"email": "user@zixflow.com"
},
"status": {
"_id": "65338d9cf781c59be3859c63",
"color": "#99ff93",
"name": "Completed",
"celebrationEnabled": false,
"isArchived": false,
"order": 2,
"statusType": "normal",
"timeInStatus": 0
},
"sourceDetails": "",
"source": {
"_id": "65338d9cf781c59be3859c6a",
"name": "Manually created",
"color": "#efe0da",
"isArchived": false,
"order": 1
},
"createdBy": {
"_id": "65338d9a4d3b7a624a8d63ab",
"name": "Test User",
"avatar": "",
"email": "user@zixflow.com"
},
"completedTime": "2023-11-08T07:01:30.450Z",
"activityLostReason": null,
"createdAt": "2023-11-08T07:01:05.770Z"
}
]
}
{
"status": false,
"message": "No token provided"
}
⌘I