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

Available on demand!

Missed SAS Innovate Las Vegas? Watch all the action for free! View the keynotes, general sessions and 22 breakouts on demand.

 

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
  • 1128 views
  • 0 likes
  • 3 in conversation