Result

Description

The Result Entity is returned from all the web service calls. It provides a common mechanism to report the result code of the call and any return value from the call.

Entity Elements

Name Description Required

Code

Error code if an error occurred. Otherwise 0.

Type: Integer

Constraints: None

Yes

Message

Friendly message for the result code

Type: String

Constraints: None

No

Value

This will contain the return value if any for the method you have called

Type: Depends on method called

Constraints: None

No

Common Result Codes

Value Description

0

Success

19400

An unknown error occurred

19402

The credit card is invalid

19403

The credit card type is invalid

19404

Credit card expiration date is invalid

19405

Credit card failed LUHN check

19406

The account already exists

19408

The email address was to long

19409

The email address was incorrectly formatted

19410

The sessionId is invalid

19411

The name on credit card too long

19412

The credit card expiration date incorrectly formatted

19413

The credit card cvv2 code is too long

19414

The street address first part too long

19415

The street address second part too long

19416

The street address state too long

19417

The street address country too long

19418

The street address postal code too long

19419

The first name in customer account entity too long

19420

The last name in customer account entity too long

19421

The password in customer account entity too long

19422

The productId is invalid

19423

The phonenumber in customer account entity too long

19424

The UserName in customer account entity too long

19425

The accoundID in customer account entity too long