For a deeper look into our DataScope Select SOAP API, look into:
Overview | Quickstart | Documentation | Downloads | Tutorials
@Pooja,
The DSS C# library normally uses DSS REST API to communicate with DSS server. The InstrumentList ID is provided in response body of /Extractions/InstrumentLists/Create endpoint, so the issue should not be the scenario that the Instrument List is not successfully created on DSS with step#3
I suspect that the pricesnapInstrumentList object might somehow be cleaned up by GC, so I ask you to try adding the GC.KeepAlive.
Hi @Pooja,
Was the step4 called immediately after the step3?
Could you try adding the GC.KeepAlive() for the pricesnapInstrumentList object? Below is the sample of code.
_extractionsContext.InstrumentListOperations.Create(pricesnapInstrumentList); _extractionsContext.InstrumentListOperations.AppendIdentifiers(pricesnapInstrumentList, instrumentIdentifierList, false); GC.KeepAlive(pricesnapInstrumentList);
Hi @Pooja,
I understand that the function is synchronous call. I have also tried the scenario that the instrument is removed on DSS before the append is called. I get different error message: "InstrumentList of id '0x072ced4b02d6b696' not found.", so it likely is not because the instrument list is not exist on DSS.