Skip to main content

HS.REST.API

abstract class HS.REST.API

API methods for the REST infrastructure.

Method Inventory

Methods

classmethod GetErrorLevelForInstance() as HS.REST.DataType.ErrorLevel
Get error level for all REST APIs for the instance.
Returns "" if unset.
@API.Method
classmethod GetErrorLevelForWebApp(pWebAppName As %String) as HS.REST.DataType.ErrorLevel
Get error level for specific REST API for web app for the instance.
Returns "" if unset.
@API.Method
classmethod GetResolvedErrorLevel(pWebAppName As %String = "") as HS.REST.DataType.ErrorLevel
Get resolved error level, taking into account instance and web app level settings. Error levels for web apps override instance-level settings. If unset at both, web app and instance level, error level defaults to $$$ErrorVerbosityLvlMinimal.
@Argument pWebAppName Name of web application.
classmethod SetErrorLevelForInstance(pErrorLevel As HS.REST.DataType.ErrorLevel)
Set error level for all REST APIs for the instance.
@API.Method
@Argument pErrorLevel Error level. Look up possible values in VALUELIST of data type.
classmethod SetErrorLevelForWebApp(pErrorLevel As HS.REST.DataType.ErrorLevel, pWebAppName As %String)
Set error level for specific REST API for web app for the instance.
@API.Method
@Argument pErrorLevel Error level. Look up possible values in VALUELIST of data type.
@Argument pWebAppName Name of web application.
FeedbackOpens in a new tab