Jump to: navigation, search

Update Record In Profile Extension

Prerequisites: You need to enable profiles in UCS.
PUT /profiles/${customer_id}/extensions/${ext_name}/by/unique


Updates the content of a single record in a multi-valued extension. The attributes which are part of the 'unique' list specified at the Extension Schema creation are passed in the body and used to find the correct record to update.

This update cannot change the values of the attributes which are part of the 'unique' list of the Extension Schema; 'unique' attributes are used as identifiers for the given record. Workaround: If you wish to update a value for an attribute stamped as unique, you must delete the concerned record, then recreate this record with its correct values.


Prerequisites: The extension record exists.

Method PUT
URL /profiles/${customer_id}/extensions/${ext_name}/by/unique
Parameter   Type   Mandatory Description
URI Parameters
${customer_id} string yes The unique ID of the given customer. Limited to 16 characters.
${ext_name} string yes The name of the Profile Extension to update.
Body Record for the Profile Extension.
<attribute n>
  • string
  • integer
  • long
  • double
  • date
  • datetime
  • currency
  • boolean
yes Individual attributes defined in the Profile Extension Schema.
<attribute n> corresponds to the attribute name defined in the schema.
  • If the attribute is unique, its value is used to select the record to update. It is not updated.
  • If the attribute is not unique, its value is updated.


The Context Management Service API answers with HTTP codes for every request. The following table shows the correct response for a successful request. See HTTP Response Codes and Errors for further details on the possible codes that this operation can return.

HTTP code 204
HTTP message No Content


Operation The following operation updates the Phone record associated with the unique "PhoneNumber":"3145926535".

PUT /profiles/0000Sb5U97XE000Y/extensions/Phone/by/unique
 "description":"family phone", 


204 No Content with empty body
This page was last edited on September 7, 2018, at 10:34.
Comments or questions about this documentation? Contact us for support!