Updates an existing license record if one exists or it will add a new license record if a matching record does not exist
Namespace:
QFEM_WebServicesAssembly: QFEM_WebServices (in QFEM_WebServices.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
C# |
---|
public QuikResultWS UpdateLicense( string FirstName, string MiddleName, string LastName, string Email, string Phone, string CustomerUserID, int LicenseStatusID, DateTime LicenseExpiry ) |
Visual Basic (Declaration) |
---|
Public Function UpdateLicense ( _ FirstName As String, _ MiddleName As String, _ LastName As String, _ Email As String, _ Phone As String, _ CustomerUserID As String, _ LicenseStatusID As Integer, _ LicenseExpiry As DateTime _ ) As QuikResultWS |
Visual C++ |
---|
public: QuikResultWS^ UpdateLicense( String^ FirstName, String^ MiddleName, String^ LastName, String^ Email, String^ Phone, String^ CustomerUserID, int LicenseStatusID, DateTime LicenseExpiry ) |
Parameters
- FirstName
- Type: System..::.String
Licensee first name
- MiddleName
- Type: System..::.String
Licensee middle name
- LastName
- Type: System..::.String
Licensee last name
- Type: System..::.String
Licensee email address
- Phone
- Type: System..::.String
Licensee phone number
- CustomerUserID
- Type: System..::.String
Customer’s unique ID for licensee
- LicenseStatusID
- Type: System..::.Int32
1 = Active 2 = Inactive 3 = DELETE (to flag user to be removed)
- LicenseExpiry
- Type: System..::.DateTime
The date a license expires, as set by the Customer
Return Value
A QuikResultWS object with the following information:- ErrorFlag
- ErrorCode
- Message
Remarks
Record matching is performed against the CustomerID and CustomerUserID values (CustomerUserID must be a unique value for each licensee).