addCustomer

Adds a customer to the project. If valid information is sent, a record ID for the customer is returned. A SOAP error envelope is returned if the operation fails.

Parameters

Parameter Type Description
cookie long Session cookie returned by projectLogon.
pCustomer CUser Customer field values and properties.

Return value

Value Type
recordID long

Example

CUser usr = new CUser();

 

usr.firstname = "Firstname";

usr.middleinitials = "M";

usr.lastname = "Lastname";

 

long custID = ttsdk.addCustomer(cookie, usr);