IBenefitApiGetBenefits Method |
Gets employee's benefits by category.
When categoryId is 0 all benefits will be retrieved.
Namespace: AMG.APIAssembly: AMG.API (in AMG.API.dll) Version: 2.0.0.0 (2.0.0.0)
Syntax EmployeeBenefits[] GetBenefits(
int employeeId,
int categoryId
)
Function GetBenefits (
employeeId As Integer,
categoryId As Integer
) As EmployeeBenefits()
array<EmployeeBenefits^>^ GetBenefits(
int employeeId,
int categoryId
)
abstract GetBenefits :
employeeId : int *
categoryId : int -> EmployeeBenefits[]
Parameters
- employeeId
- Type: SystemInt32
The ID of employee. - categoryId
- Type: SystemInt32
The ID of category.
Return Value
Type:
EmployeeBenefitsReturns array of
EmployeeBenefits.
See Also