New posts are disabled while we improve the user experience.

You can browse the site, or for urgent issues, raise a query at MyAccount.

question

Upvotes
Accepted
30 2 4 10

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

#productdss-rest-apidss
icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

1 Answer

· Write an Answer
Upvote
Accepted
87.8k 294 53 79

@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"
            ]
        }
    }
}

1692101008476.png (84.5 KiB)
icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.