We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/michsob/powerplatform-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server
OptionSetService.ts•577 B
import { PowerPlatformClient } from '../PowerPlatformClient.js';
/**
* Service for option set operations.
* Handles global option set definitions.
*/
export class OptionSetService {
constructor(private client: PowerPlatformClient) {}
/**
* 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: string): Promise<any> {
return this.client.get(`api/data/v9.2/GlobalOptionSetDefinitions(Name='${optionSetName}')`);
}
}