![]() | DataUpdateServiceUpdateAddressMailingBlock Method |
Namespace: (Default Namespace)
public ResultAddress UpdateAddressMailingBlock( int addressNo, AddressMailingBlock addr, 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 addr will overwrite the existing values.
The authorization key provided must be linked to an administrator role.
ResultAddress r = UpdateAddressMailingBlock( addressNo, addr, authKey ); if (r.Status == ResultStatusOKError.StatusError) return;