Reference 360 SaaS
- Reference 360 SaaS
- All Products
/rdm-service/external/v1/enums
Parameter
| Description
|
|---|---|
Overwrite
| Optional. Indicates whether to update the existing system reference data values with same keys. Value is
true or
false . Default is
false .
|
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 can provide additional information about the data. For example, you can assign a code value to the Approved status. You can use the key value to assign the appropriate system reference data value.
|
label
| String
| Label for the system reference data value.
In Reference 360, the values appear in alphanumeric order based on the label.
|
Field
| Type
| Description
|
|---|---|---|
newEntries
| Number
| Number of values added.
|
existingEntries
| Number
| Number of existing values that are skipped.
|
updatedEntries
| Number
| Number of existing values that are updated.
|
PATCH https://use4-mdm.dm-us.informaticacloud.com/rdm-service/external/v1/enums?overwrite=true HTTP/1.1 Content-Type: application/json Host: localhost:8080 Content-Length: 368 { "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" } ] }
HTTP/1.1 200 OK Content-Type: application/json;charset=UTF-8 Content-Length: 71 { "newEntries":1, "existingEntries":4, "updatedEntries":2 }