Remote Entities endpoints
Gets remote entities for the given connection.
Parameters
Name | Type | Description |
---|---|---|
gtmhub-accountId * | string | Specifies the ID of the gtmhub account. expected in header, sample value: 5be26318e5274a0007f17f61 |
connectorId * | string | The connection ID for which remote entities will be retrieved. expected in path
|
Expected response codes
200 | remoteEntities |
400 | bad request |
401 | unauthorized |
402 | payment required |
403 | forbidden |
500 | internal server error |
curl -X GET 'https://app.quantive.com/results/api/v1/remoteentities/{connectorId}' \ -H 'Content-Type: application/json' \ -H 'Accept: application/json' \ -H 'Authorization: Bearer {token}' \
-H 'gtmhub-accountId: 5be26318e5274a0007f17f61' \
var settings = { "url": "https://app.quantive.com/results/api/v1/remoteentities/{connectorId}", "method": "GET", "timeout": 0, "headers": { "Content-Type": "application/json", "Accept": "application/json", "Authorization": "Bearer {token}",
"gtmhub-accountId": "5be26318e5274a0007f17f61",
}
}; $.ajax(settings).done(function (response) { console.log(response); });
NOTE: You must install the module requests.
In a terminal window do: pip install requests
import requests, json
headers = { "Authorization" : "Bearer {token}", "gtmhub-accountId" : "{accountId}", "Content-Type" : "application/json" };
url = "https://app.quantive.com/results/api/v1/remoteentities/{connectorId}"
requests.get(url, headers = headers)
[
{
"hasChildren": false,
"key": "string value",
"namespace": "string value",
"title": "string value",
"type": "string value",
"typeName": "string value"
}
]
Oops! Looks like there are no API calls of that type for this Endpoint