/holdings/bond-ladders

Base URL https://api.babylon.app/v1

GET /holdings/bond-ladders

List all bond-ladder identifiers, or read one bond ladder by supplying bondLadder.

Query parameters

  • bondLadder (optional) — bond-ladder identifier to read. Omit it to list the available identifiers.

Example request — list bond ladders

GET /holdings/bond-ladders

Example response — 200

{
  "name": "SegmentLedger",
  "description": "",
  "columns": ["segmentLedger"],
  "columnTypes": {},
  "rows": [
    {"segmentLedger": "MyGBBondLadder"}
  ]
}

Example request — read a bond ladder

GET /holdings/bond-ladders?bondLadder=MyGBBondLadder

The read response is the saved bond-ladder table in the standard row-oriented envelope. Its columns are the stored transaction columns for that ladder.

To receive either response as CSV, send Accept: text/csv.

POST /holdings/bond-ladders

POST performs the same read operation with parameters in a JSON request body.

POST /holdings/bond-ladders
Content-Type: application/json
{
  "bondLadder": "MyGBBondLadder"
}

The response has the same shape as the corresponding GET response. This endpoint does not create, replace or delete a bond ladder.

← Back to API