Hi, I'm Ask INFA!
What would you like to know?
ASK INFAPreview
Please to access Ask INFA.

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. Monitor Reference 360
  15. Reference 360 REST API
  16. Glossary

Reference 360

Reference 360

Get value mappings for a code value (v3)

Get value mappings for a code value (v3)

Retrieves the value mappings for a code value based on the internal ID or alias.
You can identify the code value that you want to retrieve value mappings for by specifying the value in the Code attribute.
You can't use the + symbol inside the code field value.

GET request

To retrieve the value mappings for a code value based on an internal ID or alias, submit a GET request with the following URI and specify the code:
/rdm-service/external/v3/crosswalks/{crosswalkKey}/mappings?Code={code}

GET request query parameters

The following table describes the parameter in the request:
Parameter
Type
Description
crosswalkKey
String
Internal ID or alias of a crosswalk.
page
Number
Optional. Page number to display. Default is 0.
pageSize
Number
Optional. The number of records to display on each page. Default is 100. Maximum is 10000.
Code
String
Value in the Code attribute of the source code value.

GET response

The response contains the value mappings for the code value.
The following table describes the attributes in the response body:
Field
Type
Description
pageSize
Number
Number of records displayed per page.
page
Number
Page from which the response was retrieved.
totalNumberOfElements
Number
Total number of records found.
numberOfElements
Number
Number of records returned in the current page.
lastPage
Boolean
Indicates whether the current page is the last page in the total result.
firstPage
Boolean
Indicates whether the current page is the first page in the total result.
mappings
Array
Includes the values in the Code attribute of the target code values.
Code
String
Source code value of a crosswalk mapping.
targetCode
String
Target code value of a crosswalk mapping.

GET example

To retrieve the value mappings for the code value based on the internal ID or alias, you might use the following request:
GET https://use4-mdm.dm-us.informaticacloud.com/rdm-service/external/v3/crosswalks/sapcountry_to_isocountry/mappings?Code=DE HTTP/1.1 Accept: application/json IDS-SESSION-ID: XXXXXXXXXXXXXXXXXXXXXX
The following sample response shows value mappings:
HTTP/1.1 200 OK Content-Type: application/json;charset=UTF-8 Content-Length: 92 { "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!