Table of Contents

Search

  1. Preface
  2. Introducing Reference 360
  3. Getting started with Reference 360
  4. Manage system reference data
  5. Manage reference data sets
  6. Manage code lists
  7. Manage code values
  8. Manage crosswalks
  9. Import data
  10. Manage hierarchies
  11. Manage attributes
  12. Manage workflows
  13. Manage jobs
  14. Reference 360 REST API
  15. Glossary

Reference 360

Reference 360

Export the subset of code values to a CSV file (v1)

Export the subset of code values to a CSV file (v1)

Exports the subset of code values in a hierarchical code list to a CSV file.

GET request

To export the subset of code values in a hierarchical code list, submit a GET request with the following URI:
/rdm-service/external/v1/codelists/{codelistId}/codevalues/subset/{subsetId}/cursor?page={page}
This API supports only incremental pagination starting from page
0
. In the request header, you must specify the
Accept
attribute to
application/octet-stream
.
Use the following parameters in the request query to specify the subset of code values to export:
Field
Type
Description
page
Number
Page number to display. Default value is
0
.
limit
Number
Optional. Number of records to display on each page. Default value is
10000
.

GET response

The response is a CSV file.

GET example

To export the subset of code values in a hierarchical code list, you might use the following request:
GET https://use4-mdm.dm-us.informaticacloud.com/rdm-service/external/v1/codelists/5d352cbb8de0392f8c0710d3/codevalues/subset/71253be5deb0e7d4974935e0/cursor?page=0 HTTP/1.1 Content-Type: application/json Accept: application/octet-stream IDS-SESSION-ID: XXXXXXXXXXXXXXXXXXXXXX
The following sample response shows the exported subset of code values in a CSV file:
HTTP/1.1 200 OK Content-Type: application/octet-stream Content-Disposition: attachment;filename=codeValueHierarchyExportFile.csv RDM-PAGE: 0 RDM-NUMBER-OF-ELEMENTS: 10 RDM-PAGE-SIZE: 1000 Content-Length: 130 Name,Code Name0,Code0 Name1,Code1 Name2,Code2 Name3,Code3 Name4,Code4 Name5,Code5 Name6,Code6 Name7,Code7 Name8,Code8 Name9,Code9

Back to Top

0 COMMENTS

We’d like to hear from you!