This page includes the following topics.
Find Data Element by Public ID and VersionThe following examples find a data element where Public ID = 62 and Version=6, displaying the basic metadata attributes. Legacy: Results Displayed in XMLThe URL for the results from the caDSR 4.1.x REST API is
caDSR II: Results Displayed in XMLThe URL for the results from the caDSR II REST API is
caDSR II: Results Displayed in HTMLThe URL for the results from the caDSR II REST API is
caDSR II: Results Displayed in JSONThe URL for the results from the caDSR II REST API is
**Allow Machine-to-machine Retrieval of a Data Element by Public ID and VersionThe following caDSR II example allows machine-to-machine retrieval of a data element by public ID and version. (You can test this URL only in a machine-to-machine scenario, not in a browser.)
If you want to create a REST API call from machine to machine or application to application, start your URL as follows:
Find Data Element by Public IDThe following example finds a data element with Public ID = 62, displaying the basic metadata attributes. Since the version is not known, this query can only be handled via a caDSR REST API query getting all versions. LegacyThe URL for the results from the caDSR 4.1.x REST API is
caDSR IIThe URL for the results from the caDSR II REST API is
Or the query can retrieve only the latest version.
Find Data Element by Public ID, Display All Related ComponentsThe following example finds a data element with Public ID = 62, displaying all the metadata associated with the data element's related components, not just the basic attributes. This is handled in the caDSR REST API using a parameter that produces expanded ("heavy") XML. LegacyThe URL for the results from the caDSR 4.1.x REST API is
caDSR IIThe URL for the results from the caDSR II REST API is
Find DEC Using Public ID, Display All Associated Data ElementsFind all the data elements associated with the DEC with Public ID = 2178546, displaying the basic metadata of the DEC and its data elements. LegacyThe URL for the results from the caDSR 4.0 REST API is
caDSR IIThe URL for the results from the caDSR II REST API is
Find Data Elements Associated with a Particular DEC Public ID and VersionThe following example finds only data elements associated with Version 2.1 of DEC with Public ID = 2178546. LegacyThe URL for the results from the caDSR 4.1.x REST API is
caDSR IIThe URL for the results from the caDSR II REST API is
Get Data Elements Using Concept Code or Concept NameThe following examples show how to retrieve data elements using either the concept code or the concept name where the concept is the Primary concept of the related caDSR item. In these examples, results are returned in XML. Legacy: Find All Data Elements Where Associated Concept is Primary Concept of Data Element's Object ClassThis example shows the use of either the Concept Code (C19448) or the Concept Name "Blood and Blood Products". Results are identical from these two calls, both are returned in XML.
caDSR IIThe URL for the results from the caDSR II REST API is
Legacy: Find All Data Elements Where Associated Concept is Primary Concept of Data Element's Property
caDSR IIThe URL for the results from the caDSR II REST API is
Legacy: Find All Data Elements Where Associated Concept is Primary Concept of One of Data Element's Value Domain Value Meanings
caDSR IIThe URL for the results from the caDSR II REST API is
Find All Enumerated Permissible Values for a Data ElementThe following examples find all enumerated permissible values for a data element using the data element's public ID and version or the data element's public ID (and getting latest version). Legacy
caDSR IIThe URL for the results from the caDSR II REST API is
|