Page History
Sv translation | |||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| |||||||||||||||||||||||
/api/dataSets/:id/dataUpdates existing row or inserts new row in data set. 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\"" -d "dataRow={\"id\":\"456\",\"L_COUNTRY\":\"Great Britain\",\"M_REVENUE\":\"1234.5678\"}" https://service.belladati.com/api/dataSets/123/data |
When the row has been updated/added successfully, the response has the HTTP status code 200 and the content "OK".
When there is no attribute/indicator value to update or add, the response has the HTTP status code 200 and the content "Nothing to insert".
Sv translation | |||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| |||||||||||||||||||||||
/api/dataSets/:id/dataデータセットの既存の行を更新または新しい行を追加します。 リソース情報
リクエストパラメーター
|
Code Block |
---|
curl -H "Authorization: OAuth realm=\"https://service.belladati.com/\", oauth_consumer_key=\"myConsumer\", oauth_token=\"mh7an9dkrg59\", oauth_timestamp=\"135131231\", oauth_nonce=\"randomString\"" -d "dataRow={\"id\":\"456\",\"L_COUNTRY\":\"Great Britain\",\"M_REVENUE\":\"1234.5678\"}" https://service.belladati.com/api/dataSets/123/data |
行の更新/追加に成功すると、レスポンスのHTTPステータスコードは200になり、コンテンツは"OK"になります。
更新または追加する属性/インジケーターが無い場合、レスポンスのHTTPステータスコードは200になり、コンテンツは"Nothing to insert"になります。
Overview
Content Tools