Getting started
- Introduction
- Prerequisites
- Rules of our API
- Quickstarts
Transition from V1 to V2 API
Platform API
- Reference
- Audiences
- Authorization
- Categories
- Crosstabs
- Insights
- Locations
- Namespaces
- Query
- Questions
- Splitters
- Taxonomy
- Waves
Crosstabs
v2 Update Crosstab
PATCH
/
v2
/
saved
/
crosstabs
/
{uuid}
Copy
curl --request PATCH \
--url https://api.globalwebindex.com/v2/saved/crosstabs/{uuid} \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '{
"name": "<string>",
"notes": "<string>"
}'
Copy
{
"uuid": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"user_id": 123,
"org_id": "<string>",
"rows": [
{
"id": "<string>",
"name": "<string>",
"full_name": "<string>",
"avg": {
"question": "q999",
"with_suffixes": {
"datapoint": "q999_99",
"suffixes": [
1,
2
]
},
"with_datapoints": {
"datapoints": [
"q999_99"
]
}
},
"expression": {
"and": [
{}
],
"or": [
{}
],
"not": true,
"qustion": "<string>",
"options": [
"<string>"
],
"suffixes": [
123
],
"min_count": 123
}
}
],
"columns": [
{
"id": "<string>",
"name": "<string>",
"full_name": "<string>",
"avg": {
"question": "q999",
"with_suffixes": {
"datapoint": "q999_99",
"suffixes": [
1,
2
]
},
"with_datapoints": {
"datapoints": [
"q999_99"
]
}
},
"expression": {
"and": [
{}
],
"or": [
{}
],
"not": true,
"qustion": "<string>",
"options": [
"<string>"
],
"suffixes": [
123
],
"min_count": 123
}
}
],
"country_codes": [
"<string>"
],
"wave_codes": [
"<string>"
],
"bases": {},
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"notes": "<string>",
"metadata": {}
}
Authorizations
Path Parameters
Unique identifier of saved project.
Body
application/json
Project to rename
Project data.
Response
200
application/json
OK
Project data.
Copy
curl --request PATCH \
--url https://api.globalwebindex.com/v2/saved/crosstabs/{uuid} \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '{
"name": "<string>",
"notes": "<string>"
}'
Copy
{
"uuid": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"user_id": 123,
"org_id": "<string>",
"rows": [
{
"id": "<string>",
"name": "<string>",
"full_name": "<string>",
"avg": {
"question": "q999",
"with_suffixes": {
"datapoint": "q999_99",
"suffixes": [
1,
2
]
},
"with_datapoints": {
"datapoints": [
"q999_99"
]
}
},
"expression": {
"and": [
{}
],
"or": [
{}
],
"not": true,
"qustion": "<string>",
"options": [
"<string>"
],
"suffixes": [
123
],
"min_count": 123
}
}
],
"columns": [
{
"id": "<string>",
"name": "<string>",
"full_name": "<string>",
"avg": {
"question": "q999",
"with_suffixes": {
"datapoint": "q999_99",
"suffixes": [
1,
2
]
},
"with_datapoints": {
"datapoints": [
"q999_99"
]
}
},
"expression": {
"and": [
{}
],
"or": [
{}
],
"not": true,
"qustion": "<string>",
"options": [
"<string>"
],
"suffixes": [
123
],
"min_count": 123
}
}
],
"country_codes": [
"<string>"
],
"wave_codes": [
"<string>"
],
"bases": {},
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"notes": "<string>",
"metadata": {}
}
Assistant
Responses are generated using AI and may contain mistakes.