SendCustomerInfo

  Previous topic Next topic JavaScript is required for the print function Mail us feedback on this topic! Mail us feedback on this topic!  

 

This command sends a complete address to the Activation Server. 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 EntryKey. If you use EasyGo, the EntryKey must be the Serial Number. See: How can I retrieve the Serial Number.

 

If you use your own activation scenario, the Entry Key must be the same like used with WebRegister.

 

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

EntryKey

String

ID12345

The entry ID that was used for the WebRegister call. It is needed to connect the WebRegister call with the data of the customer

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

Does the customer wish to get newsletter 1

Newsletter2

Boolean

False

Does the customer wish to get newsletter 2

Newsletter3

Boolean

True

Does the customer wish to get newsletter 3

Newsletter4

Boolean

False

Does the customer wish to get newsletter 4

Customer1

String

OD-7653

Special info 1 for the customer e.g. link to an entry in en ERP system or an Order or Invoice number

Customer2

String

 

Special info 2 for the customer

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

 

Page url: http://www.helpserver.biz/onlinehelp/lp/easygo/2.7/help2000/index.html?fr_sendcustomerinfo.htm