Skip to main content

Ens.Activity.API.REST

class Ens.Activity.API.REST extends %CSP.REST

Provide a REST interface for Activity Counters Used to search the Public Registry service

Method Inventory

Parameters

parameter CHARSET = utf-8;
Specifies the default character set for the page. This can be overriden using the <CSP:CONTENT CHARSET=> tag, or by setting the %response.CharSet property in the OnPreHTTP() method. If this parameter is not specified, then for the default charset is utf-8.
parameter CONTENTTYPE = application/json;
Specifies the default content type for the page. This can be overriden using the <CSP:CONTENT TYPE=> tag, or by setting the %response.ContentType property in the OnPreHTTP() method. The default value if this parameter is not set is text/html.
parameter EnforceJSONAccept = 0;
If true returns HTTP 406 if HTTP_ACCEPT is not application/json

Methods

classmethod GetAbout() as %Status
Returns JSON object describing this REST API
classmethod PostActivity() as %Status

Inherited Members

Inherited Methods

FeedbackOpens in a new tab