-
Web Service URL: https://[SERVER_ADDRESS]/GeneralWS/GeneralData2.asmx
-
MPS Version: From 5.25.0
Description
This method returns all user accounts responsible for the printers registered for a company.
Syntax
public string GetEnterprisesAccounts(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 |
Número |
Yes |
- |
- |
- |
Company identification number recognized by the system. Obtained via the GetEnterprises method |
Return fields
|
Field name |
Description |
|
EnterpriseID |
Company ID in the system |
|
EnterpriseName |
Company name |
|
EnterpriseAccountID |
User account ID in the system |
|
|
User's access email |
|
FullName |
User's full name |
|
CellPhone |
User's mobile phone number |
|
Phone |
User's landline number |
|
Language |
User's language |
|
TimeZoneID |
User's time zone ID in the system |
|
LocalAuthentication |
Indicates whether authentication is local |
|
IsResponsibleForAllPrinters |
Indicates whether the user is responsible for all company printers |
Click here to learn more about the response format.
Possible errors returned
Click here to see the possible errors 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.