New posts are disabled while we improve the user experience.

You can browse the site, or for urgent issues, raise a query at MyAccount.

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.

1 Answer

· Write an Answer
Upvotes
Accepted
11.3k 26 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.