-
Web Service URL: https://[SERVER_ADDRESS]/QuotasWS/QuotasData.asmx
-
MPS Version: Starting with 5.3.0
Description
Adding credits in value for users.
Syntax
public string AddCreditMoney(string enterpriseName, string enterpriseKey, string authDomainName, string authLogonName, string authPassword, string userDomainName, string userLogonName, string moneyValue, string billingTarget, string expiredDate)
Parameters
-
enterpriseName: Company name
-
enterpriseKey: Company key
-
authDomainName: Administrator user domain
-
authLogonName: Nome de login do usuário administrador
-
authPassword: Encrypted administrator user password
-
userDomainName: Domain of the user to be credited
-
userLogonName: Login name of the user to be credited
-
moneyValue: Value to be added to the user. The decimal separator must be a period
-
Example: 10.00
-
-
billingTarget: 0 = Default; 1 = Private; 2 = Corporate
-
expiredDate: When the credits will expire. Format: yyyy-MM-dd. Can be left blankcréditos irão expirar. Formato: yyyy-MM-dd. It is possible to leave it blank
Return fields
Click here to learn more about working with returns.
Possible errors returned by the server
Click here to check the possible errors that may be returned and learn about their reasons.