latestOpenAPI 3.0.12026-08-1163117239.4 KB

c5ac8232e334

Indicator

updates one or more indicators.

put/indicator/update

Request body

indicatorsobject nullable

Example request

{
  "indicators": {
    "indicator1": {
      "provider": "18A87A77-8CB8-4637-A5C3-004089CE0F11",
      "providerId": "ABC",
      "notes": "Some notes",
      "description": "A short description",
      "deleteExistingDataRecords": false,
      "classification": "Weather",
      "name": "Some Name",
      "color": "#FF00000",
      "units": "Some Units",
      "seasonalAdjustment": false,
      "aggregation": "Average",
      "citation": "Some citation",
      "path": "Some path",
      "periodAlignment": "Beginning",
      "interval": "MONTH",
      "industryCodes": [
        {
          "type": "SIC",
          "code": "123"
        }
      ],
      "tags": [
        "tag1",
        "tag2"
      ],
      "data": [
        {
          "value": 1.093,
          "annotation": "",
          "date": "2022-10-01",
          "isForecasted": false
        },
        {
          "Value": 1.163,
          "Annotation": "Note: Something",
          "Date": "2022-11-01",
          "IsForecasted": true
        }
      ]
    },
    "indicator2": {
      "provider": "DF56A04D-5D6D-41DB-B553-8374E4746010",
      "providerId": "CDE",
      "notes": "Some different notes",
      "description": "Description for my indicator",
      "deleteExistingDataRecords": false,
      "classification": "Trade",
      "name": "Different Name",
      "color": "#FF00000",
      "units": "Different Units",
      "seasonalAdjustment": false,
      "aggregation": "Sum",
      "citation": "Different citation",
      "path": "Different path",
      "periodAlignment": "End",
      "interval": "MONTH",
      "industryCodes": [
        {
          "type": "Nace",
          "code": "AB"
        }
      ],
      "tags": [
        "Tag4",
        "Tag8"
      ],
      "data": [
        {
          "value": 10867.093,
          "annotation": "",
          "date": "2020-08-01",
          "isForecasted": false
        },
        {
          "value": 187564.163,
          "annotation": "Something happened here.",
          "date": "2020-09-01",
          "isForecasted": true
        }
      ]
    }
  }
}

Response

OK