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 JSON file

Export the subset of code values to a JSON file

Exports the subset of code values in a hierarchical code list to a JSON 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/json
.
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 in JSON 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/json IDS-SESSION-ID: XXXXXXXXXXXXXXXXXXXXXX
The following sample response shows the exported subset of code values in the JSON file:
HTTP/1.1 200 OK Content-Type: application/json Content-Length: 352 { "pageSize":2, "page":0, "numberOfElements":2, "content":[ { "Code":"STUDENT-1001", "fields":{ "Code":"STUDENT-1001", "Name":"ppniK" }, "parentId":"UNIVERSITY-001" }, { "Code":"UNIVERSITY-001", "fields":{ "Code":"UNIVERSITY-001", "Name":"ABC University" } } ] }

0 COMMENTS

We’d like to hear from you!