Page History
For caDSR II, the URL has been updated slightly from the legacy caDSR but returns the data in the same format as legacy caDSR.
To invoke this interface for the caDSR II API interface, use a URL in the form outlined below.
...
Parameter | Description |
---|---|
<Target Format> | Result format (GetXML, GetJSON, or GetHTML). Use the prefix Get followed by the format (one of XML, JSON, or HTML) concatenated as one word:
|
<Target> | Result class name. Use a valid caDSR Class name, such as DataElement or Form. For a full list, refer to the caDSR II Domain Class Browser: https://cadsrapi.cancer.gov/caDSR/domain/browser.dsp For example, use … query=Form[ … ] to return caDSR Form class information. |
<Criteria> | The criteria class that identifies the association to be traversed when retrieving the target/result class. The Criteria constrain the target/result based on the associated ID and ID_VALUE pair or pairs that you provide in the square brackets [ … ]. You can nest Criteria in the square brackets [ … ]. If the Criteria is the Target, then you can use a shorthand and the system assumes the Criteria to be equal to the Target. (This is considered Implicit Criteria.)
|
<ID> | Attribute of the Criteria class used to constrain the query. For more than one attribute, use a comma between each attribute. The query performs the AND operation for all ID and ID_VALUE pair parameters you have provided for the Criteria class you have identified.
For example, use [@publicId= …] combined with the ID_VALUE to identify the constraints for the result returned. |
<ID_VALUE> | A string identifying the qualified criteria class data to be used as a filter on the result set:
For example, use [@publicId=62,@version=6] to identify a qualified criterion for the class specified in <Target>. |
The following examples demonstrate the differences between the legacy caDSR format and the caDSR II format:
A legacy caDSR (old) example:
Panel | ||||
---|---|---|---|---|
| ||||
https://cadsrapi.nci.nih.gov/cadsrapi4/GetXML?query=DataElement[@publicId=62][@version=6] |
A caDSR II (new) example:
...
borderColor | silver |
---|---|
borderStyle | solid |
...
AllowLineWrap | true |
---|
...
Include Page | ||||
---|---|---|---|---|
|