@wildix-internal/wim-integrations-client > BulkPutIntegrationsCommand
BulkPutIntegrationsCommand class
Signature:
export declare class BulkPutIntegrationsCommand extends BulkPutIntegrationsCommand_base
Extends: BulkPutIntegrationsCommand_base
Example
Use a bare-bones client and the command you need to make an API call.
import { WimIntegrationsServiceClient, BulkPutIntegrationsCommand } from "@wildix-internal/wim-integrations-client"; // ES Modules import
// const { WimIntegrationsServiceClient, BulkPutIntegrationsCommand } = require("@wildix-internal/wim-integrations-client"); // CommonJS import
const client = new WimIntegrationsServiceClient(config);
const input = { // BulkPutIntegrationsInput
integrations: [ // BulkPutIntegrationsList // required
{ // PutIntegrationDataItem
service: "salesforce" || "hubspot" || "google_calendar" || "microsoft_calendar" || "salesforce_community" || "bamboo_hr" || "microsoft_presence" || "iframe_integration" || "webhook" || "hubspot_backend" || "salesforce_backend" || "salesforce_telephony" || "gong", // required
status: "deleting" || "installing" || "warning" || "enabled" || "disabled" || "suspended" || "broken",
entityType: "sf_partner" || "main",
statusChangeDate: "STRING_VALUE",
errorInfo: "DOCUMENT_VALUE",
warningInfo: "DOCUMENT_VALUE",
data: "DOCUMENT_VALUE",
companyId: "STRING_VALUE", // required
integrationId: "STRING_VALUE", // required
},
],
};
const command = new BulkPutIntegrationsCommand(input);
const response = await client.send(command);
// { // BulkPutIntegrationsOutput
// items: [ // IntegrationList // required
// { // Integration
// service: "salesforce" || "hubspot" || "google_calendar" || "microsoft_calendar" || "salesforce_community" || "bamboo_hr" || "microsoft_presence" || "iframe_integration" || "webhook" || "hubspot_backend" || "salesforce_backend" || "salesforce_telephony" || "gong", // required
// status: "deleting" || "installing" || "warning" || "enabled" || "disabled" || "suspended" || "broken",
// entityType: "sf_partner" || "main",
// statusChangeDate: "STRING_VALUE",
// errorInfo: "DOCUMENT_VALUE",
// warningInfo: "DOCUMENT_VALUE",
// data: "DOCUMENT_VALUE",
// integrationId: "STRING_VALUE", // required
// externalId: "STRING_VALUE",
// companyId: "STRING_VALUE", // required
// },
// ],
// };