A URL in caDSR II format returns HTML, XML, or JSON. Using the API, you can allow an application to connect to caDSR and search the database. The caDSR II Domain Class Browser page is a web browser interface that allows you to test the caDSR II API.
You can display any of these formats (HTML, XML, or JSON) in an Internet browser by changing the parameter (GetHTML, GetXML, or GetJSON).
Multiple AND IN Note
You cannot enter multiple "and"
or "in"
values for search criteria when using the REST (XML-HTTP) API.
If you have trouble using any URL on this page in your Internet browser, copy and paste it into a Google Chrome browser before contacting Application Support (NCIAppSupport@mail.nih.gov).
This page includes the following topics. An administered component in the API is equivalent to an administered item in OneData.Â
Retrieve All Administered Components Associated with ClassSchemeClassSchemeItem with Particular ID
The following example retrieves all Administered Components for ClassSchemeClassSchemeItem with ID = A55C551C-1866-5ED1-E034-080020C9C0E0. This retrieves all ACs and sorts them according to type (Form, DE, DEC, and so on).
The URL for the results from the caDSR II REST API is
https://cadsrapi.cancer.gov/invoke/caDSR/GetXML?query=AdministeredComponent,AdministeredComponentClassSchemeItem&ClassSchemeClassSchemeItem[@id=A55C551C-1866-5ED1-E034-080020C9C0E0]
Retrieving Any Administered Component by Public ID
The following example retrieves any administered component by public ID.
https://cadsrapi.cancer.gov/invoke/caDSR/GetXML?query=AdministeredComponent[@publicId=62]