This command sends a complete address to the Activation Server 4. The address information is independent of an activation - this allows to send the address information e.g. for a demo version.

 

If you want to link the address to an activation, use the field ID. If you use EasyGo, the ID must be the Serial Number. See: How can I retrieve the Serial Number.

 

If you use your own activation scenario, the ID must be the same like used with WebRegisterExt.

 

Name

SendCustomerinfo                                                                                

Purpose

Sends the customers info to the Web Activation server without showing the activation screen.

Params

Parameter

Type

Example

Note

Projectname

String

Demo Project

projectname, if empty the internal projectname of the license file is used – identifies the project on the Web Activation Server

ID / Serial Number

String

ID12345

Serial Number / ID to connect the address data to a key, product activation or license file

CompanyName

String

Blue River Inc.

The customer’s company

FirstName

String

Tom

The first name of the customer

LastName

String

Sullivan

The last name of the customer

Salutation

String

Mr.

The salutation of the customer

AcademicTitle

String

 

The academic title of the customer

JobTitle

String

CEO

The job title of the customer

StreetAddress1

String

852 Dewes Lane

The first part of the customer’s address

StreetAddress2

String

 

The second part of the customer’s address (if needed)

ZIP

String

11230

The zip code of the customer’s address

City

String

Brooklyn

The city of the customer’s address

State

String

NY

The state of the customer’s address

Country

String

United States

The country of the customer’s address

Phone1

String

646.296.1572

The customer’s main phone

Phone2

String

 

The customer’s alternative phone

Email

String

tom@blueriver-inc.com

The customer’s eMail address

Language

String

English

The customer’s language

WebAddress

String

http://www.blueriver-inc.com

The customer’s web address

Newsletter1

Boolean

True

Subscribe to newsletter 1

Newsletter2

Boolean

False

Subscribe to newsletter 2

Newsletter3

Boolean

True

Subscribe to newsletter 3

Newsletter4

Boolean

False

Subscribe to newsletter 4

Customer1

String

OD-7653

Custom field 1 e.g. to link the address to an ERP system

Customer2

String

 

Custom field 2

ShowConnection Mask

Integer

0

0 = do not show the connection screen

1 = show the connection screen

2 = use the ShowWA…Page values

Returncode

Returncode

Type Integer

Note

0

The customer’s data has been successfully sent

Other return codes

Operation failed, see list of return codes

Usage

Set the Run Number in the license file and allows all installations that use this license file to be locally reset during the defined amount of days. Can be used to allow a reinstallation.

Sample

 

  iRes := lic.SendCustomerinfo(‘’, ‘invoice10321’, ‘Blue River Inc.’, ‘Tom’, ‘Sullivan’, ‘Mr.’, ‘’, ‘CEO’, ‘852 Dewes Lane’, ‘’, ‘11230’, ‘Brooklyn’, ‘NY’, ‘United States’, ‘646.296.1572’, ‘’ , ‘tom@bluriver-inc.com’, ‘English’, ‘http://www.blueriver-inc.com’, true, false, true, false, ‘special’, ‘’, 0);

  if iRes <> 0 then

  begin

    << an error occurred >>

     ...

  end

  else

  begin

    << data successfully sent >>

     ...

See also

Web Activation, WebServiceURL, ShowWAStartPage, ShowWAProgressPage, ShowWAResultPage, UseLocalProxy, UseLocalIEProxy, LocalProxyServer, LocalProxyPort, Projectname, GetWebActivation