info@selectline.de | +49 391 5555-080 | SelectLine - suits every company
/Macros
Description

Execute a Wawi macro of the type 'query'. The file name of the macro is required for execution, as well as the values for existing parameters within the macro. The macro can be defined as 'executed' or 'printed' in the settings. There is no return of a query result.

  • Uses backend process

Request

URI Parameters

None.


Body Parameters

Model: WawiMacroTask
MacroName
string
Name of the Wawi macro (file name, e.g. "SQL 1234", not the name)

Parameters
Collection of WawiMacroTaskParameter
Parameters of the Wawi macro
Request Formats
application/json
Example:
    {
  "MacroName": "sample string 1",
  "Parameters": [
    {
      "Name": "sample string 1",
      "Value": "sample string 2"
    },
    {
      "Name": "sample string 1",
      "Value": "sample string 2"
    }
  ]
}

Response

Resource Description

Model: MacroResponse
IsSuccessful
boolean

AffectedRows
integer

Response Formats
application/json
Example:
    {
  "IsSuccessful": true,
  "AffectedRows": 2
}