newCustomer
Some tooltip text!
• Less than 1 minute to read
• Less than 1 minute to read
Description
Creates a new empty customer.
In parameters
| Parameter | Description |
|---|---|
| sessionKey | A valid session key |
Out parameters
| Parameter | Description |
|---|---|
| errorCode | See list of codes |
| customerId | The Id of the new customer |
Example
ticket.ticketService ticketService = new ticket.ticketService();
string sessionKey;
string errorCode = ticketService.login("egon", "norges bank", out sessionKey);
if(errorCode.Equals("0"))
{
string customerId;
ticketService.newCustomer(sessionKey, out customerId);
}