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.SchTradeProposalHolder
java.rmi.RemoteException
ESchStateLayout
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) 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.SchTradeProposalHolder
java.rmi.RemoteException
ESchTradeProposalType
,
ESchTradeProposalStatus
,
ESchTradeProposalSortMode
,
ECfgSortMode.Agent
,
ESchStateLayout
SchTradeProposalSnapshot 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 orderSchTradeProposalSnapshot
java.rmi.RemoteException
ESchTradeProposalType
,
ESchTradeProposalStatus
,
ESchTradeProposalSortMode
,
ECfgSortMode.Agent
SchTradeProposalHolder 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.SchTradeProposalHolder
java.rmi.RemoteException
ESchStateLayout
void 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.RemoteException
ESchTradeProposalSortMode
,
ECfgSortMode.Agent
SchTradeResponseHolder 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.SchTradeResponseHolder
java.rmi.RemoteException
ESchStateLayout
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) 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.SchTradeResponseHolder
java.rmi.RemoteException
ESchStateLayout
,
ESchTradeResponseStatus
,
ESchTradeResponseSortMode
,
ECfgSortMode.Agent
SchTradeResponseSnapshot 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 orderSchTradeResponseSnapshot
java.rmi.RemoteException
ESchTradeResponseStatus
,
ESchTradeResponseSortMode
,
ECfgSortMode.Agent
SchTradeResponseHolder 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.RemoteException
ESchStateLayout
,
SchTradeResponseHolder
void 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.RemoteException
ESchTradeResponseSortMode
,
ECfgSortMode.Agent
SchTradeHolder 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.RemoteException
ESchStateLayout
,
SchTradeHolder
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) 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.SchTradeHolder
java.rmi.RemoteException
ESchTradeStatus
,
ESchTradeSortMode
,
ECfgSortMode.Agent
,
ESchStateLayout
SchTradeSnapshot 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 orderSchTradeSnapshot
java.rmi.RemoteException
ESchTradeStatus
,
ESchTradeSortMode
,
ECfgSortMode.Agent
SchTradeHolder 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.SchTradeHolder
java.rmi.RemoteException
ESchStateLayout
void 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.RemoteException
ESchTradeSortMode
,
ECfgSortMode.Agent
SchTradeProposalStatus 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.RemoteException
SchTradeProposalStatus 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.RemoteException
ESchTradeHandshakeType
SchTradeProposalStatus 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.RemoteException
SchTradeResponseStatus 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.RemoteException
SchTradeProposalStatus 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.RemoteException
SchTradeResponseStatus 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.RemoteException
SchTradeProposalStatus 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.RemoteException
SchTradeResponseStatus 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.RemoteException
SchTradeStatus 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.RemoteException
ESchTradeStatus
SchTradeStatus 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.RemoteException
ESchTradeStatus
SchValidationHolder checkTrade(int siteID, int tradeID) throws java.rmi.RemoteException
siteID
- Site identifiertradeID
- Trade identifierjava.rmi.RemoteException
SchValidationHolder
SchCandidate 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")SchCandidate
java.rmi.RemoteException
SchTradeUnansweredHolder 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 filterSchTradeUnansweredHolder
java.rmi.RemoteException
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) 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. OleDateTime
endDate
- End date of schedule range that needs to be tracked for changes. OleDateTime
detailsLevel
- Notification details level ESchTradeAuditLevel
stateLayout
- Schedule state layout of returned schedules ESchStateLayout
excludeStates
- 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.SchTradeNotification
java.rmi.RemoteException
void acknowledgeNotification(int siteID, long timestamp) throws java.rmi.RemoteException
pollNotification
.siteID
- Site IDtimestamp
- A timestamp value from SchTradeNotification
returned by pollNotification
java.rmi.RemoteException
Copyright © 2005-2016 Genesys Telecommunications Labs, Inc. All Rights Reserved.