Skip to main content

@wildix/wim-cache-client > PutIntegrationDataCommand

PutIntegrationDataCommand class

Upsert operation for storing untyped integration data in the cache

Signature:

export declare class PutIntegrationDataCommand extends PutIntegrationDataCommand_base 

Extends: PutIntegrationDataCommand_base

Example

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

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