Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Sv translation
languageen

/api/reports/views/:id/table/indicators/:iid/conditions/:index

This method deletes selected conditional formatting for a selected table indicator.

Resource Information

Resource URL

https://service.belladati.com/api/reports/views/:id/table/indicators/:iid/conditions/:cid

HTTP Method

DELETE

Request Parameters

Parameters

Detail

Example

id

ID of the table. This ID is part of the /api/reports/:id response.

123

iid

ID of the indicator. This ID is part of the /api/views/:id/table/indicators response.AVn6TNRofe
indexIndex (order) of the conditional formatting. 5

Response Structure

If the condition is successfully deleted, the endpoint will return the response "DELETED".

Sample request/response

Using curl:

curl -X DELETE -H "Authorization: OAuth realm=\"https://service.belladati.com/\", oauth_consumer_key=\"myConsumer\", oauth_token=\"mh7an9dkrg59\", oauth_timestamp=\"135131231\", oauth_nonce=\"randomString\"" https://service.belladati.com/api/reports/views/5672-UXF46PMUR7/table/indicators/AVn6TNRofe/conditions/6

The JSON format response:

Code Block
DELETED

List siblings

リクエストパラメータ
Sv translation
languageja

/api/reports/views/:id/table/

jsonこの方法は、JSONフォーマットでテーブルを返却します。

indicators/:iid/conditions/:index

このメソッドは、選択された表インジケーターの選択された条件付き書式を削除します。

リソース情報

HTTP方法

GET

/indicators/:iid/conditions/:cid

HTTPメソッド

DELETE

リクエストパラメーター

パラメーター

詳細

id

テーブルのID。このIDは

表ID。このIDは、/api/reports/:

id responseの一部です。

id レスポンスの一部です。

123

filter

(任意)次の構造でテーブルに適用されたフィルタ:

説明
drilldown

ドリルダウンが属性コードと次のような構造で定義されました

説明
opフィルタ操作タイプ - サポートされている値のリストをご参照してください。
value/values(任意)選択した「op」に依存します。フィルタの値または値を格納します。

 

Code Block
{
  "drilldown": {
      "L_COUNTRY_OR_AREA": { "op": "EQ", "value": "Slovakia"},
      "L_TYPE": { "op": "IN", "values": [ "Type 1", "Type 2", "Type 3" ]},
      "L_DATE":{"op":"NOT_NULL"}
  }
}

レスポンスの構造

Code Block
{ 
  "rowsCount" : ..., 
  "name" : ..., 
  "header" : [ ], 
  "body" : [ ]
}

JSONレスポンスは、次の定義を持つ要素が含まれます。

説明
rowsCountヘッダーとデータを含む総数行
nameテーブルビュー名
headerヘッダ要素を含む配列
bodyデータ要素を含む配列

サンプルリクエスト/レスポンス

Curl使用:

iid

インジケーターID。このIDは、/api/views/:id/table/indicators レスポンスの一部です。

AVn6TNRofe
index条件付き書式のインデックス(順序)。5

レスポンス構造

条件が正常に削除されると、エンドポイントは "DELETED" レスポンスを返します。

ンプルリクエスト/レスポンス

curl使用:

curl -X DELETE -H "Authorization: OAuth

Code Blockcurl -H "Authorization: OAuth

oauth_consumer_key=\"myConsumer\",

oauth_token=\"mh7an9dkrg59\",

oauth_timestamp=\"135131231\",

oauth_nonce=\"randomString\""

 https://service.belladati.com/api/reports/views/

1234

5672-UXF46PMUR7/table/

json

JSONフォーマットの応答:

Code Block
{ 
  "rowsCount" : 5, 
  "name" : "My Table Name", 
  "header" : [ 
    [ 
      { 
        "value" : "", 
        "type" : "header" 
      } 
    ], 
    [ 
      { 
        "value" : "", 
        "type" : "header" 
      } 
    ] 
  ], 
  "body" : [ 
    [ 
      { 
        "value" : "Value", 
        "type" : "header" 
      }, 
      { 
        "style" : " color:rgb(77, 77, 77) !important ; background-color:rgb(237, 237, 237); ", 
        "value" : "1,033,054,533,155" 
      } 
    ], 
    [ 
      { 
        "value" : "Value Footnotes", 
        "type" : "header" 
      }, 
      { 
        "style" : " color:rgb(77, 77, 77) !important ; background-color:rgb(237, 237, 237); ", 
        "value" : "1" 
      } 
    ], 
    [ 
      { 
        "value" : "B", 
        "type" : "header" 
      }, 
      { 
        "style" : " color:rgb(77, 77, 77) !important ; background-color:rgb(237, 237, 237); ", 
        "value" : "5" 
      } 
    ]
  ]
}
Next steps

indicators/AVn6TNRofe/conditions/6

JSON形式のレスポンス:

Code Block
DELETED

List siblings

Sv translation
languagezh

Sv translation
languagecs

...