Skip to main content

@wildix/wda-insights-client > CreateProjectionsCategoryCommand

CreateProjectionsCategoryCommand class

Signature:

export declare class CreateProjectionsCategoryCommand extends CreateProjectionsCategoryCommand_base 

Extends: CreateProjectionsCategoryCommand_base

Example

Use a bare-bones client and the command you need to make an API call.

import { WdaInsightsClient, CreateProjectionsCategoryCommand } from "@wildix/wda-insights-client"; // ES Modules import
// const { WdaInsightsClient, CreateProjectionsCategoryCommand } = require("@wildix/wda-insights-client"); // CommonJS import
const client = new WdaInsightsClient(config);
const input = { // CreateProjectionsCategoryInput
company: "STRING_VALUE",
id: "STRING_VALUE", // required
name: "STRING_VALUE", // required
};
const command = new CreateProjectionsCategoryCommand(input);
const response = await client.send(command);
// { // CreateProjectionsCategoryOutput
// category: { // ProjectionsCategory
// id: "STRING_VALUE", // required
// name: "STRING_VALUE", // required
// },
// };