Discover Refinitiv
MyRefinitiv Refinitiv Perspectives Careers
Created with Sketch.
All APIs Questions & Answers  Register |  Login
Ask a question
  • Questions
  • Tags
  • Badges
  • Unanswered
Search:
  • Home /
  • DSS /
avatar image
Question by yadav.jitender · Mar 18, 2016 at 01:59 AM · javadss-sdktemplatereport

How to add content fields to Legal Entity Details report template in Java

I am able to create Legal Audit Detail report template but getting error while adding content fields to it .I am using java ,could anyone help.

People who like this

0 Show 0
Comment
10 |1500 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

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

3 Replies

  • Sort: 
avatar image
REFINITIV
Best Answer
Answer by susana.chang · Mar 23, 2016 at 02:52 PM

Attached is the Legal Entity Detail report template Java example client (also included is a text file of the HTTP JSON Request message for complete list of the Content Fields). You'd also need to download the Java Examples package to access the modified JSON library (JSONOrderedObject).

dss2legalentitydetailreporttemplatesclient.zip


dss2legalentitydetailreporttemplatesclient.zip (3.3 KiB)
Comment

People who like this

0 Show 4 · Share
10 |1500 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

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

avatar image
REFINITIV
Christiaan Meihsl ♦♦ · Mar 24, 2016 at 09:23 AM 0
Share

This sample has been added to the Java Code Examples package, available here.

avatar image
yadav.jitender · Mar 29, 2016 at 03:36 AM 0
Share

Hi Susane thanks for the solution you have provided to my query,but i had resolved the issue but still thanks for the solution.Now i am facing issue in creating the schedule .I have tried a lot but I am not able to get through it.So it would be great if u could help me.

avatar image
yadav.jitender · Mar 29, 2016 at 03:49 AM 0
Share

HI Susane:I have posted a question related to my query for schedule also you can check .

avatar image
REFINITIV
susana.chang ♦♦ yadav.jitender · Mar 30, 2016 at 11:50 PM 0
Share

Hi Yadav, I had posted an example for creating a Schedule for the Legal Entity Report. Hope that'd help.

avatar image
REFINITIV
Answer by Rick Weyrauch · Mar 18, 2016 at 07:29 AM

Have you reviewed the Java samples at:

https://developers.thomsonreuters.com/elektron-data-solutions/datascope-select-rest-api/downloads

yet?

I just took a look at what is in there, and it seems to be missing the answer to your question too. While I do not have access to my Java system at this moment (and Java is not my primary language) I believe you need to modify the DSS2ReportTemplatesClient sample something like:

JSONArray jsonArray = new JSONArray(new JSONTokener("{['Field1','Field2']}"));

Comment

People who like this

0 Show 0 · Share
10 |1500 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

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

avatar image
REFINITIV
Answer by susana.chang · Mar 21, 2016 at 11:44 PM
You can use JSONArray and JSONObject to add the content fields:

  JSONArray contentFieldNamesArray = new JSONArray();		      
  
  JSONObject cfJSONObject = new JSONObject();
  cfJSONObject.put("FieldName", "Audit Source");	       
  cfJSONObject.put( "Format", JSONObject.NULL);	        	     
  contentFieldNamesArray.put(cfJSONObject);
	        
	JSONObject cfJSONObject2 = new JSONObject();
	cfJSONObject2.put("FieldName", "Audit Modified Date");	      
	cfJSONObject2.put( "Format", JSONObject.NULL);
	contentFieldNamesArray.put(cfJSONObject2);
	        
	JSONObject cfJSONObject3 = new JSONObject();
	cfJSONObject3.put("FieldName", "ID");	       
        cfJSONObject3.put( "Format", JSONObject.NULL);
	contentFieldNamesArray.put(cfJSONObject3);
	        
 legalTemplateJSONObject.put("ContentFields", contentFieldNamesArray);

 (Attached is the full source file: dss2legalentityauditreporttemplatesclient.zip)


dss2legalentityauditreporttemplatesclient.zip (2.4 KiB)
Comment

People who like this

0 Show 0 · Share
10 |1500 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

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

Watch this question

Add to watch list
Add to your watch list to receive emailed updates for this question. Too many emails? Change your settings >
5 People are following this question.

Related Questions

How to use CorporateActions extractions

DSS REST API StatusCode 400 response

Dear Team:Can any one tell,how to add entities to entity list using the orgid in DSS legal entity details.Using the RIC we are able to add entity to entity list but using the org_id i am not able to do this.

Request timeouts

How to use DSS/REST API examples behind a proxy?

  • Feedback
  • Copyright
  • Cookie Policy
  • Privacy Statement
  • Terms of Use
  • Careers
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Alpha
  • App Studio
  • Block Chain
  • Bot Platform
  • Calais
  • Connected Risk APIs
  • DSS
  • Data Fusion
  • Data Model Discovery
  • Datastream
  • Eikon COM
  • Eikon Data APIs
  • Elektron
    • EMA
    • ETA
    • WebSocket API
  • Legal One
  • Messenger Bot
  • Messenger Side by Side
  • ONESOURCE
    • Indirect Tax
  • Open PermID
    • Entity Search
  • Org ID
  • PAM
    • PAM - Logging
  • ProView
  • ProView Internal
  • Product Insight
  • Project Tracking
  • Refinitiv Data Platform
    • Refinitiv Data Platform Libraries
  • Rose's Space
  • Screening
    • Qual-ID API
    • Screening Deployed
    • Screening Online
    • World-Check One
    • World-Check One Zero Footprint
  • Side by Side Integration API
  • TR Knowledge Graph
  • TREP APIs
    • CAT
    • DACS Station
    • Open DACS
    • RFA
    • UPA
  • TREP Infrastructure
  • TRIT
  • TRKD
  • TRTH
  • Thomson One Smart
  • Transactions
    • REDI API
  • Velocity Analytics
  • Wealth Management Web Services
  • World-Check Data File
  • Explore
  • Tags
  • Questions
  • Badges