 | DataUpdateServiceInsertAddressAdditionalContact Method |
Inserts an additional contact address.
Namespace:
(Default Namespace)
Assembly:
SeniorSystemsWS (in SeniorSystemsWS.dll) Version: 937.0.0.0 (937.0.0.33)
Syntaxpublic ResultAddress InsertAddressAdditionalContact(
int entityNo,
AddressInsertAdditionalContact addr,
string authKey
)
Public Function InsertAddressAdditionalContact (
entityNo As Integer,
addr As AddressInsertAdditionalContact,
authKey As String
) As ResultAddress
public:
ResultAddress^ InsertAddressAdditionalContact(
int entityNo,
AddressInsertAdditionalContact^ addr,
String^ authKey
)
public function InsertAddressAdditionalContact(
entityNo : int,
addr : AddressInsertAdditionalContact,
authKey : String
) : ResultAddress
function InsertAddressAdditionalContact(entityNo, addr, authKey);
Parameters
- entityNo
- Type: SystemInt32
An entity number (the owner of the address). - addr
- Type: SeniorSystemsWS.EntityAddressInsertAdditionalContact
The new additional contact address - 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
Success or failure is obtained by checking
ResultAddress.Status.
Additional error information is contained in
ResultAddress.ErrorType.
If successful, the pending address record number can be found in NewAddressNo
The authorization key provided must be linked to an administrator role.
The following are items of note:
- The value in entityNo must reference a parent.
- AddressCode must be 'Other'.
- BillCode must be 'Original', 'Copy', or null
See Also