Added to the 2021-06-28 release is the support for ODM-XML, as a beta functionality. The media type for ODM-XML is application/odm+xml. For CDASHIG, users will receive an ODM v1.3.2 document as the response payload. For ADaMIG, SDTMIG, and SENDIG, user will receive a Define-XML v2.1 document. Note |
---|
ODM-XML, CSV and Excel Workbook media types are only available at the top-level of a foundational standard. When requesting them at levels in any lower hierarchy, the API will return an HTTP 406 Not Acceptable status code. CDISC Controlled Terminology in ODM-XML format is not yet supported. This is currently accessible through NCI EVS FTP site, here: https://evs.nci.nih.gov/ftp1/CDISC. |
For example, a cURL snippet to obtain ADaM OCCDS v1.0 (lines #1-3), SDTMIG v3.3 (lines #5-7) in ODM format. The outputs are in Define-XML v2.1: Code Block |
---|
language | text |
---|
linenumbers | true |
---|
| curl -X GET \
https://library.cdisc.org/api/mdr/adam/adam-occds-1-0 \
-H 'Accept: application/odm+xml'
curl -X GET \
https://library.cdisc.org/api/mdr/sdtmig/3-3 \
-H 'Accept: application/odm+xml'
|
Another cURL snippet to obtain CDASHIG v2.1 in ODM format. The output is in ODM v1.3.2: Code Block |
---|
language | text |
---|
linenumbers | true |
---|
| curl -X GET \
https://library.cdisc.org/api/mdr/cdashig/2-1 \
-H 'Accept: application/odm+xml'
|
Below is a cURL snippet to obtain ADaM OCCDS v1.0 (lines #1-3), SDTMIG v3.3 (lines #5-7), and Controlled Terminology P38 (lines #9-11) in CSV format: Code Block |
---|
language | text |
---|
linenumbers | true |
---|
| curl -X GET \
https://library.cdisc.org/api/mdr/adam/adam-occds-1-0 \
-H 'Accept: text/csv'
curl -X GET \
https://library.cdisc.org/api/mdr/sdtmig/3-3 \
-H 'Accept: text/csv'
curl -X GET \
https://library.cdisc.org/api/mdr/ct/packages/sdtmct-2019-06-28 \
-H 'Accept: text/csv' |
Similarly, a cURL snippet to obtain ADaM OCCDS v1.0 (lines #1-3) , SDTMIG v3.3 (lines #5-7), and Controlled Terminology P38 (lines #9-11) in Excel Workbook format: Code Block |
---|
language | text |
---|
linenumbers | true |
---|
| curl -X GET \
https://library.cdisc.org/api/mdr/adam/adam-occds-1-0 \
-H 'Accept: application/vnd.ms-excel'
curl -X GET \
https://library.cdisc.org/api/mdr/sdtmig/3-3 \
-H 'Accept: application/vnd.ms-excel'
curl -X GET \
https://library.cdisc.org/api/mdr/ct/packages/sdtmct-2019-06-28 \
-H 'Accept: application/vnd.ms-excel' |
|