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
- Base URLhttps://api.affinda.com
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Request body
Example request
{
"dataPoint": "XprEvgai",
"collection": "mEFayXdO",
"organization": "mEFayXdO",
"choices": [
{
"value": "USD",
"label": "USD"
}
]
}Response
Successfully replaced choices of a data point.
Example response
{
"dataPoint": "XprEvgai",
"collection": "mEFayXdO",
"organization": "mEFayXdO",
"choices": [
{
"id": 1,
"value": "USD",
"label": "USD"
}
]
}Changes
No recorded changes to this operation across all 1 revision of this API.