Page History
Sv translation | ||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||||||||||||||||
/api/dataSets/:id/replaceDeletes data based on a filter and then updates existing row or inserts new row in data set specified by ID. Resource Information
Request Parameters
|
Code Block |
---|
curl -H "Authorization: OAuth realm=\"https://service.belladati.com/\", oauth_consumer_key=\"myConsumer\", oauth_token=\"mh7an9dkrg59\", oauth_timestamp=\"135131231\", oauth_nonce=\"randomString\", Content-Type=\"application/json\"" -d "{dataRows:[\"L_COUNTRY\":\"Great Britain\",\"M_REVENUE\":\"1234.5678\"}],filter:{\"drilldown\":{\"L_COUNTRY\":{\"op\":\"EQ\",\"value\":\"USA\"}}}}" https://service.belladati.com/api/dataSets/123/replace |
When data has been deleted and new rows added successfully, the response has the HTTP status code 200 and the content "OK".
...