Skip to content
This repository has been archived by the owner on Feb 8, 2024. It is now read-only.

Latest commit

 

History

History
56 lines (36 loc) · 1.68 KB

AccountIntegrationApi.md

File metadata and controls

56 lines (36 loc) · 1.68 KB

AccountIntegrationApi

All URIs are relative to /activiti-app/api

Method HTTP request Description
getAccounts GET /enterprise/account/integration Retrieve external account information

getAccounts

Retrieve external account information

Accounts are used to integrate with third party apps and clients

Return type: ResultListDataRepresentationAccountRepresentation

Example

import { AlfrescoApi, AccountIntegrationApi } from '@alfresco/js-api';

const alfrescoApi = new AlfrescoApi(/*..*/);
const accountIntegrationApi = new AccountIntegrationApi(alfrescoApi);

accountIntegrationApi.getAccounts().then((data) => {
    console.log('API called successfully. Returned data: ' + data);
});

Models

ResultListDataRepresentationAccountRepresentation

Properties

Name Type
data AccountRepresentation[]
size number
start number
total number

AccountRepresentation

Properties

Name Type
authorizationUrl string
authorized boolean
metaDataAllowed boolean
name string
serviceId string