public interface WFMScheduleTradeService810Soap
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,
java.util.List<java.lang.Integer> teamIDArray,
java.util.List<java.lang.Integer> agentIDArray,
java.util.List<java.lang.Integer> 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,
java.util.List<java.lang.Integer> 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,
java.util.List<java.lang.Double> days,
java.util.List<java.lang.Integer> 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,
java.util.List<java.lang.Integer> teamFilter,
java.util.List<java.lang.Integer> typeFilter,
java.util.List<java.lang.Integer> 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,
java.util.List<java.lang.Integer> 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,
java.util.List<java.lang.Integer> 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,
java.util.List<java.lang.Integer> 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,
java.util.List<java.lang.Integer> teamFilter,
java.util.List<java.lang.Integer> typeFilter,
java.util.List<java.lang.Integer> 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,
java.util.List<java.lang.Integer> 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,
java.util.List<java.lang.Integer> teamIDArray,
java.util.List<java.lang.Integer> agentIDArray,
java.util.List<java.lang.Integer> 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,
java.util.List<java.lang.Integer> teamIDArray,
java.util.List<java.lang.Integer> agentIDArray,
double startDate,
double endDate,
int detailsLevel,
SchAgentDayDetails schDetails,
CfgAgentDetails cfgAgentDetails)
Polls the schedule change notification
|
SchTradeProposalStatus |
postTradeProposal(int siteID,
int agentID,
java.util.List<java.lang.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,
java.util.List<java.lang.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, java.util.List<java.lang.Integer> proposalIDArray, int schStateLayout, boolean schProvideStateInfo, boolean cfgProvideAgentInfo, boolean cfgProvideTeamInfo, boolean cfgProvideContractInfo)
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
ESchStateLayout
SchTradeProposalHolder getTradeProposal(int siteID, int agentID, int origin, double startDate, double endDate, java.util.List<java.lang.Integer> teamFilter, java.util.List<java.lang.Integer> typeFilter, java.util.List<java.lang.Integer> statusFilter, int proposalSortMode, int agentSortMode, boolean sortAscending, int schStateLayout, boolean schProvideStateInfo, boolean cfgProvideAgentInfo, boolean cfgProvideTeamInfo, boolean cfgProvideContractInfo)
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
ESchTradeProposalType
,
ESchTradeProposalStatus
,
ESchTradeProposalSortMode
,
ECfgSortMode.Agent
,
ESchStateLayout
SchTradeProposalSnapshot openTradeProposalSnapshot(int siteID, int agentID, int origin, double startDate, double endDate, java.util.List<java.lang.Integer> teamFilter, java.util.List<java.lang.Integer> typeFilter, java.util.List<java.lang.Integer> statusFilter, int proposalSortMode, int agentSortMode, boolean sortAscending)
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
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)
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
ESchStateLayout
void sortTradeProposalSnapshot(java.lang.String snapshotID, int proposalSortMode, int agentSortMode, boolean sortAscending)
snapshotID
- Proposal snapshot IDproposalSortMode
- Proposal list sort modeagentSortMode
- Agent list sort modesortAscending
- Sort orderESchTradeProposalSortMode
,
ECfgSortMode.Agent
SchTradeResponseHolder getTradeResponseByID(int siteID, java.util.List<java.lang.Integer> responseIDArray, int schStateLayout, boolean schProvideStateInfo, boolean cfgProvideAgentInfo, boolean cfgProvideTeamInfo, boolean cfgProvideContractInfo)
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
ESchStateLayout
SchTradeResponseHolder getTradeResponse(int siteID, int agentID, int origin, double startDate, double endDate, java.util.List<java.lang.Integer> statusFilter, int responseSortMode, int agentSortMode, boolean sortAscending, int schStateLayout, boolean schProvideStateInfo, boolean cfgProvideAgentInfo, boolean cfgProvideTeamInfo, boolean cfgProvideContractInfo)
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
ESchStateLayout
,
ESchTradeResponseStatus
,
ESchTradeResponseSortMode
,
ECfgSortMode.Agent
SchTradeResponseSnapshot openTradeResponseSnapshot(int siteID, int agentID, int origin, double startDate, double endDate, java.util.List<java.lang.Integer> statusFilter, int responseSortMode, int agentSortMode, boolean sortAscending)
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
ESchTradeResponseStatus
,
ESchTradeResponseSortMode
,
ECfgSortMode.Agent
SchTradeResponseHolder fetchTradeResponseFromSnapshot(java.lang.String snapshotID, int firstIndex, int lastIndex, int schStateLayout, boolean schProvideStateInfo, boolean cfgProvideAgentInfo, boolean cfgProvideTeamInfo, boolean cfgProvideContractInfo)
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.ESchStateLayout
,
SchTradeResponseHolder
void sortTradeResponseSnapshot(java.lang.String snapshotID, int responseSortMode, int agentSortMode, boolean sortAscending)
snapshotID
- Trade response snapshot IDresponseSortMode
- Response list sort modeagentSortMode
- Agent list sort modesortAscending
- Sort orderESchTradeResponseSortMode
,
ECfgSortMode.Agent
SchTradeHolder getTradeByID(int siteID, java.util.List<java.lang.Integer> tradeIDArray, int schStateLayout, boolean schProvideStateInfo, boolean cfgProvideAgentInfo, boolean cfgProvideTeamInfo, boolean cfgProvideContractInfo)
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.ESchStateLayout
,
SchTradeHolder
SchTradeHolder getTrade(int siteID, double startDate, double endDate, java.util.List<java.lang.Integer> teamIDArray, java.util.List<java.lang.Integer> agentIDArray, java.util.List<java.lang.Integer> statusFilter, int tradeSortMode, int agentSortMode, boolean sortAscending, int schStateLayout, boolean schProvideStateInfo, boolean cfgProvideAgentInfo, boolean cfgProvideTeamInfo, boolean cfgProvideContractInfo)
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
ESchTradeStatus
,
ESchTradeSortMode
,
ECfgSortMode.Agent
,
ESchStateLayout
SchTradeSnapshot openTradeSnapshot(int siteID, double startDate, double endDate, java.util.List<java.lang.Integer> teamIDArray, java.util.List<java.lang.Integer> agentIDArray, java.util.List<java.lang.Integer> statusFilter, int tradeSortMode, int agentSortMode, boolean sortAscending)
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
ESchTradeStatus
,
ESchTradeSortMode
,
ECfgSortMode.Agent
SchTradeHolder fetchTradeFromSnapshot(java.lang.String snapshotID, int firstIndex, int lastIndex, int schStateLayout, boolean schProvideStateInfo, boolean cfgProvideAgentInfo, boolean cfgProvideTeamInfo, boolean cfgProvideContractInfo)
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
ESchStateLayout
void sortTradeSnapshot(java.lang.String snapshotID, int tradeSortMode, int agentSortMode, boolean sortAscending)
snapshotID
- Trade snapshot IDtradeSortMode
- Proposal or Response Agent; Proposal or Response Paid Hours; Status or None.agentSortMode
- Agent list sort modesortAscending
- Sort orderESchTradeSortMode
,
ECfgSortMode.Agent
SchTradeProposalStatus postTradeProposal(int siteID, int agentID, java.util.List<java.lang.Double> dateArray, java.lang.String comments)
siteID
- Site identifieragentID
- Agent identifierdateArray
- List of dates that schedule's agent wants to tradecomments
- Comments to proposalSchTradeProposalStatus sendPersonalTradeProposal(int siteID, int agentID, int directToAgentID, int handshake, java.util.List<java.lang.Double> dateArray, java.lang.String comments)
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 proposalESchTradeHandshakeType
SchTradeProposalStatus cancelTradeProposal(int siteID, int agentID, int proposalID, java.lang.String comments)
siteID
- Site identifieragentID
- An identifier 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).SchTradeResponseStatus declineTradeResponse(int siteID, int agentID, int responseID, java.lang.String comments)
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.SchTradeProposalStatus acceptTradeResponse(int siteID, int agentID, int proposalID, int responseID, java.lang.String comments)
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.SchTradeResponseStatus acceptTradeProposal(int siteID, int agentID, int proposalID, java.lang.String comments)
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.SchTradeProposalStatus declinePersonalTradeProposal(int siteID, int agentID, int proposalID, java.lang.String comments)
siteID
- Site identifieragentID
- The identifier for the agent declining trade proposalproposalID
- Identifier of the proposal to declinecomments
- Comments addressed to proposing agentSchTradeResponseStatus cancelTradeResponse(int siteID, int agentID, int responseID, java.lang.String comments)
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.SchTradeStatus approveTrade(int siteID, int tradeID, java.lang.String comments)
siteID
- Site identifiertradeID
- Trade identifiercomments
- Comments (optional). These comments are appended to the comments field in trade, proposal, and response records.ESchTradeStatus
SchTradeStatus declineTrade(int siteID, int tradeID, java.lang.String comments)
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.ESchTradeStatus
SchValidationHolder checkTrade(int siteID, int tradeID)
siteID
- Site identifiertradeID
- Trade identifierSchValidationHolder
SchCandidate getTradeCandidates(int siteID, int agentID, java.util.List<java.lang.Double> days, java.util.List<java.lang.Integer> teamIDFilter)
siteID
- Site identifieragentID
- Agent identifierdays
- List of datesteamIDFilter
- Team filter (null means "any team")SchCandidate
SchTradeUnansweredHolder getUnanswered(int siteID, int agentID, double startDate, double endDate)
siteID
- Site identifieragentID
- Agent identifierstartDate
- Start date of Date window filterendDate
- End date of Date window filterSchTradeUnansweredHolder
SchTradeNotification pollNotification(long timestamp, int siteID, java.util.List<java.lang.Integer> teamIDArray, java.util.List<java.lang.Integer> agentIDArray, double startDate, double endDate, int detailsLevel, SchAgentDayDetails schDetails, CfgAgentDetails cfgAgentDetails)
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
schDetails
- Schedule details SchAgentDayDetails
SchTradeNotification
void acknowledgeNotification(int siteID, long timestamp)
pollNotification
.siteID
- Site IDtimestamp
- A timestamp value from SchTradeNotification
returned by pollNotification
Copyright © 2005-2016 Genesys Telecommunications Labs, Inc. All Rights Reserved.