I am looking for a way to resolve a security CUSIP/SEDOL/ISIN into a RIC published by a specific pricing source. From the DSS Java examples I see the /Extractions/InstrumentSearch request returns this information but provides a list of RICs with different sources. I am interested only in one specific source. From the DSS API reference I see that the Source field is available, but whenever I add it to my REST call I get back a "Bad request" response.
Any idea what I am doing wrong? The snippet below shows the REST call construction.
HttpPost httppost = new HttpPost(urlHost + "/Extractions/InstrumentSearch/");
httppost.addHeader("content-type", "application/json;odata.metadata=minimal"); httppost.addHeader("Authorization", "Token "+sessionToken);
JSONObject searchJSONObject = new JSONObject(); searchJSONObject.put("IdentifierType", "Cusip");
JSONArray jsonArray = new JSONArray();
I believe you may be mixing what is a valid parameter between different requests. There is no specification for InstrumentSearch to be passed a limiting Source: