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

Overview |  Quickstart |  Documentation |  Downloads |  Tutorials

question

Upvotes
Accepted
5 1 0 3

Unable to get Issuer Rating details response (more than 1000) in .Net SDK Solution

Hi Team,

We are using the ‘.Net SDK Code based: On Demand extract features with large Entity Identifier List (7000), 22 attributes and 16 rating source.

But we are not able to generate response file with .Net SDK code and getting the below error :

ThomsonReuters.Dss.Api.TooManyRequestsException: 'Too many requests for resource. Resource 'Extractions', Attempted '6956', Maximum '1000', Reservation Id (tracking number) ''



Anyone Could share any sample code so that we can resolve this ASAP.


Sample Code :


public ExtractionResult CreateRatingyExtraction (

EntityIdentifier[] instrumentIdentifiers, string[] contentFieldNames, RatingsCondition condition)

{

//Create an on demand extraction, of type CompositeExtractionRequest:

// LegalEntityHierarchyExtractionRequest extractionEod = new LegalEntityHierarchyExtractionRequest

RatingsExtractionRequest extractionEod = new RatingsExtractionRequest

{

IdentifierList = EntityIdentifierList.Create(instrumentIdentifiers),

ContentFieldNames = contentFieldNames,

Condition = condition

};

//Run the extraction.

//This call is blocking, it returns when the extraction is completed:

return extractionsContext.ExtractWithNotes(extractionEod);


}


Thanks,

Mithun

dss-rest-apidatascope-selectdsssdkcredit-ratings
1588878645256.png (56.5 KiB)
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
11.3k 25 8 13

Hi @mithun.ghosh,

According to the DSS GUI User Guide, the number of Legal Entity in a Ratings extraction request is limited to 1000 instruments. You need to separate the identifier list to be requested in different extraction requests. For example, 7 requests - each request has 1000 instruments.


1588908596870.png (184.9 KiB)
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