SetPrinterContract

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

  • MPS Version: From 5.3.0

Description

This method updates whether the printer is under contract with the provider.

Syntax

public string SetPrinterContract(string dealerName, string dealerUserEmail, string dealerUserPassword, int enterpriseID, int printerDeviceID, bool newContractValue)

Parameters

  • dealerName: Provider name;

  • dealerUserEmail: Provider user email;

  • dealerUserPassword: Encrypted user password;

  • enterpriseID: Identifier of the company in the MPS Portal to which the printer belongs;

  • printerDeviceID: Identifier of the printer whose contract status will be updated;

  • newContractValue: Value true to assign the printer as a contract printer or false to remove the printer from the contract.

Return

Click here to learn more about the return format.

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.