UNPKG

powerplatform-mcp

Version:

PowerPlatform Model Context Protocol server

19 lines (18 loc) 526 B
/** * Service for option set operations. * Handles global option set definitions. */ export class OptionSetService { client; constructor(client) { this.client = client; } /** * Get a global option set definition by name * @param optionSetName The name of the global option set * @returns The global option set definition */ async getGlobalOptionSet(optionSetName) { return this.client.get(`api/data/v9.2/GlobalOptionSetDefinitions(Name='${optionSetName}')`); } }