![]() | DataUpdateServiceUpdateAddressEmails Method |
Namespace: (Default Namespace)
public ResultAddress UpdateAddressEmails( int addressNo, AddressEmail emails, string authKey )
Exception | Condition |
---|---|
ApplicationException | Invalid authorization key |
ApplicationException | Insufficient privileges |
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