Click or drag to resize

IEmploymentAddNewEmployment Method

Adds an Employment for an User.

Namespace: Severa.API
Assembly: Severa.SOAP.API (in Severa.SOAP.API.dll) Version: 1.0.0+0805aa6f00bdf9d98f1463ed5504d3f1b9f4a60a
Syntax
Employment AddNewEmployment(
	string userGUID,
	Employment employmentInfo
)

Parameters

userGUID  String
User GUID, identifies the user to whom the employment is added.
employmentInfo  Employment
Employment object.

Mandatory data members:

  • Title.
  • StartDate.

Return Value

Employment
Employment object.
Exceptions
ExceptionCondition
AuthenticationFailureExceptionThe caller could not be authenticated.
NoPermissionExceptionAPI user does not have permission to perform the action.
ValidationExceptionInput data was not valid.
GeneralFailureExceptionAny other fault.
Remarks
User can't have overlapping employments.
See Also