Plugins API - GET a plugin's endpoint

Lists properties of the specified endpoint of the ActiveGate plugin.

The request produces an application/json payload.

GETSaaShttps://{your-environment-id}.live.dynatrace.com/api/config/v1/plugins/{id}/endpoints/{endpointId}
Environment ActiveGatehttps://{your-activegate-domain}:9999/e/{your-environment-id}/api/config/v1/plugins/{id}/endpoints/{endpointId}

Authentication

To execute this request, you need an access token with ReadConfig scope.

To learn how to obtain and use it, see Tokens and authentication.

Parameters

ParameterTypeDescriptionInRequired
idstring

The ID of the required plugin.

pathrequired
endpointIdstring

The ID of the required endpoint.

pathrequired

Response

Response codes

CodeTypeDescription
200RemotePluginEndpoint

Success

Response body objects

The RemotePluginEndpoint object

Configuration of a plugin endpoint.

ElementTypeDescription
activeGatePluginModuleEntityShortRepresentation

The short representation of a Dynatrace entity.

enabledboolean

The endpoint is enabled (true) or disabled (false).

idstring

The ID of the endpoint.

namestring

The name of the endpoint, displayed in Dynatrace.

pluginIdstring

The ID of the plugin to which the endpoint belongs.

propertiesobject

The list of endpoint parameters.

Each parameter is a property-value pair.

The EntityShortRepresentation object

The short representation of a Dynatrace entity.

ElementTypeDescription
descriptionstring

A short description of the Dynatrace entity.

idstring

The ID of the Dynatrace entity.

namestring

The name of the Dynatrace entity.

Response body JSON model

{
"activeGatePluginModule": {
"id": "-8844900174269363000"
},
"enabled": true,
"id": "-2183662974968812535",
"name": "Demo endpoint",
"pluginId": "custom.remote.python.demo",
"properties": {
"dropdownProperty": "two",
"password": "",
"serverIp": "127.0.0.1",
"username": "dynatrace"
}
}

Example

In this example, the request inquires for the parameter of the SAPacceptance endpoint, which has the ID of 5677163660730843402. The endpoint belongs to the SAP plugin that has the ID of custom.remote.python.sap.

The API token is passed in the Authorization header.

The endpoint has the following parameters:

Plugin endpoint - expanded

Curl

curl -X GET \
https://mySampleEnv.live.dynatrace.com/api/config/v1/plugins/custom.remote.python.sap/endpoints/5677163660730843402 \
-H 'Authorization: Api-Token dt0c01.abc123.abcdefjhij1234567890'

Request URL

https://mySampleEnv.live.dynatrace.com/api/config/v1/plugins/custom.remote.python.sap/endpoints/5677163660730843402

Response body

{
"id": "5677163660730843402",
"pluginId": "custom.remote.python.sap",
"name": "SAPacceptance",
"enabled": true,
"properties": {
"clientno": "001",
"serverIp": "192.168.1.0",
"password": "",
"instance": "00",
"username": "DYNATRACE"
},
"activeGatePluginModule": {
"id": "1768386982494938781",
"name": "GDNDYNSYNVSG03"
}
}

Response code

200