Get an interaction context enrichment

get

/admin/interactionContextEnrichments/{id}

Request

Path Parameters

There's no request body for this operation.

Back to Top

Response

Supported Media Types

200 Response

OK
Body ()
Root Schema : InteractionContextEnrichment
Type: object
Show Source
Nested Schema : interaction-context-enrichment-specification-item
Type: object
Show Source
Match One Schema
Show Source
Nested Schema : context-items
Type: array
Minimum Number of Items: 1
Show Source
Nested Schema : interaction-context-change-mode
Type: object
Change mode of the interaction context
Show Source
Nested Schema : items
Type: object
Show Source
Match One Schema
Show Source
Nested Schema : interaction-context-source
Type: object
Show Source
  • Allowed Values: [ "ContentJSONPathSelector", "ContentJSONPointerSelector", "HeaderSelector", "QueryParameterSelector", "PathParameterSelector" ]
    the kind of selector. ContentJSONPathSelector: payload selection based on JSONPath ContentJSONPointerSelector: payload selection based on JSONPointer HeaderSelector: the name of a header QueryParameterSelector: the name of a query parameter PathParameterSelector: the name of a path parameter
  • Allowed Values: [ "REQUEST", "RESPONSE" ]
    the message direction. request from the caller or from the response
  • the specific selection string. In case there is no match, then the specific context element is not modified or created
Match One Schema
Show Source
Nested Schema : new-context-expiry
Type: object
declares the maximum lifetime of an initiated interaction context. At maximum 59 minutes. Defaults to ten minutes
Show Source

400 Response

Bad Request
Body ()
Root Schema : Error
Type: object
Used when an API throws an Error, typically with a HTTP error response-code (3xx, 4xx, 5xx)
Show Source

401 Response

Unauthorized
Body ()
Root Schema : Error
Type: object
Used when an API throws an Error, typically with a HTTP error response-code (3xx, 4xx, 5xx)
Show Source

403 Response

Forbidden
Body ()
Root Schema : Error
Type: object
Used when an API throws an Error, typically with a HTTP error response-code (3xx, 4xx, 5xx)
Show Source

404 Response

Not Found
Body ()
Root Schema : Error
Type: object
Used when an API throws an Error, typically with a HTTP error response-code (3xx, 4xx, 5xx)
Show Source

500 Response

Internal Server Error
Body ()
Root Schema : Error
Type: object
Used when an API throws an Error, typically with a HTTP error response-code (3xx, 4xx, 5xx)
Show Source
Back to Top

Examples

The following example shows how to get an interaction context enrichment object by submitting a GET request on the REST resource using cURL.

cURL Command

curl -H 'Authorization: Bearer <Token>' -X GET https://{FABRIC_HOST}/admin/interactionContextEnrichments/{id} -H "Content-Type: application/json" | json_pp

Example of Response Body

The following shows an example of the response body in JSON format.

{
    "id": "ICSE1650526055",
    "interaction-context-enrichment-specification-link-key": "CM-B2C-New",
    "interaction-context-enrichment-specification-item": {
        "interaction-context-change-mode": {
            "new-context-expiry": {
                "expiry-uom": "min",
                "expiry-units": 10
            },
            "operation-mode": "UNSAFE",
            "requires-existing-context": false,
            "existing-context-handling": "enrich"
        },
        "context-items": [
            {
                "interaction-context-key-name": "source-system",
                "interaction-context-fixed-value": "CM-B2C"
            }
        ]
    }
}
Back to Top