AUTHENTICATION_KEY, GLOBAL_ERROR_CASES| Constructor and Description |
|---|
DefaultTeamApi(io.apimatic.core.GlobalConfiguration globalConfig)
Initializes the controller.
|
getClientInstance, getGlobalConfiguration, getHttpCallbackpublic DefaultTeamApi(io.apimatic.core.GlobalConfiguration globalConfig)
globalConfig - Configurations added in client.public CreateTeamMemberResponse createTeamMember(CreateTeamMemberRequest body) throws ApiException, IOException
createTeamMember in interface TeamApibody - Required parameter: An object containing the fields to POST for the request.
See the corresponding object definition for field details.ApiException - Represents error response from the server.IOException - Signals that an I/O exception of some sort has occurred.public CompletableFuture<CreateTeamMemberResponse> createTeamMemberAsync(CreateTeamMemberRequest body)
createTeamMemberAsync in interface TeamApibody - Required parameter: An object containing the fields to POST for the request.
See the corresponding object definition for field details.public BulkCreateTeamMembersResponse bulkCreateTeamMembers(BulkCreateTeamMembersRequest body) throws ApiException, IOException
bulkCreateTeamMembers in interface TeamApibody - Required parameter: An object containing the fields to POST for the request.
See the corresponding object definition for field details.ApiException - Represents error response from the server.IOException - Signals that an I/O exception of some sort has occurred.public CompletableFuture<BulkCreateTeamMembersResponse> bulkCreateTeamMembersAsync(BulkCreateTeamMembersRequest body)
bulkCreateTeamMembersAsync in interface TeamApibody - Required parameter: An object containing the fields to POST for the request.
See the corresponding object definition for field details.public BulkUpdateTeamMembersResponse bulkUpdateTeamMembers(BulkUpdateTeamMembersRequest body) throws ApiException, IOException
bulkUpdateTeamMembers in interface TeamApibody - Required parameter: An object containing the fields to POST for the request.
See the corresponding object definition for field details.ApiException - Represents error response from the server.IOException - Signals that an I/O exception of some sort has occurred.public CompletableFuture<BulkUpdateTeamMembersResponse> bulkUpdateTeamMembersAsync(BulkUpdateTeamMembersRequest body)
bulkUpdateTeamMembersAsync in interface TeamApibody - Required parameter: An object containing the fields to POST for the request.
See the corresponding object definition for field details.public SearchTeamMembersResponse searchTeamMembers(SearchTeamMembersRequest body) throws ApiException, IOException
searchTeamMembers in interface TeamApibody - Required parameter: An object containing the fields to POST for the request.
See the corresponding object definition for field details.ApiException - Represents error response from the server.IOException - Signals that an I/O exception of some sort has occurred.public CompletableFuture<SearchTeamMembersResponse> searchTeamMembersAsync(SearchTeamMembersRequest body)
searchTeamMembersAsync in interface TeamApibody - Required parameter: An object containing the fields to POST for the request.
See the corresponding object definition for field details.public RetrieveTeamMemberResponse retrieveTeamMember(String teamMemberId) throws ApiException, IOException
retrieveTeamMember in interface TeamApiteamMemberId - Required parameter: The ID of the team member to retrieve.ApiException - Represents error response from the server.IOException - Signals that an I/O exception of some sort has occurred.public CompletableFuture<RetrieveTeamMemberResponse> retrieveTeamMemberAsync(String teamMemberId)
retrieveTeamMemberAsync in interface TeamApiteamMemberId - Required parameter: The ID of the team member to retrieve.public UpdateTeamMemberResponse updateTeamMember(String teamMemberId, UpdateTeamMemberRequest body) throws ApiException, IOException
updateTeamMember in interface TeamApiteamMemberId - Required parameter: The ID of the team member to update.body - Required parameter: An object containing the fields to POST for the request.
See the corresponding object definition for field details.ApiException - Represents error response from the server.IOException - Signals that an I/O exception of some sort has occurred.public CompletableFuture<UpdateTeamMemberResponse> updateTeamMemberAsync(String teamMemberId, UpdateTeamMemberRequest body)
updateTeamMemberAsync in interface TeamApiteamMemberId - Required parameter: The ID of the team member to update.body - Required parameter: An object containing the fields to POST for the request.
See the corresponding object definition for field details.public RetrieveWageSettingResponse retrieveWageSetting(String teamMemberId) throws ApiException, IOException
retrieveWageSetting in interface TeamApiteamMemberId - Required parameter: The ID of the team member for which to retrieve the
wage setting.ApiException - Represents error response from the server.IOException - Signals that an I/O exception of some sort has occurred.public CompletableFuture<RetrieveWageSettingResponse> retrieveWageSettingAsync(String teamMemberId)
retrieveWageSettingAsync in interface TeamApiteamMemberId - Required parameter: The ID of the team member for which to retrieve the
wage setting.public UpdateWageSettingResponse updateWageSetting(String teamMemberId, UpdateWageSettingRequest body) throws ApiException, IOException
updateWageSetting in interface TeamApiteamMemberId - Required parameter: The ID of the team member for which to update the
`WageSetting` object.body - Required parameter: An object containing the fields to POST for the request.
See the corresponding object definition for field details.ApiException - Represents error response from the server.IOException - Signals that an I/O exception of some sort has occurred.public CompletableFuture<UpdateWageSettingResponse> updateWageSettingAsync(String teamMemberId, UpdateWageSettingRequest body)
updateWageSettingAsync in interface TeamApiteamMemberId - Required parameter: The ID of the team member for which to update the
`WageSetting` object.body - Required parameter: An object containing the fields to POST for the request.
See the corresponding object definition for field details.Copyright © 2023. All rights reserved.