@wildix/xbees-users-client > GetUserPbxLinkSuggestionCommand
GetUserPbxLinkSuggestionCommand class
Signature:
export declare class GetUserPbxLinkSuggestionCommand extends GetUserPbxLinkSuggestionCommand_base
Extends: GetUserPbxLinkSuggestionCommand_base
Example
Use a bare-bones client and the command you need to make an API call.
import { UsersClient, GetUserPbxLinkSuggestionCommand } from "@wildix/xbees-users-client"; // ES Modules import
// const { UsersClient, GetUserPbxLinkSuggestionCommand } = require("@wildix/xbees-users-client"); // CommonJS import
const client = new UsersClient(config);
const input = { // GetUserPbxLinkSuggestionInput
email: "STRING_VALUE",
};
const command = new GetUserPbxLinkSuggestionCommand(input);
const response = await client.send(command);
// { // GetUserPbxLinkSuggestionOutput
// suggestion: { // UserPbxLinkSuggestion
// domain: "STRING_VALUE", // required
// port: "STRING_VALUE", // required
// },
// };