Click or drag to resize

ServiceRouter Class

NOTICE: V1 endpoints are being deprecated! Please use V2 endpoints when possible. If using a V1 endpoint please start the upgrade process on all **Obsolete** labeled methods.

The main 1.0 service entry point where all web service references are served. Every active and available services that is available via the API can be seen here.

Caution note  Caution
Methods labeled **OBSOLETE** will be **SUNSET** very soon. Please update calls to the newer version as soon as possible. For additional details see the sunset overview section.
Inheritance Hierarchy
SystemObject
  AppOne.Web.Service.Services.V1R0ServiceRouter

Namespace: AppOne.Web.Service.Services.V1R0
Assembly: AppOne.Web.Service (in AppOne.Web.Service.dll) Version: 1.0.141
Syntax
public class ServiceRouter

The ServiceRouter type exposes the following members.

Methods
 NameDescription
Public methodLaborLevelDetailAddObsolete.
**OBSOLETE** See V2 AddLaborLevelDetail(AddLaborLevelDetailIn)
Public methodLaborLevelDetailGetAllObsolete.
**OBSOLETE** See V2 GetLaborLevelDetail(GetLaborLevelDetailIn)
Public methodCode exampleLaborLevelDetailHierarchyAdd Add a new LaborLevelDetailHierarchyAddModel to the hierarchy tree and returns true upon success.
Public methodLaborLevelDetailHierarchyDelete Deletes a LaborLevelDetailHierarchyDeleteModel from the hierarchy tree and returns true upon success.
Public methodLaborLevelDetailHierarchyGetAll Gets all labor level details as a List<LaborLevelDetailHierarchyModel> collection
Public methodCode exampleLaborLevelDetailHierarchyGetByID Gets a single LaborLevelDetailHierarchyModel by its ID
Public methodLaborLevelDetailUpdate**OBSOLETE** Updates the passed LaborLevelDetailModel object
Public methodLaborLevelGetAllObsolete.
**OBSOLETE** See V2 GetLaborLevel(GetLaborLevelIn)
Public methodSSOEnabled Determines if single sign-on is enable for the specific customer alias (CustomerAlias)
Public methodSSOLinkByEmpIdentifierObsolete.
**OBSOLETE** See V2 GetSSOLink(GetSSOLinkIn)
Public methodSSOLinkByEmpIdentifierQueryObsolete.
**OBSOLETE** See V2 GetSSOLink(GetSSOLinkIn)
Public methodSSOLinkByLoginObsolete.
**SUNSET** See V2 GetSSOLink(GetSSOLinkIn)
Public methodSSOLinkByLoginIDObsolete.
**SUNSET** See V2 GetSSOLink(GetSSOLinkIn)
Public methodTimeAddPunchByBadgeID Adds a TimeSlicePreModel by BadgeID and returns the punch time result as a TimeAddPunchParamsOut
Public methodTimeAddPunchByEmpIdentifier Adds a TimeSlicePreModel by EmpIdentifier and returns the punch time result as a TimeAddPunchParamsOut
Public methodTimeAddPunchValidationByEmpIdentifier Adds a TimeAddPunchValidationParamIn validated by payroll policy rules and returns the result as a TimeAddPunchValidationParamOut
Public methodCode exampleTimeExport Gets time slice export information as a List<TimeExportParamOut> collection
Public methodTimeGetLastPunchByEmpIdentifier Gets the last time punch by EmpIdentifier and returns a TimeGetLastPunchByEmpIdentifierParamOut object
Public methodTimeGetPunchesByEmpIdentifier Gets all time punches by employee identifier as a List<TimeGetPunchesParamsOut> collection
Public methodTimeOffGetBalanceObsolete.
**OBSOLETE** See V2 GetUserTimeOffBalance(GetUserTimeOffBalanceIn)
Public methodTimeOffGetRequestObsolete.
**SUNSET** See V2 GetUserTimeOffRequest(GetUserTimeOffRequestIn)
Public methodTokenCreateObsolete.
**OBSOLETE** See V2 CreateToken(CreateTokenIn)
Public methodTokenRenewObsolete.
**SUNSET** See V2 GetToken(GetTokenIn)
Public methodTokenRenewSunsetObsolete.
**SUNSET** See V2 GetToken(GetTokenIn)
Public methodUserInfoAdd Adds a new UserInfoModel and returns UserInfoAddParamsOut
Public methodUserInfoDeleteByEmpIDObsolete.
**OBSOLETE** See V2 DeleteUser(DeleteUserIn)
Public methodUserInfoGetAllObsolete.
**OBSOLETE** See V2 GetUserDetail(GetUserDetailIn)
Public methodUserInfoGetByEmpIDObsolete.
**OBSOLETE** See V2 GetUserDetail(GetUserDetailIn)
Public methodUserInfoGetByEmpIdentifierObsolete.
**OBSOLETE** See V2 GetUserDetail(GetUserDetailIn)
Public methodCode exampleUserInfoGetPolicyDuration Returns a UserInfoGetPolicyDurationOut response with a result model List<UserInfoGetPolicyDurationModel>
Public methodUserInfoInsert Inserts a single UserInfoModel object
Public methodUserInfoInsertBatch Adds or updates a List<UserInfoAddParamsOut> collection of users
Public methodUserInfoUpdateByEmpIdentifier Updates the passed UserInfoModel object
Top
Remarks
Note  Note
Since all request come through the Service Router it is basically an index or table of contents for every available method.
This page is worth bookmarking if you plan to spend a good amount of time interacting with the time web API
See Also