@wildix/wim-cache-client > SyncCacheCommand
SyncCacheCommand class
Allows to run target integration synchronization
Signature:
export declare class SyncCacheCommand extends SyncCacheCommand_base
Extends: SyncCacheCommand_base
Example
Use a bare-bones client and the command you need to make an API call.
import { WimCacheClient, SyncCacheCommand } from "@wildix/wim-cache-client"; // ES Modules import
// const { WimCacheClient, SyncCacheCommand } = require("@wildix/wim-cache-client"); // CommonJS import
const client = new WimCacheClient(config);
const input = { // SyncCacheInput
organizationId: "STRING_VALUE", // required
};
const command = new SyncCacheCommand(input);
const response = await client.send(command);
// { // SyncCacheOutput
// success: true || false,
// };