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

Add system reference data values

Add system reference data values

Adds values to the system reference data.

PATCH request

To add values to the system reference data, submit a PATCH request with the following URI:
/rdm-service/external/v1/enums
Use the following attributes in the request body to specify the new values:
Field
Type
Description
key
String
ID of the system reference data value.
In Reference 360, when you sort assets in the
Explore
panel by priority, the assets are sorted based on the key value.
When you import code values, you might want to provide additional information about the data. For example, you might want to assign a code value to the Approved status. You use the key value to assign the appropriate system reference data value.
label
String
Label for the system reference data value. The labels appear in Reference 360.
In Reference 360, the values appear in alphanumeric order based on the label.
You can use the same value for the
key
and
label
parameters.

PATCH response

The response shows the number of values added.
The following table describes the attributes in the response:
Field
Type
Description
newEntries
Number
Number of values added.
existingEntries
Number
Number of existing values that were skipped.

PATCH example

To add values to the system reference data, you might use the following request:
PATCH https://use4-mdm.dm-us.informaticacloud.com/rdm-service/external/v1/enums HTTP/1.1 Content-Type: application/json IDS-SESSION-ID: XXXXXXXXXXXXXXXXXXXXXX { "Priority":[ { "key":"0", "label":"Low" }, { "key":"1", "label":"Medium" }, { "key":"2", "label":"High" }, { "key":"9", "label":"Critical" } ], "Domain":[ { "key":"0", "label":"Finance" }, { "key":"1", "label":"Geography" }, { "key":"2", "label":"Social" } ] }
The following sample response shows the number of values added:
HTTP/1.1 200 OK Content-Type: application/json;charset=UTF-8 Content-Length: 47 { "newEntries" : 5, "existingEntries" : 2 }

0 COMMENTS

We’d like to hear from you!