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 2025: Call for Content

Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 25. Read more here about why you should contribute and what is in it for you!

Submit your idea!

Health and Life Sciences Learning

 

Need courses to help you with SAS Life Sciences Analytics Framework, SAS Health Cohort Builder, or other topics? Check out the Health and Life Sciences learning path for all of the offerings.

LEARN MORE

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