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

Update Service Extension

PUT /services/${service_id}/extensions/${ext_name}


This operation replaces the extension value with a new extension value. The former value of the extension is lost.

In 8.5, extensions are JSON key-value pairs. This ensures backward compatibility and simplifies the management of extensions.

This operation supports the update of multi-valued extensions.


Updates a service's extension value
Method PUT
URL /services/${service_id}/extensions/${ext_name}
Name   Type   Mandatory Description
URI Parameters
${service_id} integer yes The ID of the service.
${ext_name} string yes The name of the extension
<extension> or <extension>[] Any JSON type yes Attached data as key-value pairs or array of key-value pairs.


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 200
HTTP message OK


The following operation updates the single-valued extension "score".

 PUT /services/8389/extensions/score
    "score": 85,
    "agentID": 2025

The following operation updates the multi-valued extension "relatedOffers".

 PUT /services/8389/extensions/relatedOffers
      "offer_name":"VIP credit card black ed.",
      "comments":"proposed to all client"
      "offer_name":"3 times payment GOLD",
      "comments":"limited offer"
      "offer_name":"life insurance",
      "comments":"health check to be done before approval"


 200 OK
This page was last edited on April 27, 2017, at 10:18.


Comment on this article:

blog comments powered by Disqus