wfm.AdminSaveReportConfig

This job saves (insert or update) a report configuration.

1. Input Parameters

Name Type Required Description

UserId

STRING

Yes

ID of the user performing the change

ConfigId

STRING

Yes

ID of a configuration. If this is not known to the server, a new configuration is created. If the ID already exists, the corresponding configuration is modified (only ConfigName, FamilyIds and ConfigData are changed).

ConfigName

STRING

Yes

Name of the configuration

OrganisationId

STRING

Yes

ID of the organization in which the configuration is located

ConfigType

INT

Yes

Type of the configuration:

* 0 — Statistical Processes * 1 — Process Details

ConfigData

STRING

Yes

XML description of the configuration

2. Output Parameters

Name Type Dependency Description

SaveType

INT

Indicates how it was saved:

* 0 — New insert (Insert) * 1 — Existing change (Update)

[CreationTime]

INT

Optional

Time of creation (only when SaveType = 0)

[CreatorId]

STRING

Optional

ID of the user who performed the change (only when SaveType = 0)

3. Return Value

(INT): 0 = Job successful, otherwise error code.