Jump to: navigation, search

Delete Record From Service Extension

ApiRef2.png PUT /services/${service_id}/extensions/${ext_name}/delete/by/unique
Available since: 8.0.200.00

Description

Deletes a single record in a multi-valued extension. In the operation's body, you must specify the unique attributes that identify the record in the given extension. See Unique Attributes for further information.

Operation

Prerequisites: The extension record exists.
ID CV.WS.SRV.22
Method PUT
URL /services/${service_id}/extensions/${ext_name}/delete/by/unique
Parameter   Type   Mandatory Description
URI Parameters
${service_id} long yes The service ID.
${ext_name} string yes The name of the Service Extension to modify.
Body<ref>Unique attributes of the Service Extension.</ref>
<attribute n>
  • string
  • integer
  • long
  • double
  • date
  • datetime
  • currency
  • boolean
yes Unique attributes (names and values) which identify the record to delete.

<references />

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 deletes the relatedOffers record identified by the attribute "offer_name" of service 8389.

PUT /services/8389/extensions/relatedOffers/by/unique
{
   "offer_name":"3 times payment GOLD"
}

Result

204 No Content
This page was last modified on November 23, 2017, at 09:00.

Feedback

Comment on this article:

blog comments powered by Disqus