AccountCreateAccount Method
This method enables you to create a new Account item in CampusNexus CRM.

Namespace:  AccountService
 

Syntax
C#
public long CreateAccount(
	string accountName,
	PropertyInfo[] propData,
	out long accountID,
	out string error
)

Parameters

accountName
Type: SystemString
[in] The name of the Account you want to create in CampusNexus CRM.
propData
Type: Talisma.Server.CommonPropertyInfo
[in] This is an array of the PropertyInfo[] structure that contains the details of Property values you want to set for the newly created Account, in a Property Tab associated with the Account.
accountID
Type: SystemInt64
[out] A unique ID assigned to a new Account created in CampusNexus CRM.
error
Type: SystemString
[out] The error messages returned when the Account creation fails.

Return Value

Type: Int64
The CreateAccount method returns 0 if the operation is successful and a negative value if the operation fails.
See Also