[]
        
(Showing Draft Content)

Reporting-UserFunctions

Reporting-UserFunctions

[GET] /api/v2/reporting/user-functions

Gets user functions.

Response

Status Code: 200

Success

UserFunctionsResponse

Status Code: 403

Forbidden

ReportingPluginError

[PUT] /api/v2/reporting/user-functions

Updates user functions.

Response

Status Code: 204

No Content

Status Code: 400

Bad Request

ReportingPluginError

Status Code: 403

Forbidden

ReportingPluginError

[POST] /api/v2/reporting/user-functions/build

Builds user functions.

Request Schema

UserFunctionsBuildRequest

Response

Status Code: 200

Success

UserFunctionsBuildResponse

Status Code: 400

Bad Request

ReportingPluginError

Status Code: 403

Forbidden

ReportingPluginError

Models

Ƭ UserFunctionsResponse

Response model for UserFunctions.

Name Type Description Example
language Language
sourceCodeNullable string User functions code.

Ƭ Language

Enum:

  • CSharp
  • VisualBasic

Ƭ ReportingPluginError

Reporting plugin error

Name Type Description Example
codeNullable string error code
messageNullable string error message
contextNullable string error context

Ƭ UserFunctionsBuildResponse

Response model for building UserFunctions.

Name Type Description Example
succeeded Boolean Whether a compilation was successful.
compilationInfosNullable CompilationResult Compilation info.

Ƭ CompilationResult

Name Type Description Example
severity Severity
messageNullable string
lineNumber int32
characterNumber int32

Ƭ Severity

Enum:

  • Info
  • Warning
  • Error

Ƭ UserFunctionsBuildRequest

Request model for building UserFunctions.

Name Type Description Example
language Language
code string User functions code.