GetWarningInfo - MPS

  • Web Service URL: https://[SERVER_ADDRESS]/GeneralWS/GeneralData2.asmx

  • MPS Version: From 5.5.0

Description

This method returns information about the specified alert.

Syntax

public string GetWarningInfo(string properties)

Setting Properties

The content of string properties must be text in JSON format containing the properties listed below. For example:

{"DealerName":"dealer","DealerUserEmail":"user@example.com","DealerUserPassword":"k1BAv1w=="}

You don't need to worry about whether property names are uppercase or lowercase; the Web Service is Case-Insensitive.

Properties accepted by the method

Property

Type

Required

Allows null

Allows empty

Maximum size

Description

DealerName

Text

Yes

-

-

-

Provider name

DealerUserEmail

Text

Yes

-

-

-

Provider user email

DealerUserPassword

Text

Yes

-

-

-

Encrypted user password

WarningID

Number

Yes

-

-

-

The identifier number of the alert for which you want to retrieve details. Obtained using the GetPrintersEvents or GetSystemEvents method

CultureName

Text

Yes

-

-

-

The language in which you want the web service to return the name and description of the alert

Return fields

Field name

Description

WarningID

ID of the requested alert.

WarningName

Name of the alert in the language specified in the CultureName parameter

WarningDescription

Description of the alert in the language specified in the CultureName parameter

Click here to learn more about the error formats.

Possible errors returned

Click here to see the possible errors that may be returned and learn the reasons behind them.