DSS REST API Search

stefan.sirkia
edited April 16 in DSS

Hi,

we are trying to search bonds with REST API in DSS.

We are running a search via DSS REST API (1 below) and get 11 results, but when we run the same(?) search in DSS GUI we get 22 (pic 2 below). Why is this?

Is there a difference in the API Search in comparison to the GUI search that needs to be considered?

1)

{
"SearchRequest" : {
"IdentifierType" : null,
"PreferredIdentifierType" : "Isin",
"Identifier" : null,
"CurrencyCodes" : [ "SEK" ],
"AssetStatuses" : [ "ISS", "RPN" ],
"CountryCode" : "SE",
"Issuer" : null,
"Ticker" : "KOMEF",
"GovCorpContributorCode" : "CPL",
"MoodyRatingsCodes" : null,
"Callable" : false,
"Putable" : false,
"Sinkable" : false,
"Extendable" : false,
"Convertable" : false,
"StandardPoorsRatingsCodes" : [ "AA+", "AAA" ],
"MaturityDate" : {
"@odata.type" : "DataScope.Select.Api.Search.DateRangeComparison",
"From" : "2025-02-27",
"To" : "2045-02-27"
},
"IssueDate" : {
"@odata.type" : "DataScope.Select.Api.Search.DateValueComparison",
"ComparisonOperator" : "LessThan",
"Value" : "2025-02-27"
},
"Group" : null,
"Coupon" : null
}
}

2)

image.png

Answers

  • Jirapongse
    Jirapongse ✭✭✭✭✭

    @stefan.sirkia

    Thank you for reaching out to us.

    The conditions are different.

    image.png

    Please try this one:

    {
    "SearchRequest": {
    "IdentifierType": null,
    "PreferredIdentifierType": "Isin",
    "Identifier": null,
    "CurrencyCodes": [
    "SEK"
    ],
    "AssetStatuses": [
    "ISS",
    "RPN"
    ],
    "CountryCode": "SE",
    "Issuer": null,
    "Ticker": "KOMEF",
    "GovCorpContributorCode": "CPL",
    "MoodyRatingsCodes": null,
    "Callable": false,
    "Putable": false,
    "Sinkable": false,
    "Extendable": false,
    "Convertable": false,
    "StandardPoorsRatingsCodes": [
    "AA+",
    "AAA"
    ],
    "MaturityDate": {
    "@odata.type": "DataScope.Select.Api.Search.DateValueComparison",
    "ComparisonOperator": "LessThanEquals",
    "Value": "2047-02-27"
    },
    "IssueDate": {
    "@odata.type": "DataScope.Select.Api.Search.DateValueComparison",
    "ComparisonOperator": "LessThanEquals",
    "Value": "2025-02-27"
    },
    "Group": null,
    "Coupon": null
    }
    }