Click or drag to resize

DataUpdateServiceInsertAddressWork Method

Inserts a work address.

Namespace:  (Default Namespace)
Assembly:  SeniorSystemsWS (in SeniorSystemsWS.dll) Version: 937.0.0.0 (937.0.0.33)
Syntax
public ResultAddress InsertAddressWork(
	int entityNo,
	AddressWork addr,
	string authKey
)

Parameters

entityNo
Type: SystemInt32
An entity number (the owner of the address).
addr
Type: SeniorSystemsWS.EntityAddressWork
The new work 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
ExceptionCondition
ApplicationExceptionInvalid authorization key
ApplicationExceptionInsufficient privileges
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 or constituent.
  • AddressCode must be 'Work' or 'Spouse Work'.
  • BillCode must be 'Original', 'Copy', or null
See Also