-
Web Service URL: https://[SERVER_ADDRESS]/GeneralWS/GeneralData.asmx
-
MPS Version: From 5.3.0
Description
This method returns a list of departments that are registered on the site specified in the call.
Syntax
public string GetSiteDivisions(string dealerName, string dealerUserEmail, string dealerUserPassword, int enterpriseID, int siteID)
Parameters
-
dealerName: Provider name;
-
dealerUserEmail: Provider user email;
-
dealerUserPassword: Encrypted user password;
-
enterpriseID: Company ID on the MPS Portal;
-
siteID: ID of the company site from which you want to search for departments.
Return fields
|
Field name |
Description |
|
SiteDivisionID |
Department identification in the system |
|
SiteDivisionName |
Department name |
Click here to learn more about the format of the 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.