@wildix-internal/wim-integrations-client > GetIntegrationByIdCommand
GetIntegrationByIdCommand class
Signature:
export declare class GetIntegrationByIdCommand extends GetIntegrationByIdCommand_base
Extends: GetIntegrationByIdCommand_base
Example
Use a bare-bones client and the command you need to make an API call.
import { WimIntegrationsServiceClient, GetIntegrationByIdCommand } from "@wildix-internal/wim-integrations-client"; // ES Modules import
// const { WimIntegrationsServiceClient, GetIntegrationByIdCommand } = require("@wildix-internal/wim-integrations-client"); // CommonJS import
const client = new WimIntegrationsServiceClient(config);
const input = { // GetIntegrationByIdInput
integrationId: "STRING_VALUE", // required
companyId: "STRING_VALUE",
};
const command = new GetIntegrationByIdCommand(input);
const response = await client.send(command);
// { // GetIntegrationByIdOutput
// item: { // 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
// },
// };