PUT
/
v2
/
saved
/
crosstabs
/
{uuid}
curl --request PUT \
  --url https://api.globalwebindex.com/v2/saved/crosstabs/{uuid} \
  --header 'Authorization: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '{
  "uuid": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "name": "<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": {
    "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
    }
  },
  "last_updated_at": "2023-11-07T05:31:56Z",
  "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 Update

Project data.

Response

200
application/json

OK

Project data.