PATCH
/
v2
/
saved
/
crosstabs
/
{uuid}
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>"
}'
{
  "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

Authorization
string
header
required

Path Parameters

uuid
string
required

Unique identifier of saved project.

Body

application/json
Project to rename

Project data.

name
string

Name of project

notes
string

User notes for project

Response

200
application/json
OK

Project data.

uuid
string

Internal unique identifier for this project.

name
string

Name of project.

user_id
integer

ID of user who created this project.

org_id
string

Organisation ID

rows
object[]

Saved rows in the project.

Wrapper structure containing AudienceExpression

columns
object[]

Saved columns in the project.

Wrapper structure containing AudienceExpression

country_codes
string[]

List of saved country codes. TODO explain

wave_codes
string[]

List of wave codes.

bases
object

Bases (audiences) for this project

created_at
string

The created_at of the project

updated_at
string

The updated_at of the project

notes
string

Free-text field which user can enter notes in the UI

metadata
object

Any metadata about this project, used by Platform