SAS Life Science Analytics Framework and the clinical data products from SAS

Does SDD 4.1 have API support?

Reply
Contributor
Posts: 22

Does SDD 4.1 have API support?

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.

N/A
Posts: 1

Re: Does SDD 4.1 have API support?

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

Occasional Contributor
Posts: 8

Re: Does SDD 4.1 have API support?

Sandeep,

Is the documentation for thee APIs on the Internet?

John

Ask a Question
Discussion stats
  • 2 replies
  • 439 views
  • 0 likes
  • 3 in conversation