I am trying to query the bond schedule (specifically the call option within the gui) through the api. To test the query I am using the following:
{
"ExtractionRequest": {
"@odata.type": "#ThomsonReuters.Dss.Api.Extractions.ExtractionRequests.BondScheduleExtractionRequest",
"ContentFieldNames": [
"Asset ID"
],
"IdentifierList": {
"@odata.type": "#ThomsonReuters.Dss.Api.Extractions.ExtractionRequests.InstrumentIdentifierList",
"InstrumentIdentifiers": [
{
"Identifier": "05490NAG0",
"IdentifierType": "Cusip"
}
]
}
}
}
I can see that Asset ID is an option within the gui for Bond Schedule template with Report Option = Call
The code above generates the following error:
{
"error": {
"message": "Validation Error:\r\n\r\nInternal constraint \"ReportTemplate.Conditions.InvalidBondScheduleTypeCode\" execution failure: message='Value cannot be null.\r\nParameter name: source' / exid='5b8489d2-31e0-4d96-b4ed-0cc21f454074'"
}
}
Thanks in advance for your assistance!