@wildix/wms-api-client > CallControlHoldCommand
CallControlHoldCommand class
Signature:
export declare class CallControlHoldCommand extends CallControlHoldCommand_base
Extends: CallControlHoldCommand_base
Example
Use a bare-bones client and the command you need to make an API call.
import { WmsApiClient, CallControlHoldCommand } from "@wildix/wms-api-client"; // ES Modules import
// const { WmsApiClient, CallControlHoldCommand } = require("@wildix/wms-api-client"); // CommonJS import
const client = new WmsApiClient(config);
const input = { // CallControlHoldInput
user: "STRING_VALUE",
sipCallId: "STRING_VALUE", // required
};
const command = new CallControlHoldCommand(input);
const response = await client.send(command);
// { // CallControlHoldOutput
// message: "STRING_VALUE",
// };