Maintenance Notice - PDF Generation
Dynamic PDF generation for web-based content is temporarily unavailable. This maintenance affects dynamic PDF files that are generated from either the HTML-based page or manual that you are viewing. Links that normally allow this functionality have been hidden, and will reappear as soon as the feature is restored.

Note: Access to static files, including PDF files that are not dynamically generated from our web-based content, is unaffected.

Jump to: navigation, search

Delete Record From State Extension

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


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


Prerequisites: The extension record exists.
Method PUT
URL /services/${service_id}/states/${state_id}/extensions/${ext_name}/delete/by/unique
Parameter   Type   Mandatory Description
URI Parameters
${service_id} long yes The service ID.
${state_id} integer yes The state ID.
${ext_name} string yes The name of the State Extension to modify.
Body<ref>"Unique" record attributes of the State 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 />


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 deletes the Satisfaction record of state 1 in service 8389. The concerned record is identified by the "place" attribute.

PUT /services/8389/states/1/extensions/Satisfaction/by/unique
   "place":"Tons of Hill, Paris"


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


Comment on this article:

blog comments powered by Disqus