public interface WFMScheduleTradeService750Soap
extends java.rmi.Remote
| Modifier and Type | Method and Description |
|---|---|
SchTradeResponseStatus |
acceptTradeProposal(int siteID,
int agentID,
int proposalID,
java.lang.String comments)
Acceptance of the proposal creates a response record, which goes back to the proposing agent for a final handshake.
|
SchTradeProposalStatus |
acceptTradeResponse(int siteID,
int agentID,
int proposalID,
int responseID,
java.lang.String comments)
A response to the proposal should be accepted by the proposing agent in order to schedule the trade to be submitted for approval.
|
void |
acknowledgeNotification(int siteID,
long timestamp)
Acknowledges to the server that the notification was received and processed.
|
SchTradeStatus |
approveTrade(int siteID,
int tradeID,
java.lang.String comments)
A supervisor may approve a pending trade.
|
SchTradeProposalStatus |
cancelTradeProposal(int siteID,
int agentID,
int proposalID,
java.lang.String comments)
A proposal can be canceled by the proposing agent at any time while it is in an "Open" or "In Review" status.
|
SchTradeResponseStatus |
cancelTradeResponse(int siteID,
int agentID,
int responseID,
java.lang.String comments)
A response to a proposal can be canceled by the responding agent at any time while the proposal is in "Accept" or "In Review" status.
|
SchValidationHolder |
checkTrade(int siteID,
int tradeID)
Checks weather the trade would violate any "soft" or "hard" constraints.
|
SchTradeProposalStatus |
declinePersonalTradeProposal(int siteID,
int agentID,
int proposalID,
java.lang.String comments)
The responding agent may opt to decline a personal trade proposal.
|
SchTradeStatus |
declineTrade(int siteID,
int tradeID,
java.lang.String comments)
A supervisor may decline the trade.
|
SchTradeResponseStatus |
declineTradeResponse(int siteID,
int agentID,
int responseID,
java.lang.String comments)
A proposing agent can opt to decline a response from the community to a community proposal, as well as the response from an agent responding to a personal proposal, if a two-way handshake was requested.
|
SchTradeHolder |
fetchTradeFromSnapshot(java.lang.String snapshotID,
int firstIndex,
int lastIndex,
int schStateLayout,
boolean schProvideStateInfo,
boolean cfgProvideAgentInfo,
boolean cfgProvideTeamInfo,
boolean cfgProvideContractInfo)
Retrieves a specified range of trades from the snapshot.
|
SchTradeProposalHolder |
fetchTradeProposalFromSnapshot(java.lang.String snapshotID,
int firstIndex,
int lastIndex,
int schStateLayout,
boolean schProvideStateInfo,
boolean cfgProvideAgentInfo,
boolean cfgProvideTeamInfo,
boolean cfgProvideContractInfo)
Retrieves a specified range of trade proposals from the snapshot.
|
SchTradeResponseHolder |
fetchTradeResponseFromSnapshot(java.lang.String snapshotID,
int firstIndex,
int lastIndex,
int schStateLayout,
boolean schProvideStateInfo,
boolean cfgProvideAgentInfo,
boolean cfgProvideTeamInfo,
boolean cfgProvideContractInfo)
Retrieves a specified range of trade responses from the snapshot.
|
SchTradeHolder |
getTrade(int siteID,
double startDate,
double endDate,
int[] teamIDArray,
int[] agentIDArray,
int[] statusFilter,
int tradeSortMode,
int agentSortMode,
boolean sortAscending,
int schStateLayout,
boolean schProvideStateInfo,
boolean cfgProvideAgentInfo,
boolean cfgProvideTeamInfo,
boolean cfgProvideContractInfo)
List trades by applying specified filters and sort order.
|
SchTradeHolder |
getTradeByID(int siteID,
int[] tradeIDArray,
int schStateLayout,
boolean schProvideStateInfo,
boolean cfgProvideAgentInfo,
boolean cfgProvideTeamInfo,
boolean cfgProvideContractInfo)
Loads the specific trade for the specified Trade ID.
|
SchCandidate |
getTradeCandidates(int siteID,
int agentID,
double[] days,
int[] teamIDFilter)
Retrieves the list of agents for whom the agent trade is possible
|
SchTradeProposalHolder |
getTradeProposal(int siteID,
int agentID,
int origin,
double startDate,
double endDate,
int[] teamFilter,
int[] typeFilter,
int[] statusFilter,
int proposalSortMode,
int agentSortMode,
boolean sortAscending,
int schStateLayout,
boolean schProvideStateInfo,
boolean cfgProvideAgentInfo,
boolean cfgProvideTeamInfo,
boolean cfgProvideContractInfo)
List the trade proposals for the specified agent by applying the specified filters and a sort order.
|
SchTradeProposalHolder |
getTradeProposalByID(int siteID,
int[] proposalIDArray,
int schStateLayout,
boolean schProvideStateInfo,
boolean cfgProvideAgentInfo,
boolean cfgProvideTeamInfo,
boolean cfgProvideContractInfo)
Loads the specific trade proposal(s) for the specified Proposal ID.
|
SchTradeResponseHolder |
getTradeResponse(int siteID,
int agentID,
int origin,
double startDate,
double endDate,
int[] statusFilter,
int responseSortMode,
int agentSortMode,
boolean sortAscending,
int schStateLayout,
boolean schProvideStateInfo,
boolean cfgProvideAgentInfo,
boolean cfgProvideTeamInfo,
boolean cfgProvideContractInfo)
List trade responses for the specified agent by applying the specified filters and sort order.
|
SchTradeResponseHolder |
getTradeResponseByID(int siteID,
int[] responseIDArray,
int schStateLayout,
boolean schProvideStateInfo,
boolean cfgProvideAgentInfo,
boolean cfgProvideTeamInfo,
boolean cfgProvideContractInfo)
Loads specific trade response(s) for the specified Response ID.
|
SchTradeUnansweredHolder |
getUnanswered(int siteID,
int agentID,
double startDate,
double endDate)
Retrieves agent proposals with no responses
|
SchTradeProposalSnapshot |
openTradeProposalSnapshot(int siteID,
int agentID,
int origin,
double startDate,
double endDate,
int[] teamFilter,
int[] typeFilter,
int[] statusFilter,
int proposalSortMode,
int agentSortMode,
boolean sortAscending)
Creates a snapshot list of proposals on the server side that can be accessed later in small portions.
|
SchTradeResponseSnapshot |
openTradeResponseSnapshot(int siteID,
int agentID,
int origin,
double startDate,
double endDate,
int[] statusFilter,
int responseSortMode,
int agentSortMode,
boolean sortAscending)
Creates a snapshot of the list of responses on the server side that can be accessed later in small portions.
|
SchTradeSnapshot |
openTradeSnapshot(int siteID,
double startDate,
double endDate,
int[] teamIDArray,
int[] agentIDArray,
int[] statusFilter,
int tradeSortMode,
int agentSortMode,
boolean sortAscending)
Creates a snapshot of the list of trades on the server side that can be accessed later in small portions.
|
SchTradeNotification |
pollNotification(long timestamp,
int siteID,
int[] teamIDArray,
int[] agentIDArray,
double startDate,
double endDate,
int detailsLevel,
int stateLayout,
int[] excludeStates,
boolean provideStateInfo,
boolean provideAgentInfo,
boolean provideTeamInfo,
boolean provideContractInfo)
Polls the schedule change notification
|
SchTradeProposalStatus |
postTradeProposal(int siteID,
int agentID,
double[] dateArray,
java.lang.String comments)
A trade proposal is posted to the community and is available to all qualifying agents.
|
SchTradeProposalStatus |
sendPersonalTradeProposal(int siteID,
int agentID,
int directToAgentID,
int handshake,
double[] dateArray,
java.lang.String comments)
A trade proposal is sent directly to specified agent.
|
void |
sortTradeProposalSnapshot(java.lang.String snapshotID,
int proposalSortMode,
int agentSortMode,
boolean sortAscending)
Changes trade proposal snapshot sort mode and/or order.
|
void |
sortTradeResponseSnapshot(java.lang.String snapshotID,
int responseSortMode,
int agentSortMode,
boolean sortAscending)
Changes trade response snapshot sort mode and/or order.
|
void |
sortTradeSnapshot(java.lang.String snapshotID,
int tradeSortMode,
int agentSortMode,
boolean sortAscending)
Changes trade snapshot sort mode and/or order.
|
SchTradeProposalHolder getTradeProposalByID(int siteID, int[] proposalIDArray, int schStateLayout, boolean schProvideStateInfo, boolean cfgProvideAgentInfo, boolean cfgProvideTeamInfo, boolean cfgProvideContractInfo) throws java.rmi.RemoteException
siteID - Site identifierproposalIDArray - List of IDs from the proposal to loadschStateLayout - State presentation optionschProvideStateInfo - Provide scheduled state info for every unique state in proposal schedules.cfgProvideAgentInfo - "true" calls for short information about every unique agent in the proposal result set.cfgProvideTeamInfo - "true" calls for short information about every unique agent team in the proposal result set.cfgProvideContractInfo - "true" calls for short information about every unique agent's contract in the proposal result set.SchTradeProposalHolderjava.rmi.RemoteExceptionESchStateLayoutSchTradeProposalHolder getTradeProposal(int siteID, int agentID, int origin, double startDate, double endDate, int[] teamFilter, int[] typeFilter, int[] statusFilter, int proposalSortMode, int agentSortMode, boolean sortAscending, int schStateLayout, boolean schProvideStateInfo, boolean cfgProvideAgentInfo, boolean cfgProvideTeamInfo, boolean cfgProvideContractInfo) throws java.rmi.RemoteException
siteID - Site identifieragentID - An identifier for the agentorigin - My Proposals, Other Proposals, or All ProposalsstartDate - Start date of the Date window filterendDate - End date of the Date window filterteamFilter - Defines the filter for the team of the proposing agent. A null value means "any team".typeFilter - Defines filter for the types of proposals. A null value means "all types"statusFilter - Defines filter for statuses of proposals. A null value means "all statuses"proposalSortMode - Proposal list sort modeagentSortMode - Agent list sort modesortAscending - Defines sort orderschStateLayout - State presentation optionschProvideStateInfo - Provide the scheduled state info for every unique state in the proposal schedules.cfgProvideAgentInfo - "true" calls for short information about every unique agent in a proposal result set.cfgProvideTeamInfo - "true" calls for short information about every unique agent's team in a proposal result set.cfgProvideContractInfo - "true" calls for short information about every unique agent's contract in a proposal result set.SchTradeProposalHolderjava.rmi.RemoteExceptionESchTradeProposalType,
ESchTradeProposalStatus,
ESchTradeProposalSortMode,
ECfgSortMode.Agent,
ESchStateLayoutSchTradeProposalSnapshot openTradeProposalSnapshot(int siteID, int agentID, int origin, double startDate, double endDate, int[] teamFilter, int[] typeFilter, int[] statusFilter, int proposalSortMode, int agentSortMode, boolean sortAscending) throws java.rmi.RemoteException
siteID - Site identifieragentID - An identifier for the agentorigin - My Proposals, Other Proposals, or All ProposalsstartDate - Start date of Date window filterendDate - End date of Date window filterteamFilter - Defines the filter for the team of the proposing agent. A null value means "any team".typeFilter - Defines the filter for the types of proposals. A null value means "all types"statusFilter - Defines the filter for the statuses of proposals. A null value means "all statuses"proposalSortMode - Proposal list sort modeagentSortMode - Agent list sort modesortAscending - Sort orderSchTradeProposalSnapshotjava.rmi.RemoteExceptionESchTradeProposalType,
ESchTradeProposalStatus,
ESchTradeProposalSortMode,
ECfgSortMode.AgentSchTradeProposalHolder fetchTradeProposalFromSnapshot(java.lang.String snapshotID, int firstIndex, int lastIndex, int schStateLayout, boolean schProvideStateInfo, boolean cfgProvideAgentInfo, boolean cfgProvideTeamInfo, boolean cfgProvideContractInfo) throws java.rmi.RemoteException
snapshotID - Proposal snapshot IDfirstIndex - First proposal index in snapshotlastIndex - Last proposal index in snapshotschStateLayout - State presentation optionschProvideStateInfo - Provide scheduled state info for every unique state in the proposal schedules.cfgProvideAgentInfo - "true" calls for short information about every unique agent in a proposal result set.cfgProvideTeamInfo - "true" calls for short information about every unique agent's team in a proposal result set.cfgProvideContractInfo - "true" calls for short information about every unique agent's contract in a proposal result set.SchTradeProposalHolderjava.rmi.RemoteExceptionESchStateLayoutvoid sortTradeProposalSnapshot(java.lang.String snapshotID,
int proposalSortMode,
int agentSortMode,
boolean sortAscending)
throws java.rmi.RemoteException
snapshotID - Proposal snapshot IDproposalSortMode - Proposal list sort modeagentSortMode - Agent list sort modesortAscending - Sort orderjava.rmi.RemoteExceptionESchTradeProposalSortMode,
ECfgSortMode.AgentSchTradeResponseHolder getTradeResponseByID(int siteID, int[] responseIDArray, int schStateLayout, boolean schProvideStateInfo, boolean cfgProvideAgentInfo, boolean cfgProvideTeamInfo, boolean cfgProvideContractInfo) throws java.rmi.RemoteException
siteID - Site IDresponseIDArray - List of response IDs to loadschStateLayout - State presentation optionschProvideStateInfo - Provide scheduled state info for every unique state in proposal schedules.cfgProvideAgentInfo - "true" calls for short information about every unique agent in a proposal result set.cfgProvideTeamInfo - "true" calls for short information about every unique agent's team in a proposal result set.cfgProvideContractInfo - "true" calls for short information about every unique agent's contract in a proposal result set.SchTradeResponseHolderjava.rmi.RemoteExceptionESchStateLayoutSchTradeResponseHolder getTradeResponse(int siteID, int agentID, int origin, double startDate, double endDate, int[] statusFilter, int responseSortMode, int agentSortMode, boolean sortAscending, int schStateLayout, boolean schProvideStateInfo, boolean cfgProvideAgentInfo, boolean cfgProvideTeamInfo, boolean cfgProvideContractInfo) throws java.rmi.RemoteException
siteID - Site IDagentID - The ID of the agent receiving or sending responses.origin - Filter responses for "My Responses", "Responses to My Proposals", and "All Responses related to me".startDate - Start date of Date window filterendDate - End date of Date window filterstatusFilter - Defines the filter for statuses of proposals. A null value means "all statuses"responseSortMode - Response list sort modeagentSortMode - Agent list sort modesortAscending - Sort orderschStateLayout - State presentation optionschProvideStateInfo - Provide scheduled state info for every unique state in proposal schedules.cfgProvideAgentInfo - "true" calls for short information about every unique agent in a proposal result set.cfgProvideTeamInfo - "true" calls for short information about every unique agent's team in a proposal result set.cfgProvideContractInfo - "true" calls for short information about every unique agent's contract in a proposal result set.SchTradeResponseHolderjava.rmi.RemoteExceptionESchStateLayout,
ESchTradeResponseStatus,
ESchTradeResponseSortMode,
ECfgSortMode.AgentSchTradeResponseSnapshot openTradeResponseSnapshot(int siteID, int agentID, int origin, double startDate, double endDate, int[] statusFilter, int responseSortMode, int agentSortMode, boolean sortAscending) throws java.rmi.RemoteException
siteID - Site IDagentID - The ID of the agent receiving or sending responses.origin - Filter responses for "My Responses", "Responses to My Proposals", and "All Responses related to me".startDate - Start date of Date window filterendDate - End date of Date window filterstatusFilter - Defines the filter for the statuses of proposals. A null value means "all statuses"responseSortMode - Response list sort modeagentSortMode - Agent list sort modesortAscending - Sort orderSchTradeResponseSnapshotjava.rmi.RemoteExceptionESchTradeResponseStatus,
ESchTradeResponseSortMode,
ECfgSortMode.AgentSchTradeResponseHolder fetchTradeResponseFromSnapshot(java.lang.String snapshotID, int firstIndex, int lastIndex, int schStateLayout, boolean schProvideStateInfo, boolean cfgProvideAgentInfo, boolean cfgProvideTeamInfo, boolean cfgProvideContractInfo) throws java.rmi.RemoteException
snapshotID - Response snapshot IDfirstIndex - First response index in the snapshotlastIndex - Last response index in the snapshotschStateLayout - Defines the layout of the returned agent day schedule.schProvideStateInfo - Provide scheduled state info for every unique state in proposal schedules.cfgProvideAgentInfo - "true" calls for short information about every unique agent in a proposal result set.cfgProvideTeamInfo - "true" calls for short information about every unique agent's team in a proposal result set.cfgProvideContractInfo - "true" calls for short information about every unique agent's contract in a proposal result set.java.rmi.RemoteExceptionESchStateLayout,
SchTradeResponseHoldervoid sortTradeResponseSnapshot(java.lang.String snapshotID,
int responseSortMode,
int agentSortMode,
boolean sortAscending)
throws java.rmi.RemoteException
snapshotID - Trade response snapshot IDresponseSortMode - Response list sort modeagentSortMode - Agent list sort modesortAscending - Sort orderjava.rmi.RemoteExceptionESchTradeResponseSortMode,
ECfgSortMode.AgentSchTradeHolder getTradeByID(int siteID, int[] tradeIDArray, int schStateLayout, boolean schProvideStateInfo, boolean cfgProvideAgentInfo, boolean cfgProvideTeamInfo, boolean cfgProvideContractInfo) throws java.rmi.RemoteException
siteID - Site IDtradeIDArray - A list of trade IDs to loadschStateLayout - Defines layout of returned agent day schedule.schProvideStateInfo - Provide scheduled state info for every unique state in proposal schedules.cfgProvideAgentInfo - "true" calls for short information about every unique agent in a proposal result set.cfgProvideTeamInfo - "true" calls for short information about every unique agent's team in a proposal result set.cfgProvideContractInfo - "true" calls for short information about every unique agent's contract in a proposal result set.java.rmi.RemoteExceptionESchStateLayout,
SchTradeHolderSchTradeHolder getTrade(int siteID, double startDate, double endDate, int[] teamIDArray, int[] agentIDArray, int[] statusFilter, int tradeSortMode, int agentSortMode, boolean sortAscending, int schStateLayout, boolean schProvideStateInfo, boolean cfgProvideAgentInfo, boolean cfgProvideTeamInfo, boolean cfgProvideContractInfo) throws java.rmi.RemoteException
siteID - Site IDstartDate - Start date of Date window filterendDate - End date of Date window filterstatusFilter - Defines filter for statuses of trades. A null value means "all statuses"tradeSortMode - Proposal Agent, Response Agent. Proposal Paid Hours, Response Paid Hours, Status or None,agentSortMode - Agent list sort modesortAscending - Sort orderschStateLayout - Defines layout of returned agent day schedule.schProvideStateInfo - Provide scheduled state info for every unique state in proposal schedules.cfgProvideAgentInfo - "true" calls for short information about every unique agent in a proposal result set.cfgProvideTeamInfo - "true" calls for short information about every unique agent's team in a proposal result set.cfgProvideContractInfo - "true" calls for short information about every unique agent's contract in a proposal result set.SchTradeHolderjava.rmi.RemoteExceptionESchTradeStatus,
ESchTradeSortMode,
ECfgSortMode.Agent,
ESchStateLayoutSchTradeSnapshot openTradeSnapshot(int siteID, double startDate, double endDate, int[] teamIDArray, int[] agentIDArray, int[] statusFilter, int tradeSortMode, int agentSortMode, boolean sortAscending) throws java.rmi.RemoteException
siteID - Site IDstartDate - Start date of Date window filterendDate - End date of Date window filterteamIDArray - Defines filter for agent teams participating in schedule trades. A null value means no team filter.agentIDArray - Defines filter for agents participating in schedule trades. A null value means no agent filter.statusFilter - Defines filter for statuses of trades. A null value means "all statuses"tradeSortMode - Proposal or Response Agent; Proposal or Response Paid Hours; Status or None,agentSortMode - Agent list sort modesortAscending - Sort orderSchTradeSnapshotjava.rmi.RemoteExceptionESchTradeStatus,
ESchTradeSortMode,
ECfgSortMode.AgentSchTradeHolder fetchTradeFromSnapshot(java.lang.String snapshotID, int firstIndex, int lastIndex, int schStateLayout, boolean schProvideStateInfo, boolean cfgProvideAgentInfo, boolean cfgProvideTeamInfo, boolean cfgProvideContractInfo) throws java.rmi.RemoteException
snapshotID - Trade snapshot IDfirstIndex - First trade index in snapshotlastIndex - Last trade index in snapshotschStateLayout - Defines layout of returned agent day schedule.schProvideStateInfo - Provide scheduled state info for every unique state in proposal schedules.cfgProvideAgentInfo - "true" calls for short information about every unique agent in a proposal result set.cfgProvideTeamInfo - "true" calls for short information about every unique agent's team in a proposal result set.cfgProvideContractInfo - "true" calls for short information about every unique agent's contract in a proposal result set.SchTradeHolderjava.rmi.RemoteExceptionESchStateLayoutvoid sortTradeSnapshot(java.lang.String snapshotID,
int tradeSortMode,
int agentSortMode,
boolean sortAscending)
throws java.rmi.RemoteException
snapshotID - Trade snapshot IDtradeSortMode - Proposal or Response Agent; Proposal or Response Paid Hours; Status or None.agentSortMode - Agent list sort modesortAscending - Sort orderjava.rmi.RemoteExceptionESchTradeSortMode,
ECfgSortMode.AgentSchTradeProposalStatus postTradeProposal(int siteID, int agentID, double[] dateArray, java.lang.String comments) throws java.rmi.RemoteException
siteID - Site identifieragentID - Agent identifierdateArray - List of dates that schedule's agent wants to tradecomments - Comments to proposaljava.rmi.RemoteExceptionSchTradeProposalStatus sendPersonalTradeProposal(int siteID, int agentID, int directToAgentID, int handshake, double[] dateArray, java.lang.String comments) throws java.rmi.RemoteException
siteID - Site identifieragentID - An identifier for the agent sending the proposaldirectToAgentID - An identifier for the agent that should receive a personal proposalhandshake - one-way handshake or two-way handshakedateArray - List of dates that the schedule's agent wants to tradecomments - Comments to proposaljava.rmi.RemoteExceptionESchTradeHandshakeTypeSchTradeProposalStatus cancelTradeProposal(int siteID, int agentID, int proposalID, java.lang.String comments) throws java.rmi.RemoteException
siteID - Site identifieragentID - An idendifier of the agent canceling the proposal. This ID must be the same as the identifier for the agent who created the proposal.proposalID - Identifier for the proposal to cancelcomments - Comments explaining why the proposal was canceled (optional). These comments are appended to the comments field in the proposal and response record (if there is any).java.rmi.RemoteExceptionSchTradeResponseStatus declineTradeResponse(int siteID, int agentID, int responseID, java.lang.String comments) throws java.rmi.RemoteException
siteID - Site identifieragentID - An identifier for the agent declining the response. This ID must be the same as the identifier for the agent who created the proposal.responseID - Identifier for the response to declinecomments - Comments explaining why the response was declined (optional). These comments are appended to the comments field in the response record.java.rmi.RemoteExceptionSchTradeProposalStatus acceptTradeResponse(int siteID, int agentID, int proposalID, int responseID, java.lang.String comments) throws java.rmi.RemoteException
siteID - Site identifieragentID - The identifier for the agent accepting the response. This ID must be the same as the identifier for the agent who created the proposal.proposalID - The identifier for the proposalresponseID - The identifier for the response to the proposalcomments - Comments addressed to supervisor (optional). These comments are written to the comments field in trade record.java.rmi.RemoteExceptionSchTradeResponseStatus acceptTradeProposal(int siteID, int agentID, int proposalID, java.lang.String comments) throws java.rmi.RemoteException
siteID - Site identifieragentID - The identifier for the agent accepting trade proposalproposalID - Identifier of the proposal to acceptcomments - Comments addressed to proposing agent. These comments are written to the comments field in the response record.java.rmi.RemoteExceptionSchTradeProposalStatus declinePersonalTradeProposal(int siteID, int agentID, int proposalID, java.lang.String comments) throws java.rmi.RemoteException
siteID - Site identifieragentID - The identifier for the agent declining trade proposalproposalID - Identifier of the proposal to declinecomments - Comments addressed to proposing agentjava.rmi.RemoteExceptionSchTradeResponseStatus cancelTradeResponse(int siteID, int agentID, int responseID, java.lang.String comments) throws java.rmi.RemoteException
siteID - Site identifieragentID - The identifier for the agent canceling response. This ID must be the same as the identifier for the agent who accepted the proposal.responseID - Identifier of the response to cancelcomments - Comments explaining why the response was canceled (optional). These comments are appended to the comments field in the response record.java.rmi.RemoteExceptionSchTradeStatus approveTrade(int siteID, int tradeID, java.lang.String comments) throws java.rmi.RemoteException
siteID - Site identifiertradeID - Trade identifiercomments - Comments (optional). These comments are appended to the comments field in trade, proposal, and response records.java.rmi.RemoteExceptionESchTradeStatusSchTradeStatus declineTrade(int siteID, int tradeID, java.lang.String comments) throws java.rmi.RemoteException
siteID - Site identifiertradeID - Trade identifiercomments - Comments explaining why the trade was declined (required). These comments are appended to the comments field in the trade, proposal, and response records. In the case of an auto-decline, a reason is generated automatically by the system.java.rmi.RemoteExceptionESchTradeStatusSchValidationHolder checkTrade(int siteID, int tradeID) throws java.rmi.RemoteException
siteID - Site identifiertradeID - Trade identifierjava.rmi.RemoteExceptionSchValidationHolderSchCandidate getTradeCandidates(int siteID, int agentID, double[] days, int[] teamIDFilter) throws java.rmi.RemoteException
siteID - Site identifieragentID - Agent identifierdays - List of datesteamIDFilter - Team filter (null means "any team")SchCandidatejava.rmi.RemoteExceptionSchTradeUnansweredHolder getUnanswered(int siteID, int agentID, double startDate, double endDate) throws java.rmi.RemoteException
siteID - Site identifieragentID - Agent identifierstartDate - Start date of Date window filterendDate - End date of Date window filterSchTradeUnansweredHolderjava.rmi.RemoteExceptionSchTradeNotification pollNotification(long timestamp, int siteID, int[] teamIDArray, int[] agentIDArray, double startDate, double endDate, int detailsLevel, int stateLayout, int[] excludeStates, boolean provideStateInfo, boolean provideAgentInfo, boolean provideTeamInfo, boolean provideContractInfo) throws java.rmi.RemoteException
timestamp - A timestamp value to use as a baseline for notifications. A value of zero implies the current moment, and a negative value tells the server to use the last acknowledged timestamp as a baseline.siteID - Site IDteamIDArray - Team ID filter. Can be null meaning "any team"agentIDArray - Agent ID filter. Can be null meaning "all agents for specified teams". If teams were not specified, this means "all agents".startDate - Start date of schedule range that needs to be tracked for changes. OleDateTimeendDate - End date of schedule range that needs to be tracked for changes. OleDateTimedetailsLevel - Notification details level ESchTradeAuditLevelstateLayout - Schedule state layout of returned schedules ESchStateLayoutexcludeStates - List of schedule state types ESchStateType that should be excluded from the returned schedule.provideStateInfo - Specifies whether to provide schedule state descriptive infoprovideAgentInfo - Indicates whether to provide short agent information about every unique agent in the response.provideTeamInfo - Indicates whether to provide short team information about every unique team in the response.provideContractInfo - Indicates whether to provide short Contract information about every unique contract in the response.SchTradeNotificationjava.rmi.RemoteExceptionvoid acknowledgeNotification(int siteID,
long timestamp)
throws java.rmi.RemoteException
pollNotification.siteID - Site IDtimestamp - A timestamp value from SchTradeNotification returned by pollNotificationjava.rmi.RemoteExceptionCopyright © 2005-2016 Genesys Telecommunications Labs, Inc. All Rights Reserved.