Page History
The swagger You can find Swagger files for available caDSR II REST APIs can be found here at in the caDSR II API Portal.
The We have designed the primary caDSR II APIs have been designed with for ease of migration for existing customers. There is a change to the syntax of the URLsThe URL syntax has changed, but everything else is the same. For example to For comparison, the following examples retrieve the latest version of the CDE with public Id ID 62 the legacy API:
- Legacy Format: 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]
NoteKeep in mind the following points:
- 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" parameter: GetXML, GetHTML, or GetJSON.
Include Page | ||||
---|---|---|---|---|
|
...