Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

If you decide to push your data per API you have to use the API route /updateIndexEntry. This route can automatically decide if an entry needs to be created or updated - as long as the id is unique - over every source.

To create an entry use the following request:

Status
colourYellow
titlePOST
/updateIndexEntry

Request Body:

Code Block
{
  "indexName": "Ticker",
  "indexType": "NYSE",
  "id": "MSFT",
  "entryName": Microsoft - Prime USD,
  "data": {
    "ID": "BRAGER",
    "_name": "Brasilien - Deutschland",
    "Date": "2014-07-08",
    "Location": "Stadion",
    }
  }
}

Excerpt: this request body will create a basic entry.