NIH | National Cancer Institute | NCI Wiki  

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Enclosed contents of page in Lorenzo's custom macro instead of the standard numbered headings macro.

...

This page includes the following topics. An administered component in the API is equivalent to an administered item in OneData. 

Custom nh
start-numbering-with4
start-numbering-ath2
Panel
titleContents of This Page

Table of Contents
maxLevel3

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

Code Block
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.

Code Block
https://cadsrapi.cancer.gov/invoke/caDSR/GetXML?query=AdministeredComponent[@publicId=62]