NIH | National Cancer Institute | NCI Wiki  

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

The caDSR II APIs have been designed to be as easy to use as possiblewith ease of migration for existing customers. There is a change to the syntax of the URLs, but everything else is the same.  For example to retrieve the latest version of CDE with public Id 62 the legacy API call is formatted like this


Legacy Format: https: // cadsrapi.nci.nih.gov/cadsrapi4/GetXML?query=DataElement[@publicId=62][@latestVersionIndicator=Yes]

New format: https://cadsrapi.cancer.gov/invoke/caDSR/GetXML?query=DataElement[@publicId=62,@latestVersionIndicator=yes]

...

  • Both the publicId and latestVersionIndicator attribute criteria on DataElement are in brackets separated by a comma ","
  • Class and attribute names are the same as in the legacy format
  • XML, HTML and now JSON formats are available. To switch object format change the "Get" paramater: GetXML, GetHTML, GetJSON


Include Page
caDSR API REST-like Examples
caDSR API REST-like Examples

Return to top