RemovePrinterFromEnterpriseAccount

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

  • MPS Version: From 5.25.0

Description

This method removes a printer from a user's account within a company.

Syntax

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

EnterpriseID

Number

Yes

-

-

-

Company ID recognized by the system. Obtained via the GetEnterprises method

EnterpriseAccountID

Number

Yes

-

-

-

User account ID in the system. Obtained via the GetEnterprisesAccounts method

PrinterDeviceID

Number

Yes

-

-

-

Printer ID in the system. Obtained via the GetPrinters method

Return Value

If successful, the return value is: [{“Removed”:true}].

Click here to learn more about return value formats.

Possible error messages

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

Restrictions

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