curl --request PUT \
--url https://app.leadconduit.com/reports/{id} \
--header 'Authorization: Basic <encoded-value>' \
--header 'Content-Type: application/json' \
--data '
{
"name": "<string>",
"description": "<string>",
"columns": [
{
"source-submitted": 123,
"source-success": 123,
"source-failure": 123,
"source-error": 123,
"recipient-submitted": 123,
"recipient-success": 123,
"recipient-failure": 123,
"recipient-error": 123,
"return-received-submitted": 123,
"return-received-success": 123,
"return-received-failure": 123,
"return-received-error": 123,
"return-sent-submitted": 123,
"return-sent-success": 123,
"return-sent-failure": 123,
"return-sent-error": 123,
"conversion-received-submitted": 123,
"conversion-received-success": 123,
"conversion-received-failure": 123,
"conversion-received-error": 123,
"conversion-sent-submitted": 123,
"conversion-sent-success": 123,
"conversion-sent-failure": 123,
"conversion-sent-error": 123,
"ping-submitted": 123,
"ping-success": 123,
"ping-success-rate": 123,
"ping-win-rate": 123,
"cost": 123,
"revenue": 123,
"profit": 123,
"cost-per-conversion-received-success": 123,
"avg-cost-per-lead": 123,
"avg-revenue-per-lead": 123
}
],
"rules": [
{
"lhv": "<string>",
"rhv": "<string>"
}
],
"group_by": [
"<string>"
],
"token": "<string>"
}
'import requests
url = "https://app.leadconduit.com/reports/{id}"
payload = {
"name": "<string>",
"description": "<string>",
"columns": [
{
"source-submitted": 123,
"source-success": 123,
"source-failure": 123,
"source-error": 123,
"recipient-submitted": 123,
"recipient-success": 123,
"recipient-failure": 123,
"recipient-error": 123,
"return-received-submitted": 123,
"return-received-success": 123,
"return-received-failure": 123,
"return-received-error": 123,
"return-sent-submitted": 123,
"return-sent-success": 123,
"return-sent-failure": 123,
"return-sent-error": 123,
"conversion-received-submitted": 123,
"conversion-received-success": 123,
"conversion-received-failure": 123,
"conversion-received-error": 123,
"conversion-sent-submitted": 123,
"conversion-sent-success": 123,
"conversion-sent-failure": 123,
"conversion-sent-error": 123,
"ping-submitted": 123,
"ping-success": 123,
"ping-success-rate": 123,
"ping-win-rate": 123,
"cost": 123,
"revenue": 123,
"profit": 123,
"cost-per-conversion-received-success": 123,
"avg-cost-per-lead": 123,
"avg-revenue-per-lead": 123
}
],
"rules": [
{
"lhv": "<string>",
"rhv": "<string>"
}
],
"group_by": ["<string>"],
"token": "<string>"
}
headers = {
"Authorization": "Basic <encoded-value>",
"Content-Type": "application/json"
}
response = requests.put(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'PUT',
headers: {Authorization: 'Basic <encoded-value>', 'Content-Type': 'application/json'},
body: JSON.stringify({
name: '<string>',
description: '<string>',
columns: [
{
'source-submitted': 123,
'source-success': 123,
'source-failure': 123,
'source-error': 123,
'recipient-submitted': 123,
'recipient-success': 123,
'recipient-failure': 123,
'recipient-error': 123,
'return-received-submitted': 123,
'return-received-success': 123,
'return-received-failure': 123,
'return-received-error': 123,
'return-sent-submitted': 123,
'return-sent-success': 123,
'return-sent-failure': 123,
'return-sent-error': 123,
'conversion-received-submitted': 123,
'conversion-received-success': 123,
'conversion-received-failure': 123,
'conversion-received-error': 123,
'conversion-sent-submitted': 123,
'conversion-sent-success': 123,
'conversion-sent-failure': 123,
'conversion-sent-error': 123,
'ping-submitted': 123,
'ping-success': 123,
'ping-success-rate': 123,
'ping-win-rate': 123,
cost: 123,
revenue: 123,
profit: 123,
'cost-per-conversion-received-success': 123,
'avg-cost-per-lead': 123,
'avg-revenue-per-lead': 123
}
],
rules: [{lhv: '<string>', rhv: '<string>'}],
group_by: ['<string>'],
token: '<string>'
})
};
fetch('https://app.leadconduit.com/reports/{id}', 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://app.leadconduit.com/reports/{id}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "PUT",
CURLOPT_POSTFIELDS => json_encode([
'name' => '<string>',
'description' => '<string>',
'columns' => [
[
'source-submitted' => 123,
'source-success' => 123,
'source-failure' => 123,
'source-error' => 123,
'recipient-submitted' => 123,
'recipient-success' => 123,
'recipient-failure' => 123,
'recipient-error' => 123,
'return-received-submitted' => 123,
'return-received-success' => 123,
'return-received-failure' => 123,
'return-received-error' => 123,
'return-sent-submitted' => 123,
'return-sent-success' => 123,
'return-sent-failure' => 123,
'return-sent-error' => 123,
'conversion-received-submitted' => 123,
'conversion-received-success' => 123,
'conversion-received-failure' => 123,
'conversion-received-error' => 123,
'conversion-sent-submitted' => 123,
'conversion-sent-success' => 123,
'conversion-sent-failure' => 123,
'conversion-sent-error' => 123,
'ping-submitted' => 123,
'ping-success' => 123,
'ping-success-rate' => 123,
'ping-win-rate' => 123,
'cost' => 123,
'revenue' => 123,
'profit' => 123,
'cost-per-conversion-received-success' => 123,
'avg-cost-per-lead' => 123,
'avg-revenue-per-lead' => 123
]
],
'rules' => [
[
'lhv' => '<string>',
'rhv' => '<string>'
]
],
'group_by' => [
'<string>'
],
'token' => '<string>'
]),
CURLOPT_HTTPHEADER => [
"Authorization: Basic <encoded-value>",
"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://app.leadconduit.com/reports/{id}"
payload := strings.NewReader("{\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"columns\": [\n {\n \"source-submitted\": 123,\n \"source-success\": 123,\n \"source-failure\": 123,\n \"source-error\": 123,\n \"recipient-submitted\": 123,\n \"recipient-success\": 123,\n \"recipient-failure\": 123,\n \"recipient-error\": 123,\n \"return-received-submitted\": 123,\n \"return-received-success\": 123,\n \"return-received-failure\": 123,\n \"return-received-error\": 123,\n \"return-sent-submitted\": 123,\n \"return-sent-success\": 123,\n \"return-sent-failure\": 123,\n \"return-sent-error\": 123,\n \"conversion-received-submitted\": 123,\n \"conversion-received-success\": 123,\n \"conversion-received-failure\": 123,\n \"conversion-received-error\": 123,\n \"conversion-sent-submitted\": 123,\n \"conversion-sent-success\": 123,\n \"conversion-sent-failure\": 123,\n \"conversion-sent-error\": 123,\n \"ping-submitted\": 123,\n \"ping-success\": 123,\n \"ping-success-rate\": 123,\n \"ping-win-rate\": 123,\n \"cost\": 123,\n \"revenue\": 123,\n \"profit\": 123,\n \"cost-per-conversion-received-success\": 123,\n \"avg-cost-per-lead\": 123,\n \"avg-revenue-per-lead\": 123\n }\n ],\n \"rules\": [\n {\n \"lhv\": \"<string>\",\n \"rhv\": \"<string>\"\n }\n ],\n \"group_by\": [\n \"<string>\"\n ],\n \"token\": \"<string>\"\n}")
req, _ := http.NewRequest("PUT", url, payload)
req.Header.Add("Authorization", "Basic <encoded-value>")
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.put("https://app.leadconduit.com/reports/{id}")
.header("Authorization", "Basic <encoded-value>")
.header("Content-Type", "application/json")
.body("{\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"columns\": [\n {\n \"source-submitted\": 123,\n \"source-success\": 123,\n \"source-failure\": 123,\n \"source-error\": 123,\n \"recipient-submitted\": 123,\n \"recipient-success\": 123,\n \"recipient-failure\": 123,\n \"recipient-error\": 123,\n \"return-received-submitted\": 123,\n \"return-received-success\": 123,\n \"return-received-failure\": 123,\n \"return-received-error\": 123,\n \"return-sent-submitted\": 123,\n \"return-sent-success\": 123,\n \"return-sent-failure\": 123,\n \"return-sent-error\": 123,\n \"conversion-received-submitted\": 123,\n \"conversion-received-success\": 123,\n \"conversion-received-failure\": 123,\n \"conversion-received-error\": 123,\n \"conversion-sent-submitted\": 123,\n \"conversion-sent-success\": 123,\n \"conversion-sent-failure\": 123,\n \"conversion-sent-error\": 123,\n \"ping-submitted\": 123,\n \"ping-success\": 123,\n \"ping-success-rate\": 123,\n \"ping-win-rate\": 123,\n \"cost\": 123,\n \"revenue\": 123,\n \"profit\": 123,\n \"cost-per-conversion-received-success\": 123,\n \"avg-cost-per-lead\": 123,\n \"avg-revenue-per-lead\": 123\n }\n ],\n \"rules\": [\n {\n \"lhv\": \"<string>\",\n \"rhv\": \"<string>\"\n }\n ],\n \"group_by\": [\n \"<string>\"\n ],\n \"token\": \"<string>\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://app.leadconduit.com/reports/{id}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Put.new(url)
request["Authorization"] = 'Basic <encoded-value>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"columns\": [\n {\n \"source-submitted\": 123,\n \"source-success\": 123,\n \"source-failure\": 123,\n \"source-error\": 123,\n \"recipient-submitted\": 123,\n \"recipient-success\": 123,\n \"recipient-failure\": 123,\n \"recipient-error\": 123,\n \"return-received-submitted\": 123,\n \"return-received-success\": 123,\n \"return-received-failure\": 123,\n \"return-received-error\": 123,\n \"return-sent-submitted\": 123,\n \"return-sent-success\": 123,\n \"return-sent-failure\": 123,\n \"return-sent-error\": 123,\n \"conversion-received-submitted\": 123,\n \"conversion-received-success\": 123,\n \"conversion-received-failure\": 123,\n \"conversion-received-error\": 123,\n \"conversion-sent-submitted\": 123,\n \"conversion-sent-success\": 123,\n \"conversion-sent-failure\": 123,\n \"conversion-sent-error\": 123,\n \"ping-submitted\": 123,\n \"ping-success\": 123,\n \"ping-success-rate\": 123,\n \"ping-win-rate\": 123,\n \"cost\": 123,\n \"revenue\": 123,\n \"profit\": 123,\n \"cost-per-conversion-received-success\": 123,\n \"avg-cost-per-lead\": 123,\n \"avg-revenue-per-lead\": 123\n }\n ],\n \"rules\": [\n {\n \"lhv\": \"<string>\",\n \"rhv\": \"<string>\"\n }\n ],\n \"group_by\": [\n \"<string>\"\n ],\n \"token\": \"<string>\"\n}"
response = http.request(request)
puts response.read_body{
"name": "<string>",
"description": "<string>",
"columns": [
{
"source-submitted": 123,
"source-success": 123,
"source-failure": 123,
"source-error": 123,
"recipient-submitted": 123,
"recipient-success": 123,
"recipient-failure": 123,
"recipient-error": 123,
"return-received-submitted": 123,
"return-received-success": 123,
"return-received-failure": 123,
"return-received-error": 123,
"return-sent-submitted": 123,
"return-sent-success": 123,
"return-sent-failure": 123,
"return-sent-error": 123,
"conversion-received-submitted": 123,
"conversion-received-success": 123,
"conversion-received-failure": 123,
"conversion-received-error": 123,
"conversion-sent-submitted": 123,
"conversion-sent-success": 123,
"conversion-sent-failure": 123,
"conversion-sent-error": 123,
"ping-submitted": 123,
"ping-success": 123,
"ping-success-rate": 123,
"ping-win-rate": 123,
"cost": 123,
"revenue": 123,
"profit": 123,
"cost-per-conversion-received-success": 123,
"avg-cost-per-lead": 123,
"avg-revenue-per-lead": 123
}
],
"rules": [
{
"lhv": "<string>",
"rhv": "<string>"
}
],
"group_by": [
"<string>"
],
"token": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z"
}Update an existing report
Update an existing report. Note that the token cannot be updated with
this call. Use the /share endpoint to generate a new token and /unshare
to clear it.
curl --request PUT \
--url https://app.leadconduit.com/reports/{id} \
--header 'Authorization: Basic <encoded-value>' \
--header 'Content-Type: application/json' \
--data '
{
"name": "<string>",
"description": "<string>",
"columns": [
{
"source-submitted": 123,
"source-success": 123,
"source-failure": 123,
"source-error": 123,
"recipient-submitted": 123,
"recipient-success": 123,
"recipient-failure": 123,
"recipient-error": 123,
"return-received-submitted": 123,
"return-received-success": 123,
"return-received-failure": 123,
"return-received-error": 123,
"return-sent-submitted": 123,
"return-sent-success": 123,
"return-sent-failure": 123,
"return-sent-error": 123,
"conversion-received-submitted": 123,
"conversion-received-success": 123,
"conversion-received-failure": 123,
"conversion-received-error": 123,
"conversion-sent-submitted": 123,
"conversion-sent-success": 123,
"conversion-sent-failure": 123,
"conversion-sent-error": 123,
"ping-submitted": 123,
"ping-success": 123,
"ping-success-rate": 123,
"ping-win-rate": 123,
"cost": 123,
"revenue": 123,
"profit": 123,
"cost-per-conversion-received-success": 123,
"avg-cost-per-lead": 123,
"avg-revenue-per-lead": 123
}
],
"rules": [
{
"lhv": "<string>",
"rhv": "<string>"
}
],
"group_by": [
"<string>"
],
"token": "<string>"
}
'import requests
url = "https://app.leadconduit.com/reports/{id}"
payload = {
"name": "<string>",
"description": "<string>",
"columns": [
{
"source-submitted": 123,
"source-success": 123,
"source-failure": 123,
"source-error": 123,
"recipient-submitted": 123,
"recipient-success": 123,
"recipient-failure": 123,
"recipient-error": 123,
"return-received-submitted": 123,
"return-received-success": 123,
"return-received-failure": 123,
"return-received-error": 123,
"return-sent-submitted": 123,
"return-sent-success": 123,
"return-sent-failure": 123,
"return-sent-error": 123,
"conversion-received-submitted": 123,
"conversion-received-success": 123,
"conversion-received-failure": 123,
"conversion-received-error": 123,
"conversion-sent-submitted": 123,
"conversion-sent-success": 123,
"conversion-sent-failure": 123,
"conversion-sent-error": 123,
"ping-submitted": 123,
"ping-success": 123,
"ping-success-rate": 123,
"ping-win-rate": 123,
"cost": 123,
"revenue": 123,
"profit": 123,
"cost-per-conversion-received-success": 123,
"avg-cost-per-lead": 123,
"avg-revenue-per-lead": 123
}
],
"rules": [
{
"lhv": "<string>",
"rhv": "<string>"
}
],
"group_by": ["<string>"],
"token": "<string>"
}
headers = {
"Authorization": "Basic <encoded-value>",
"Content-Type": "application/json"
}
response = requests.put(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'PUT',
headers: {Authorization: 'Basic <encoded-value>', 'Content-Type': 'application/json'},
body: JSON.stringify({
name: '<string>',
description: '<string>',
columns: [
{
'source-submitted': 123,
'source-success': 123,
'source-failure': 123,
'source-error': 123,
'recipient-submitted': 123,
'recipient-success': 123,
'recipient-failure': 123,
'recipient-error': 123,
'return-received-submitted': 123,
'return-received-success': 123,
'return-received-failure': 123,
'return-received-error': 123,
'return-sent-submitted': 123,
'return-sent-success': 123,
'return-sent-failure': 123,
'return-sent-error': 123,
'conversion-received-submitted': 123,
'conversion-received-success': 123,
'conversion-received-failure': 123,
'conversion-received-error': 123,
'conversion-sent-submitted': 123,
'conversion-sent-success': 123,
'conversion-sent-failure': 123,
'conversion-sent-error': 123,
'ping-submitted': 123,
'ping-success': 123,
'ping-success-rate': 123,
'ping-win-rate': 123,
cost: 123,
revenue: 123,
profit: 123,
'cost-per-conversion-received-success': 123,
'avg-cost-per-lead': 123,
'avg-revenue-per-lead': 123
}
],
rules: [{lhv: '<string>', rhv: '<string>'}],
group_by: ['<string>'],
token: '<string>'
})
};
fetch('https://app.leadconduit.com/reports/{id}', 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://app.leadconduit.com/reports/{id}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "PUT",
CURLOPT_POSTFIELDS => json_encode([
'name' => '<string>',
'description' => '<string>',
'columns' => [
[
'source-submitted' => 123,
'source-success' => 123,
'source-failure' => 123,
'source-error' => 123,
'recipient-submitted' => 123,
'recipient-success' => 123,
'recipient-failure' => 123,
'recipient-error' => 123,
'return-received-submitted' => 123,
'return-received-success' => 123,
'return-received-failure' => 123,
'return-received-error' => 123,
'return-sent-submitted' => 123,
'return-sent-success' => 123,
'return-sent-failure' => 123,
'return-sent-error' => 123,
'conversion-received-submitted' => 123,
'conversion-received-success' => 123,
'conversion-received-failure' => 123,
'conversion-received-error' => 123,
'conversion-sent-submitted' => 123,
'conversion-sent-success' => 123,
'conversion-sent-failure' => 123,
'conversion-sent-error' => 123,
'ping-submitted' => 123,
'ping-success' => 123,
'ping-success-rate' => 123,
'ping-win-rate' => 123,
'cost' => 123,
'revenue' => 123,
'profit' => 123,
'cost-per-conversion-received-success' => 123,
'avg-cost-per-lead' => 123,
'avg-revenue-per-lead' => 123
]
],
'rules' => [
[
'lhv' => '<string>',
'rhv' => '<string>'
]
],
'group_by' => [
'<string>'
],
'token' => '<string>'
]),
CURLOPT_HTTPHEADER => [
"Authorization: Basic <encoded-value>",
"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://app.leadconduit.com/reports/{id}"
payload := strings.NewReader("{\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"columns\": [\n {\n \"source-submitted\": 123,\n \"source-success\": 123,\n \"source-failure\": 123,\n \"source-error\": 123,\n \"recipient-submitted\": 123,\n \"recipient-success\": 123,\n \"recipient-failure\": 123,\n \"recipient-error\": 123,\n \"return-received-submitted\": 123,\n \"return-received-success\": 123,\n \"return-received-failure\": 123,\n \"return-received-error\": 123,\n \"return-sent-submitted\": 123,\n \"return-sent-success\": 123,\n \"return-sent-failure\": 123,\n \"return-sent-error\": 123,\n \"conversion-received-submitted\": 123,\n \"conversion-received-success\": 123,\n \"conversion-received-failure\": 123,\n \"conversion-received-error\": 123,\n \"conversion-sent-submitted\": 123,\n \"conversion-sent-success\": 123,\n \"conversion-sent-failure\": 123,\n \"conversion-sent-error\": 123,\n \"ping-submitted\": 123,\n \"ping-success\": 123,\n \"ping-success-rate\": 123,\n \"ping-win-rate\": 123,\n \"cost\": 123,\n \"revenue\": 123,\n \"profit\": 123,\n \"cost-per-conversion-received-success\": 123,\n \"avg-cost-per-lead\": 123,\n \"avg-revenue-per-lead\": 123\n }\n ],\n \"rules\": [\n {\n \"lhv\": \"<string>\",\n \"rhv\": \"<string>\"\n }\n ],\n \"group_by\": [\n \"<string>\"\n ],\n \"token\": \"<string>\"\n}")
req, _ := http.NewRequest("PUT", url, payload)
req.Header.Add("Authorization", "Basic <encoded-value>")
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.put("https://app.leadconduit.com/reports/{id}")
.header("Authorization", "Basic <encoded-value>")
.header("Content-Type", "application/json")
.body("{\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"columns\": [\n {\n \"source-submitted\": 123,\n \"source-success\": 123,\n \"source-failure\": 123,\n \"source-error\": 123,\n \"recipient-submitted\": 123,\n \"recipient-success\": 123,\n \"recipient-failure\": 123,\n \"recipient-error\": 123,\n \"return-received-submitted\": 123,\n \"return-received-success\": 123,\n \"return-received-failure\": 123,\n \"return-received-error\": 123,\n \"return-sent-submitted\": 123,\n \"return-sent-success\": 123,\n \"return-sent-failure\": 123,\n \"return-sent-error\": 123,\n \"conversion-received-submitted\": 123,\n \"conversion-received-success\": 123,\n \"conversion-received-failure\": 123,\n \"conversion-received-error\": 123,\n \"conversion-sent-submitted\": 123,\n \"conversion-sent-success\": 123,\n \"conversion-sent-failure\": 123,\n \"conversion-sent-error\": 123,\n \"ping-submitted\": 123,\n \"ping-success\": 123,\n \"ping-success-rate\": 123,\n \"ping-win-rate\": 123,\n \"cost\": 123,\n \"revenue\": 123,\n \"profit\": 123,\n \"cost-per-conversion-received-success\": 123,\n \"avg-cost-per-lead\": 123,\n \"avg-revenue-per-lead\": 123\n }\n ],\n \"rules\": [\n {\n \"lhv\": \"<string>\",\n \"rhv\": \"<string>\"\n }\n ],\n \"group_by\": [\n \"<string>\"\n ],\n \"token\": \"<string>\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://app.leadconduit.com/reports/{id}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Put.new(url)
request["Authorization"] = 'Basic <encoded-value>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"columns\": [\n {\n \"source-submitted\": 123,\n \"source-success\": 123,\n \"source-failure\": 123,\n \"source-error\": 123,\n \"recipient-submitted\": 123,\n \"recipient-success\": 123,\n \"recipient-failure\": 123,\n \"recipient-error\": 123,\n \"return-received-submitted\": 123,\n \"return-received-success\": 123,\n \"return-received-failure\": 123,\n \"return-received-error\": 123,\n \"return-sent-submitted\": 123,\n \"return-sent-success\": 123,\n \"return-sent-failure\": 123,\n \"return-sent-error\": 123,\n \"conversion-received-submitted\": 123,\n \"conversion-received-success\": 123,\n \"conversion-received-failure\": 123,\n \"conversion-received-error\": 123,\n \"conversion-sent-submitted\": 123,\n \"conversion-sent-success\": 123,\n \"conversion-sent-failure\": 123,\n \"conversion-sent-error\": 123,\n \"ping-submitted\": 123,\n \"ping-success\": 123,\n \"ping-success-rate\": 123,\n \"ping-win-rate\": 123,\n \"cost\": 123,\n \"revenue\": 123,\n \"profit\": 123,\n \"cost-per-conversion-received-success\": 123,\n \"avg-cost-per-lead\": 123,\n \"avg-revenue-per-lead\": 123\n }\n ],\n \"rules\": [\n {\n \"lhv\": \"<string>\",\n \"rhv\": \"<string>\"\n }\n ],\n \"group_by\": [\n \"<string>\"\n ],\n \"token\": \"<string>\"\n}"
response = http.request(request)
puts response.read_body{
"name": "<string>",
"description": "<string>",
"columns": [
{
"source-submitted": 123,
"source-success": 123,
"source-failure": 123,
"source-error": 123,
"recipient-submitted": 123,
"recipient-success": 123,
"recipient-failure": 123,
"recipient-error": 123,
"return-received-submitted": 123,
"return-received-success": 123,
"return-received-failure": 123,
"return-received-error": 123,
"return-sent-submitted": 123,
"return-sent-success": 123,
"return-sent-failure": 123,
"return-sent-error": 123,
"conversion-received-submitted": 123,
"conversion-received-success": 123,
"conversion-received-failure": 123,
"conversion-received-error": 123,
"conversion-sent-submitted": 123,
"conversion-sent-success": 123,
"conversion-sent-failure": 123,
"conversion-sent-error": 123,
"ping-submitted": 123,
"ping-success": 123,
"ping-success-rate": 123,
"ping-win-rate": 123,
"cost": 123,
"revenue": 123,
"profit": 123,
"cost-per-conversion-received-success": 123,
"avg-cost-per-lead": 123,
"avg-revenue-per-lead": 123
}
],
"rules": [
{
"lhv": "<string>",
"rhv": "<string>"
}
],
"group_by": [
"<string>"
],
"token": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z"
}Authorizations
LeadConduit uses HTTP Basic Authentication
with the username API and your API key as the password.
For example: API:1f1b96c9150d8050e858c043d543bb4eadae0e6f'
Path Parameters
ID or token of the report to fetch 24 character alpha-numeric BSON identifier
^[0-9a-fA-F]{24}$"5fd4371e940df5a34a3888b2"
Body
Update an existing report
A report is a named definition of criteria (columns, rules, group_bys) which is stored. A stored report can be run for a given timeframe, producing the report results. The results are a count of the events for each column in that timeframe that match the rules and which are optionally grouped by event properties.
Reports can be shared outside LeadConduit such that anyone who has the
URL to the shared report can view it without authentication. Each
shared report URL contains a generated, unique, unguessable token,
which is stored as a property in the report definition. To create the
token for a report, use the share endpoint. To stop sharing a report,
use the unshare endpoint, which will clear the token.'
required name of the report
optional extra description
Array of report columns
Show child attributes
Show child attributes
rules to match events to include
Show child attributes
Show child attributes
group results by these event properties
identifier used for sharing
Response
created
A report is a named definition of criteria (columns, rules, group_bys) which is stored. A stored report can be run for a given timeframe, producing the report results. The results are a count of the events for each column in that timeframe that match the rules and which are optionally grouped by event properties.
Reports can be shared outside LeadConduit such that anyone who has the
URL to the shared report can view it without authentication. Each
shared report URL contains a generated, unique, unguessable token,
which is stored as a property in the report definition. To create the
token for a report, use the share endpoint. To stop sharing a report,
use the unshare endpoint, which will clear the token.'
required name of the report
optional extra description
Array of report columns
Show child attributes
Show child attributes
rules to match events to include
Show child attributes
Show child attributes
group results by these event properties
identifier used for sharing
Time report was created
Time report was last updated