Jump to: navigation, search

Delete Record From Task Extension

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

Description

Deletes a single record in a multi-valued extension for a given task. In the body of the operation, you must specify the unique attributes which identify the record to delete. See Unique Attributes for further information.

Operation

Prerequisites: The extension record exists.
ID CV.WS.SRV.24
Method PUT
URL /services/${service_id}/task/${task_id}/extensions/${ext_name}/delete/by/unique
Parameter   Type   Mandatory Description
URI Parameters
${service_id} long yes The service ID.
${task_id} integer yes The task ID.
${ext_name} string yes The name of the Task Extension to modify.
Body<ref>Unique attributes of the Task Extension record.</ref>
<attribute n>
  • string
  • integer
  • long
  • double
  • date
  • datetime
  • currency
  • boolean
yes Attribute names and values of the task extension, marked as unique in the Extension Schema, and used to 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 removes the "car type" Proposal record of task 1 in service 8389.

PUT /services/8389/tasks/1/extensions/Proposal/by/unique
{
    "car type":"cabriolet"
}

Result

204 No Content
This page was last edited on July 17, 2020, at 15:47.
Comments or questions about this documentation? Contact us for support!