BookmarkSubscribeRSS Feed
Sandeep_sas
SAS Employee

Yes SDD 4.1 does have API support.

To start using the SAS Drug Development Java API, you must first establish a session with your instance of the application. From the session, you can obtain the services that are currently delivered which provide a number of methods for resource manipulation. For example:


  import com.sas.hls.client.*;
  import com.sas.hls.resource.repository.RepositoryResourceService;
  ...
 

  Session session = SessionFactory.newSession(new URL(http://yourSDDMachine.domain.com), "mySDDuid", "mySDDpwd");

  DrugServiceManager serviceManager =  ((DrugServiceManager) session.getServiceManager());                                           

  RepositoryResourceService repoService = serviceManager.getRepositoryResourceService();

repoService.checkoutToWorkspace("/YOURORG/Files/Folder/someProgram.sas");

...

See RepositoryResourceService and WorkspaceResourceService for a list of methods currently available in the API.

 

There is also a samples directory which includes instructions on how you can set up an environment to use the API as well as providing several full example programs that illustrate the use of the API.

2 REPLIES 2
Chris_Decker
Calcite | Level 5

Sandeep,

Will SDD 4.1 have a SAS based API similar to the previous versions of SDD? In working with current customers of SDD 3.x, it has been very useful in building integrations that the type of SDD users understand more then the Java based API.

Thanks,

Chris

John_d_WiseGuy
Fluorite | Level 6

Sandeep,

Is the documentation for thee APIs on the Internet?

John

sas-innovate-2024.png

Don't miss out on SAS Innovate - Register now for the FREE Livestream!

Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.

 

Register now!

New Learning Events in April

 

Join us for two new fee-based courses: Administrative Healthcare Data and SAS via Live Web Monday-Thursday, April 24-27 from 1:00 to 4:30 PM ET each day. And Administrative Healthcare Data and SAS: Hands-On Programming Workshop via Live Web on Friday, April 28 from 9:00 AM to 5:00 PM ET.

LEARN MORE

Discussion stats
  • 2 replies
  • 1100 views
  • 0 likes
  • 3 in conversation