v1

latestOpenAPI 3.0.3MIT2026-07-22153276289.7 KB
Deprecated End Points

Replace choices of a data point

Replace choices of a data point. Existing choices and incoming choices are matched base on their value. New value will be created, existing value will be updated, and value not in incoming choices will be deleted.

post/v3/data_point_choices/replace

Request body

dataPointstring required

Uniquely identify a data point.

collectionstring

Uniquely identify a collection.

organizationstring

Uniquely identify an organization.

Example request

{
  "dataPoint": "XprEvgai",
  "collection": "mEFayXdO",
  "organization": "mEFayXdO",
  "choices": [
    {
      "value": "USD",
      "label": "USD"
    }
  ]
}

Response

Successfully replaced choices of a data point.

dataPointstring required

Uniquely identify a data point.

collectionstring nullable required

Uniquely identify a collection.

organizationstring nullable required

Uniquely identify an organization.

Example response

{
  "dataPoint": "XprEvgai",
  "collection": "mEFayXdO",
  "organization": "mEFayXdO",
  "choices": [
    {
      "id": 1,
      "value": "USD",
      "label": "USD"
    }
  ]
}