Account

Description

The Account aggregate is used to represent the details for an account in the OneGreatFamily system.

Aggregate Elements

Name Description Required

FirstName

First name of the customer for the account

Type: String

Constraints: Must be less than 20 characters

Yes

LastName

Last name of the customer for the account

Type: String

Constraints: Must be less than 30 characters

Yes

EmailAddress

Email address of the customer for the account

Type: String

Constraints: Must be less than 100 characters and of the format user@host.domain

Yes

Password

Password of the customer for the account

Type: String

Constraints: Must be less than 20 characters

Yes

ProductId

Product Id associated with this account (must get a valid product ID from a OneGreatFamily representative)

Type: String

Constraints: Must be a valid product ID from a OneGreatFamily representative.
Please contact: devws@onegreatfamily.com for more information.

Yes

PhoneNumber

Phone number of the customer for the account

Type: String

Constraints: Must be less than 25 characters not including dashes or spaces.

No

UserName

The username on the account

Type: String

Constraints: Depricated, Only used on an ReadAccount or UpdateAccount of an existing account. Not used on CreateAccount

No

AccountId

The account identifier

Type: String

Constraints: Must be a valid account identifier. Must be less than 20 characters.

No

Address

Address associated with the  account

Type: Address

Constraints: None

No
CreditCard

Phone number of the customer for the account

Type: CreditCard

Constraints: Only used on CreateAccount and UpdateAccount. CreditCard information is not returned on an ReadAccount.

No