Skip to main content

Extension Services

Extension

Endpoint: http(s)://[hostname]:[port]/[context]/service/[version]/extension/[environment]

Method: POST

Content-Type: application/json or application/xml

Accept: application/json or application/xml

Path Parameters

Parameter

Description

hostnameCantara worker hostname
portCantara worker listening port (only required if non-standard HTTP/s port
context

Cantara worker web application context

versionCantara worker API version
environmentCantara access environment. Refer to the Managing Environments topic for more information.(Example - E1DEV)

Execute Extension

Example for executing Extension service

Example Endpoint: https://us.cantara.cloud/cantara/service/50/extension/E1DEV


Example Request

JS
{
	"echoPayload":"TEST",
	"name":"Echo",
	"cantaraVersion":"5.1",
	"tenantId":"",
	"apiKey":""
}

Example Response

JS
{
    "Message": {
        "value": "Transaction Successful",
        "origin": "Worker24@af746ad838d3",
        "type": 0,
        "cantaraSid": ""
    },
    "name": "Echo",
    "cantaraVersion": "5.1",
    "EchoPayload": "TEST"
}

Extension Attachment

Endpoint: http(s)://[hostname]:[port]/[context]/service/[version]/extension/attach/[environment]

Method: POST

Content-Type: application/json or application/xml

Accept: application/json or application/xml

Path Parameters

Parameter

Description

hostnameCantara worker hostname
portCantara worker listening port (only required if non-standard HTTP/s port
context

Cantara worker web application context

versionCantara worker API version
environmentCantara access environment. Refer to the Managing Environments topic for more information.(Example - E1DEV)

Execute Extension Attachment

Example for executing Extension Attachment service

Example Endpoint: https://us.cantara.cloud/cantara/service/50/extension/attach/E1DEV

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.