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

Move a code value

Move a code value

Moves a code value to another node within the same hierarchical code list without locking the code list.

POST request

To move a code value to another node within the same hierarchical code list, submit a POST request with the following URI:
/rdm-service/external/v1/codelists/{listIdentifier}/codevalues/move
Use the following parameters in the request body to specify the code fields of the code value to move and the target node:
Field
Type
Description
Code
String
The code field of the code value to move.
TargetParentCode
String
The code field of the target node to which you want to move the code value. If you don't specify a code, the code value is moved to the top level.

POST response

The response contains a success message.

POST example

To move the code value to another node within the same hierarchical code list, you might use the following request:
POST https://use4-mdm.dm-us.informaticacloud.com/rdm-service/external/v1/codelists/833861786fb48aa467602980/codevalues/move HTTP/1.1 Content-Type: application/json Content-Length: 48 Host: localhost:8080 { "Code" : "DE", "TargetParentCode" : "EU" }
The following sample response shows the success message:
HTTP/1.1 200 OK

0 COMMENTS

We’d like to hear from you!