-
Web Service URL: https://[SERVER_ADDRESS]/GeneralWS/GeneralData2.asmx
-
MPS Version: Starting with 5.34.0
Description
This method returns a list of users registered with the provider.
Syntax
public string GetDealerAccounts(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 |
|
UserEmail |
Text |
No |
- |
- |
- |
User email. This only needs to be provided if you want to filter by user email |
|
FieldsList |
Text |
No |
Yes |
Yes |
- |
List of fields that will be returned by the method. They must be specified by separating them with a ‘;’ character. Example: “AccountID;email;FullName”. When no fields are specified, the response will contain the fields shown in bold in the table below |
Return fields recognized in FieldsList
|
Field name |
Description |
|
AccountID |
User account ID in the system |
|
|
User access email |
|
FullName |
User's full name |
|
CellPhone |
User's mobile phone number |
|
Phone |
User's phone number |
|
Language |
User's language |
|
ExportLanguage |
User's export language |
Return
Click here to learn more about the return format.
Possible return errors
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.