transform
GETALL/GetListOfIntegrationsForAccount
Returns
- resultJSON Object
Returns an object with these properties:
- errorboolean
true if there was an error
- errorTextstring
If an error occurred, a description of the error.
- resultarray
If no error occurred, result contains a list of Connected Applications for the TransForm Account. If no Connected Applications are defined, the array will be empty.
Each entry in the array is guaranteed to have the following properties:
- namestring
The name of the connected application.
- applicationstring
The type of connected application. Will have a value of "Amazon S3", "Google drive", or "Dropbox".
Description
Gets a list of every Connected Application for an account. The account is the account associated with the API key.
CURL
CURL --insecure -H "apikey:Your_api_key" -H "accept: application/json" "https://transform.alphasoftware.com/transformAPIVersion1.a5svc/GetListOfIntegrationsForAccount"
Node
var https = require('https'); var options = { protocol: "https:", hostname: "transform.alphasoftware.com", path: "/transformAPIVersion1.a5svc/GetListOfIntegrationsForAccount", headers: {apikey: "Your_api_key"} }; https.get(options, (resp) => { let data = ''; resp.on('data', (chunk) => {data += chunk;}); resp.on('end', () => {console.log(data);}); }).on("error", (err) => {console.log("Error: " + err.message);});
Xbasic
dim apikey as c = "Your_api_key" dim postdata as c dim url as c = "/GetListOfIntegrationsForAccount" dim pr as p pr = a5dialogHelper_transformAPIQuery(url,postdata,apikey,"host:https://transform.alphasoftware.com") if pr.error = .f. then dim result as c result = pr.result else dim errorText as c errorText = pr.errorText end if