/api/reports/views/:id/table/indicators/:iid/conditions/create
このメソッドは、選択した表インジケーターの条件付き書式を作成します。
リソース情報
リソースURL | https://service.belladati.com/api/reports/views/:id/table/indicators/:iid/conditions/create |
HTTPメソッド |
|
リクエストパラメーター
パラメーター | 詳細 | 例 | ||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 表ID。このIDは、 | 123 | ||||||||||||||||||||||
| インジケーターID。このIDは、 | AVn6TNRofe | ||||||||||||||||||||||
data | 次のJSON形式で送信するフォームの内容:
| { "evaluationType": "INDICATOR", "value":5, "compareValue": 15, "symbol": "WARNING", "condition": "BW", "compareType": "CONSTANT", "color": "#15d000", "background": "#8bffc5" } |
レスポンス構造
JSONレスポンスには、次の要素を持つ1つのJSONオブジェクトが含まれています:
index | 条件の順序 |
サンプルリクエスト/レスポンス
curl使用
:
curl -H "Authorization: OAuth realm=\"https://service.belladati.com/\", oauth_consumer_key=\"myConsumer\", oauth_token=\"mh7an9dkrg59\", oauth_timestamp=\"135131231\", oauth_nonce=\"randomString\"" -d "data={\"evaluationType\": \"INDICATOR\",\"value\":5,\"compareValue\": 15,\"symbol\": \"WARNING\",\"condition\": \"BW\",\"compareType\": \"CONSTANT\",\"color\": \"#15d000\",\"background\": \"#8bffc5\"}" https://service.belladati.com/api/reports/views/5672-UXF46PMUR7/table/indicators/AVn6TNRofe/conditions/create
JSON形式のレスポンス:
{ "index": 6 }
Overview
Content Tools