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

Overview |  Quickstart |  Documentation |  Downloads |  Tutorials

question

Upvotes
Accepted
5 3 4 5

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 512.0 KiB each and 1.0 MiB total.

Hello @mithun.ghosh,

Thank you for your participation in the forum. Is the reply below satisfactory in resolving your query?

If yes, please click the 'Accept' text next to the reply. This will guide all community members who have a similar question. Otherwise please post again offering further insight into your question.

Thanks,

AHS

Hello @mithun.ghosh

Thank you for your participation in the forum. Is the reply below satisfactory in resolving your query?


If so please can you click the 'Accept' text next to the appropriate reply. This will guide all community members who have a similar question.

Thanks,


AHS


Hello @mithun.ghosh,

Thank you for your participation in the forum. Is the reply below satisfactory in resolving your query?

If so please can you click the 'Accept' text next to the appropriate reply. This will guide all community members who have a similar question.

Thanks,

AHS

Please be informed that a reply has been verified as correct in answering the question, and has been marked as such.

Thanks,


AHS


1 Answer

· Write an Answer
Upvotes
Accepted
11.3k 25 9 14

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 512.0 KiB each and 1.0 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

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