 | DataUpdateServiceUpdateAddressOtherPhoneBlock Method |
Updates the other phone number block for an address.
Namespace:
(Default Namespace)
Assembly:
SeniorSystemsWS (in SeniorSystemsWS.dll) Version: 937.0.0.0 (937.0.0.33)
Syntaxpublic ResultAddress UpdateAddressOtherPhoneBlock(
int addressNo,
AddressOtherPhoneBlock phone,
string authKey
)
Public Function UpdateAddressOtherPhoneBlock (
addressNo As Integer,
phone As AddressOtherPhoneBlock,
authKey As String
) As ResultAddress
public:
ResultAddress^ UpdateAddressOtherPhoneBlock(
int addressNo,
AddressOtherPhoneBlock^ phone,
String^ authKey
)
public function UpdateAddressOtherPhoneBlock(
addressNo : int,
phone : AddressOtherPhoneBlock,
authKey : String
) : ResultAddress
function UpdateAddressOtherPhoneBlock(addressNo, phone, authKey);
Parameters
- addressNo
- Type: SystemInt32
An address number. - phone
- Type: SeniorSystemsWS.EntityAddressOtherPhoneBlock
The new other phone number 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
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 phone will overwrite the existing values.
The authorization key provided must be linked to an administrator role.
See Also