C# Workmates API
 All Classes Namespaces Functions Variables Enumerations Enumerator
static ReturnCode SetWorkmateAddress ( int  workmateId,
WorkmateAddress  workmateAddress 
)
inlinestatic

The function sets an address for the workmate defined by id.

Parameters
workmateIDthe id of the workmate, of which the address to be set
workmateAddressthe address to be set
Returns
ReturnCode enumeration

The function overwrite the address if already set, or inserts a new address if it was empty.
In order to set address the workmate with the workmateId must exist in the database.
The address structure defines the actual position of a workmate in the field. It is in the form of state, city, street or using the latitude/longitude coordinates.

Possible ReturnCodes result values:

See also
ResetWorkmateAddress CheckAddressExists