Issue with Fetching Bond Schedule Data | Regulatory Capital Info

We are trying to incorporate a process where we can fetch the below two columns into our system. These are part of “Bond Schedules” Template and the Bond Schedule Type is “Regulatory Capital Info

“Loss Absorption Regulation Code”

“Loss Absorption Regulation Code Description”

But we are getting below error while trying to make an API Call. Could you please help us to figure out what could be the possible reason we are getting the below error message.

"PlugIn Plugin Failed: DssRestfulApi.Program Reason: Value 'Regulatory Capital Info' could not be interpreted as a BondScheduleType"


Note: As part of current process we are able to fetch the data for Bond Schedule Types Call, Put, Coupon

Best Answer

  • Jirapongse
    Answer ✓

    @stefan.sirkia

    Thank you for reaching out to us.

    According to the DSS REST API Reference Tree, you need to use "RCIN" instead of "Regulatory Capital Info".

    1692101008476.png

    The on-demand request should look like this:

    {
        "ExtractionRequest": {
            "@odata.type": "#DataScope.Select.Api.Extractions.ExtractionRequests.BondScheduleExtractionRequest",
            "ContentFieldNames": [
                "Loss Absorption Regulation Code",
                "Loss Absorption Regulation Code Description"
            ],
            "IdentifierList": {
                "@odata.type": "#DataScope.Select.Api.Extractions.ExtractionRequests.InstrumentIdentifierList",
                "InstrumentIdentifiers": [
                    {
                        "Identifier": "IBM.N",
                        "IdentifierType": "Ric"
                    }
                ],
                "ValidationOptions": {}
            },
            "Condition": {
                "BondScheduleTypeCodes": [
                    "RCIN"
    ]

            }
        }
    }