Reference 360 SaaS 
			
			- Reference 360 SaaS
 - All Products
 
           
      	
            
	
      /rdm-service/external/v2/codelists/{codeListKey}/codevalues
Parameter 
				    | Type 
				    | Description 
				    | 
|---|---|---|
codeListKey  | String   |  Internal ID or alias of the code list to which you want to update the
								code values.   | 
Field 
				    | Type 
				    | Description 
				    | 
|---|---|---|
 action 
				    |  String 
				    | Action to perform on code values. Set to  UPDATE .  | 
 records 
				    |  Array 
				    | Details of the code value to update.   | 
Name 
				    | String 
				    | Name for the code value.  | 
Code 
				    | String 
				    | Code attribute value for the code value.   | 
Description   | String   | Short description for the code value.   | 
status   | String   | Optional. Status of the code value in the life cycle.   | 
Field 
				    | Type 
				    | Description 
				    | 
|---|---|---|
 successfulRecords 
				    | Array   | An array that lists the successfully updated code values and their
									details.  | 
 Code 
				    |  String 
				    |  Code attribute value for the updated code value. 
				    | 
 label 
				    |  String 
				    |  Display attribute value for the updated code value. 
				    | 
failedRecords 
				    | Array   | An array that lists the code values that weren't updated and describes
									the reasons.   | 
label 
				    | String 
				    | Display attribute value for the code value that wasn't updated. 
				    | 
Code 
				    | String 
				    | Code attribute value for the code value that wasn't updated. 
				    | 
errorCauses 
				    | - 
				    |  Error details for the code values that weren't updated.   | 
errorCode 
				    | String 
				    | Error code for the error type. 
				    | 
errorSummary 
				    | String 
				    | A short summary that explains why the code values weren't updated.   | 
 localizedErrorSummary 
				    | String 
				    | A short summary that explains the error in the user locale. 
				    | 
 errorParameter 
				    | String 
				    | Parameter that provides details of an error. 
				    | 
 successfulRecordsCount 
				    | String 
				    |  Number of code values that were updated successfully. 
				    | 
 failedRecordsCount 
				    | String 
				    |  Number of code values that weren't updated. 
				    | 
PATCH https://use4-mdm.dm-us.informaticacloud.com/rdm-service/external/v2/codelists/country/codevalues HTTP/1.1 Content-Type: application/json Accept: application/json IDS-SESSION-ID: XXXXXXXXXXXXXXXXXXXXXX { "action": "UPDATE", "records": [ { "Name": "NAME-A", "Code": "CODE-A", "Description": "DESCRIPTION-A", "status": "ActiveKey" } ] }
HTTP/1.1 200 OK Content-Type: application/json Content-Length: 39 { "successfulRecords": [ { "Code": "CODE-A", "label": "NAME-A" } ], "failedRecords": [], "successfulRecordsCount": 1, "failedRecordsCount": 0