-
Web Service URL: https://[SERVER_ADDRESS]/GeneralWS/GeneralData.asmx
-
MPS Version: From 5.3.0
Description
This method can be used to register printers in the system, within the company's contract flow. If the printer already exists and has been removed, it is reinserted¹ and ensured that it is part of a contract flow. In such cases, if there is only one contract in the company, the printer will be automatically inserted into the contract.
¹ The removed printer is only reinserted starting with version 5.11.0.
Syntax
public void InsertNewPrinter(string dealerName, string dealerUserEmail, string dealerUserPassword, int enterpriseID, string printerDeviceName, string serialNumber, string brandName, string modelName)
Parameters
-
dealerName: Provider name;
-
dealerUserEmail: Provider user email;
-
dealerUserPassword: Encrypted user password;
-
enterpriseID: Company identifier;
-
printerDeviceName: Printer name;
-
serialNumber: Serial number;
-
brandName: Manufacturer name;
-
modelName: Model name.
Return
If successful, the return is: [{“PrinterDeviceID”:number}], where number is the identifier number of the inserted printer.
Click here to learn more about the format of returns.
Possible errors returned
Click here to check the possible errors that may be returned and learn about their reasons.
Restrictions
-
To execute this method, the user must be an Administrator with the provider.