Skip to main content

@wildix/wim-cache-client > GetIntegrationDataCommand

GetIntegrationDataCommand class

Retrieves integration data by id with optional filters

Signature:

export declare class GetIntegrationDataCommand extends GetIntegrationDataCommand_base 

Extends: GetIntegrationDataCommand_base

Example

Use a bare-bones client and the command you need to make an API call.

import { WimCacheClient, GetIntegrationDataCommand } from "@wildix/wim-cache-client"; // ES Modules import
// const { WimCacheClient, GetIntegrationDataCommand } = require("@wildix/wim-cache-client"); // CommonJS import
const client = new WimCacheClient(config);
const input = { // GetIntegrationDataInput
id: "STRING_VALUE", // required
companyId: "STRING_VALUE",
type: "STRING_VALUE",
};
const command = new GetIntegrationDataCommand(input);
const response = await client.send(command);
// { // GetIntegrationDataOutput
// items: [ // IntegrationDataList // required
// { // IntegrationDataItem
// type: "STRING_VALUE", // required
// data: "DOCUMENT_VALUE", // required
// integrationId: "STRING_VALUE", // required
// },
// ],
// };