curl --request PATCH \
--url http://api.globalwebindex.com/v2/saved/crosstabs/{uuid} \
--header 'Authorization: <api-key>'import requests
url = "http://api.globalwebindex.com/v2/saved/crosstabs/{uuid}"
headers = {"Authorization": "<api-key>"}
response = requests.patch(url, headers=headers)
print(response.text)const options = {method: 'PATCH', headers: {Authorization: '<api-key>'}};
fetch('http://api.globalwebindex.com/v2/saved/crosstabs/{uuid}', 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 => "http://api.globalwebindex.com/v2/saved/crosstabs/{uuid}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "PATCH",
CURLOPT_HTTPHEADER => [
"Authorization: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "http://api.globalwebindex.com/v2/saved/crosstabs/{uuid}"
req, _ := http.NewRequest("PATCH", url, nil)
req.Header.Add("Authorization", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.patch("http://api.globalwebindex.com/v2/saved/crosstabs/{uuid}")
.header("Authorization", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("http://api.globalwebindex.com/v2/saved/crosstabs/{uuid}")
http = Net::HTTP.new(url.host, url.port)
request = Net::HTTP::Patch.new(url)
request["Authorization"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"bases": [
{
"avg": {
"datapoint": "<string>",
"question": "<string>"
},
"dbu": {
"datapoint": "<string>",
"question": "<string>"
},
"expression": {
"and": "<array>",
"datapoints": [
"<string>"
],
"min_count": 123,
"not": true,
"or": "<array>",
"question": "<string>",
"suffixes": [
123
]
},
"full_name": "<string>",
"id": "<string>",
"name": "<string>",
"subtitle": "<string>"
}
],
"columns": [
{
"avg": {
"datapoint": "<string>",
"question": "<string>"
},
"dbu": {
"datapoint": "<string>",
"question": "<string>"
},
"expression": {
"and": "<array>",
"datapoints": [
"<string>"
],
"min_count": 123,
"not": true,
"or": "<array>",
"question": "<string>",
"suffixes": [
123
]
},
"full_name": "<string>",
"id": "<string>",
"name": "<string>",
"subtitle": "<string>"
}
],
"country_codes": [
"<string>"
],
"name": "<string>",
"rows": [
{
"avg": {
"datapoint": "<string>",
"question": "<string>"
},
"dbu": {
"datapoint": "<string>",
"question": "<string>"
},
"expression": {
"and": "<array>",
"datapoints": [
"<string>"
],
"min_count": 123,
"not": true,
"or": "<array>",
"question": "<string>",
"suffixes": [
123
]
},
"full_name": "<string>",
"id": "<string>",
"name": "<string>",
"subtitle": "<string>"
}
],
"uuid": "<string>",
"wave_codes": [
"<string>"
],
"copied_from": "<string>",
"created_at": "<string>",
"folder_id": "<string>",
"metadata": {
"json": [
123
],
"valid": true
},
"notes": "<string>",
"org_id": 123,
"shared": [
{
"email": "<string>",
"error": {
"code": 123,
"err": "<unknown>",
"message": "<string>",
"meta": {},
"type": "unknown"
},
"org_id": 123,
"user_id": 123
}
],
"shared_by": {
"email": "<string>",
"error": {
"code": 123,
"err": "<unknown>",
"message": "<string>",
"meta": {},
"type": "unknown"
},
"org_id": 123,
"user_id": 123
},
"sharing_note": "<string>",
"updated_at": "<string>",
"user_id": 123
}"<string>""<string>"{
"folder_id": "<string>",
"name": "<string>",
"shared": [
{
"email": "<string>",
"error": {
"code": 123,
"err": "<unknown>",
"message": "<string>",
"meta": {},
"type": "unknown"
},
"org_id": 123,
"user_id": 123
}
],
"sharing_note": "<string>"
}"<string>""<string>"v2 Update crosstab
Update crosstab by project ID
curl --request PATCH \
--url http://api.globalwebindex.com/v2/saved/crosstabs/{uuid} \
--header 'Authorization: <api-key>'import requests
url = "http://api.globalwebindex.com/v2/saved/crosstabs/{uuid}"
headers = {"Authorization": "<api-key>"}
response = requests.patch(url, headers=headers)
print(response.text)const options = {method: 'PATCH', headers: {Authorization: '<api-key>'}};
fetch('http://api.globalwebindex.com/v2/saved/crosstabs/{uuid}', 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 => "http://api.globalwebindex.com/v2/saved/crosstabs/{uuid}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "PATCH",
CURLOPT_HTTPHEADER => [
"Authorization: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "http://api.globalwebindex.com/v2/saved/crosstabs/{uuid}"
req, _ := http.NewRequest("PATCH", url, nil)
req.Header.Add("Authorization", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.patch("http://api.globalwebindex.com/v2/saved/crosstabs/{uuid}")
.header("Authorization", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("http://api.globalwebindex.com/v2/saved/crosstabs/{uuid}")
http = Net::HTTP.new(url.host, url.port)
request = Net::HTTP::Patch.new(url)
request["Authorization"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"bases": [
{
"avg": {
"datapoint": "<string>",
"question": "<string>"
},
"dbu": {
"datapoint": "<string>",
"question": "<string>"
},
"expression": {
"and": "<array>",
"datapoints": [
"<string>"
],
"min_count": 123,
"not": true,
"or": "<array>",
"question": "<string>",
"suffixes": [
123
]
},
"full_name": "<string>",
"id": "<string>",
"name": "<string>",
"subtitle": "<string>"
}
],
"columns": [
{
"avg": {
"datapoint": "<string>",
"question": "<string>"
},
"dbu": {
"datapoint": "<string>",
"question": "<string>"
},
"expression": {
"and": "<array>",
"datapoints": [
"<string>"
],
"min_count": 123,
"not": true,
"or": "<array>",
"question": "<string>",
"suffixes": [
123
]
},
"full_name": "<string>",
"id": "<string>",
"name": "<string>",
"subtitle": "<string>"
}
],
"country_codes": [
"<string>"
],
"name": "<string>",
"rows": [
{
"avg": {
"datapoint": "<string>",
"question": "<string>"
},
"dbu": {
"datapoint": "<string>",
"question": "<string>"
},
"expression": {
"and": "<array>",
"datapoints": [
"<string>"
],
"min_count": 123,
"not": true,
"or": "<array>",
"question": "<string>",
"suffixes": [
123
]
},
"full_name": "<string>",
"id": "<string>",
"name": "<string>",
"subtitle": "<string>"
}
],
"uuid": "<string>",
"wave_codes": [
"<string>"
],
"copied_from": "<string>",
"created_at": "<string>",
"folder_id": "<string>",
"metadata": {
"json": [
123
],
"valid": true
},
"notes": "<string>",
"org_id": 123,
"shared": [
{
"email": "<string>",
"error": {
"code": 123,
"err": "<unknown>",
"message": "<string>",
"meta": {},
"type": "unknown"
},
"org_id": 123,
"user_id": 123
}
],
"shared_by": {
"email": "<string>",
"error": {
"code": 123,
"err": "<unknown>",
"message": "<string>",
"meta": {},
"type": "unknown"
},
"org_id": 123,
"user_id": 123
},
"sharing_note": "<string>",
"updated_at": "<string>",
"user_id": 123
}"<string>""<string>"{
"folder_id": "<string>",
"name": "<string>",
"shared": [
{
"email": "<string>",
"error": {
"code": 123,
"err": "<unknown>",
"message": "<string>",
"meta": {},
"type": "unknown"
},
"org_id": 123,
"user_id": 123
}
],
"sharing_note": "<string>"
}"<string>""<string>"Authorizations
Path Parameters
Unique identifier of saved project
Response
OK
bases (audiences) for this project
Show child attributes
Show child attributes
Saved columns in the project.
Show child attributes
Show child attributes
List of saved country codes.
Name of project.
Saved rows in the project.
Show child attributes
Show child attributes
Internal unique identifier for this project.
List of wave codes.
UUID of project this was copied from, may be empty.
When the project was created.
FolderID of this project.
Meta contains exra FE configuration metadata.
Show child attributes
Show child attributes
free-text field which user can enter notes in the UI
Organisation ID
Project is shared with these users/orgs.
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Note attached to the sharing email and in listing of projects, may be empty. This is different note to the project note.
SharingType is filled only if is project shared by other method than user/org, like linkSharedByURL.
, linkSharedByURL Last update time of the project.
ID of user who created this project.
Was this page helpful?

