Jump to: navigation, search

Delete Record From Profile Extension

CSAPIProxyUCS.png PUT /profiles/${customer_id}/extensions/${ext_name}/delete/by/unique

Description

Deletes a single record in a multi-valued extension. You must specify the list of 'unique' attributes which identify the record to delete. See Unique Attributes for further information.

Operation

Prerequisites: The extension record exists.
ID CV.WS.PROF.7
Method PUT
URL /profiles/${customer_id}/extensions/${ext_name}/delete/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 modify.
Body Unique attributes of the Profile Extension record.
<attribute n>
  • string
  • integer
  • long
  • double
  • date
  • datetime
  • currency
  • boolean
yes <attribute n> corresponds to the attribute name defined 'unique' in the Extension Schema.

Response

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.

Response
HTTP code 204
HTTP message No Content

Example

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

PUT /profiles/0000Sb5U97XE000Y/extensions/Phone/delete/by/unique
{"PhoneType":0, "prefix":"+33", "PhoneNumber":"3145926535",
"description":"family phone", "start_availability":"2009-12-18T18:30:00.000Z", "end_availability":"2009-12-18T21:40:00.000Z"}

Result

204 No Content
This page was last edited on November 7, 2016, at 15:28.
Comments or questions about this documentation? Contact us for support!