GetRegisteredPrintersNetworkAddresses

  • Web Service URL: https://[SERVER_ADDRESS]/PrintHostsWS/PrintHostsData.asmx

  • MPS Version: From 5.40.0

Description

This method returns the network addresses registered for monitoring on a specific host.

Syntaxe

public string GetRegisteredPrintersAddresses(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

PrintHostID

Number

Yes

-

-

-

Print Host ID. Obtained using the GetPrintHosts method

Return fields

Field name

Description

NetworkAddress

Network address

IsMonitored

Indicates whether there is a monitored printer with this network address

Return

Click here to learn more about the return format.

Possible return errors

Click here to view the possible errors that may be returned and learn their reasons.

Restrictions

  • To execute this method, the specified user must be an Administrator on the provider;

  • The specified print host must be operating in cloud mode.