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

List value mappings of a crosswalk by crosswalk identifier

List value mappings of a crosswalk by crosswalk identifier

Retrieves all value mappings of a crosswalk by crosswalk identifier.

GET request

To retrieve all mappings of a crosswalk by crosswalk identifier, submit a GET request with the following URI:
/rdm-service/external/v2/crosswalks/{crosswalkIdentifier}/mappings?page={page}&pageSize={pageSize}
This API also supports crosswalks created from code lists belonging to different reference data sets.

GET request query parameters

You can append query parameters to the URI to specify the page number and page size.
The following table lists the query parameters:
Field
Type
Description
page
Number
Page number to display. Default is 0.
pageSize
Number
Number of records to display on each page. Default is 100.

GET response

The response contains the mappings of a specific crosswalk by crosswalk identifier.
The following table describes the attributes in the response:
Field
Type
Description
mappings
Array
List of mappings for the specified crosswalk.
Code
String
Source code value of a crosswalk mapping.
targetCode
String
Target code value of a crosswalk mapping.
page
Number
Page number to display. Default is 0.
pageSize
Number
Number of records to display on each page. Default is 100.
firstPage
Boolean
Indicates whether the current page is the first page of the total results.
lastPage
Boolean
Indicates whether the current page is the last page of the total results.
numberOfElements
Number
Number of records returned in the current page.
totalNumberOfElements
Number
Total number of records found.

GET example

To retrieve the mappings of a specific crosswalk by crosswalk identifier, you might use the following request:
GET https://use4-mdm.dm-us.informaticacloud.com/rdm-service/external/v2/crosswalks/daf0cc189e530b6979ac77ce/mappings?page=0&pageSize=100 HTTP/1.1 Accept: application/json
The following sample response shows the mappings of a specific crosswalk by crosswalk identifier:
HTTP/1.1 200 OK Content-Type: application/json;charset=UTF-8 Content-Length: 465 { "pageSize":100, "page":0, "totalNumberOfElements":5, "numberOfElements":5, "lastPage":true, "firstPage":true, "mappings":[ { "Code":"code1", "targetCode":"targetCode1" }, { "Code":"code2", "targetCode":"targetCode2" }, { "Code":"code3", "targetCode":"targetCode3" }, { "Code":"code4", "targetCode":"targetCode4" }, { "Code":"code5", "targetCode":"targetCode5" } ] }

0 COMMENTS

We’d like to hear from you!