Click or drag to resize

DataUpdateServiceUpdateAddressEmails Method

Updates the email addresses for an address.

Namespace:  (Default Namespace)
Assembly:  SeniorSystemsWS (in SeniorSystemsWS.dll) Version: 937.0.0.0 (937.0.0.33)
Syntax
public ResultAddress UpdateAddressEmails(
	int addressNo,
	AddressEmail emails,
	string authKey
)

Parameters

addressNo
Type: SystemInt32
An address number.
emails
Type: SeniorSystemsWS.EntityAddressEmail
The new email block.
authKey
Type: SystemString
Authentication Key obtained from the loginExt method in UserManagementService for a current administrator connection.

Return Value

Type: ResultAddress
A ResultAddress object.
Exceptions
ExceptionCondition
ApplicationExceptionInvalid authorization key
ApplicationExceptionInsufficient privileges
Remarks
The addressNo parameter is an existing address number or a pending (unapproved) address number.

Success or failure is obtained by checking ResultAddress.Status. Additional error information is contained in ResultAddress.ErrorType.

If the address number provided in addressNo is for an address record, a new pending address record will be created. If the address number provided matches an exising pending record, the pending record will be updated.

The properties in emails will overwrite the existing values.

The authorization key provided must be linked to an administrator role.

AddressEmail.Email1 is the email address of the Name1 (if a parent) or primary constituent. AddressEmail.Email2 is the email address of the Name2 (if a parent) or spouse constituent. Name1 and Name2 values for parents are found in Person.ParentNameGroup

See Also