For a deeper look into our DataScope Select REST API, look into:

Overview |  Quickstart |  Documentation |  Downloads |  Tutorials

question

Upvotes
Accepted
30 2 3 7

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

dss-rest-apidss#product
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.

@stefan.sirkia

Hi,

Thank you for your participation in the forum.

Is the reply below satisfactory in answering your question?

If yes please click the 'Accept' text next to the reply. This will guide all community members who have a similar question.

Otherwise please post again offering further insight into your question.

Thanks,

AHS

1 Answer

· Write an Answer
Upvote
Accepted
79.2k 251 52 74

@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.