-
Web Service URL: https://[SERVER_ADDRESS]/ContractsWS/ContractsData.asmx
-
MPS Version: Starting from 5.5.0
Description
Registers a printer in the provider's equipment list. This registration is only necessary if you want to maintain a complete list of the provider's printers. Otherwise, registering printers in the contract flow automatically creates the equipment.
Syntax
public string RegisterPartnerPrinter(string properties)
Assembling properties
The content of string properties must be text in JSON format containing the properties below. For example:
{"DealerName":"dealer","DealerUserEmail":"user@example.com","DealerUserPassword":"k1BAv1w=="}
There is no need to worry about uppercase or lowercase property names, as the Web Service is Case-Insensitive.
Properties accepted by the method
|
Property |
Type |
Required |
Allows null |
Maximum size |
Allows empty |
Description |
|
DealerName |
Text |
Yes |
- |
- |
- |
Provider name |
|
DealerUserEmail |
Text |
Yes |
- |
- |
- |
Provider user email |
|
DealerUserPassword |
Text |
Yes |
- |
- |
- |
Encrypted user password |
|
SerialNumber |
Text |
Yes |
- |
- |
- |
Printer serial number |
|
BrandName |
Text |
Yes |
- |
- |
- |
Manufacturer name |
|
ModelName |
Text |
Yes |
- |
- |
- |
Printer model |
|
AssetNumber |
Text |
No |
Yes |
- |
255 |
Asset number |
Return
If successful, the return is: [{“PartnerPrinterID”:number}], where number is the identification number of the printer entered.
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 specified user must be an Administrator at the provider.