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

Overview |  Quickstart |  Documentation |  Downloads |  Tutorials

question

Upvotes
Accepted
5 0 0 2

Differences in instrument validation between SOAP and RestApi

Hi, we are migrating from SOAP to RestAPi and found one difference in validation.

When I check if one CUSIP is correct, I am getting the result for slightly modified identifier.

e.g. asking for 31932817, the result is for 319328175 (another example is 31932810 and 319328100)


 {
  "InputsForValidation": [
    {
      "Identifier": "31932817",
      "IdentifierType": "Cusip"
    }
  ],
  "KeepDuplicates": true
}


response:

{
  "@odata.context": "https://hosted.datascopeapi.reuters.com/RestApi/v1/$metadata#ThomsonReuters.Dss.Api.Extractions.SubjectLists.InstrumentsValidateIdentifiersResult",
  "ValidatedInstruments": [
    {
      "Identifier": "319328175",
      "IdentifierType": "Cusip",
      "Source": "",
      "Key": "VjF8MHgwMDAwMDAwMDAwMDAwMDAwfDB4MDAwMDAwMDAwMDAwMDAwMHx8fHx8fHx8",
      "Description": "",
      "InstrumentType": "MortAggregate",
      "Status": "NotFound"
    }
  ],
  "ValidationResult": {
    "ValidInstrumentCount": 1,
    "OpenAccessSegments": [],
    "StandardSegments": [],
    "ValidationDuplicates": [],
    "Messages": [
      {
        "Severity": "Info",
        "Message": "CSP, 319328175 (not found)"
      }
    ]
  }
}


in SOAP implementation the result was exactly for the same ticker (response matched with request).

Can you help me understand why this happens? is it something common? is it only for CUSIPs or ISIN or RICs as well?

Thank you

Michał


dss-rest-apidatascope-selectdss
icon clock
10 |1500

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

1 Answer

Upvotes
Accepted
38.1k 69 35 53

@michal.bogdal

It looks similar to this question: DSS REST API extraction automatically flips the last character of my CUSIP code.

It relates to the User Preferences settings in DSS.

If I set only Allow Import of Unsupported Instruments into Instrument Lists, it returns:

 {
            "Identifier": "319328175",
            "IdentifierType": "Cusip",
            "Source": "",
            "Key": "VjF8MHgwMDAwMDAwMDAwMDAwMDAwfDB4MDAwMDAwMDAwMDAwMDAwMHx8fHx8fHx8",
            "Description": "",
            "InstrumentType": "MortAggregate",
            "Status": "NotFound"
        }
  

If I set both Allow Import of Unsupported Instruments into Instrument Lists and Allow Import of Historical Instruments, it returns:

 {
            "Identifier": "31932817",
            "IdentifierType": "Cusip",
            "Source": "",
            "Key": "VjF8MHgwMDAwMDAwMDAwMDAwMDAwfDB4MDAwMDAwMDAwMDAwMDAwMHx8fHx8fHx8",
            "Description": "",
            "InstrumentType": "MortAggregate",
            "Status": "NotFound"
        }
icon clock
10 |1500

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

Click below to post an Idea Post Idea