MoxiWorks Platform
.NET SDK For MoxiWorks Public API
|
Moxi Works Platform Task entities represent tasks that agents need to perform on behalf of, or in relation to their contacts. More...
Public Member Functions | |
TaskService (IMoxiWorksClient client) | |
async Task< Response< Task > > | GetTaskAsync (string agentId, AgentIdType agentIdType, string partnerContactId, string partnerTaskId) |
Returns the specified Task if it exist. More... | |
async Task< Response< Task > > | UpdateTaskAsync (Task task) |
update an existing task More... | |
async Task< Response< Task > > | CreateTaskAsync (Task task) |
async Task< Response< TaskResponse > > | GetTasksDueForContactForAsync (string agentId, AgentIdType agentIdType, string partnerContactId, int pageNumber=1) |
async Task< Response< TaskResponse > > | GetTaskDueBetweenAsync (string agentId, AgentIdType agentIdType, DateTime startDate, DateTime endDate, int pageNumber=1) |
Return all agents tasks due between start and end data. More... | |
async Task< Response< TaskResponse > > | GetTasksAsync (string agentId, AgentIdType agentIdType, DateTime? startDate, DateTime? endDate, string partnerContactId, int pageNumber=1) |
Return a list of agents tasks based on multople parameters. More... | |
Moxi Works Platform Task entities represent tasks that agents need to perform on behalf of, or in relation to their contacts.
task | the task you want to create. |
Implements MoxiWorks.Platform.Interfaces.ITaskService.
async Task<Response<Task> > MoxiWorks.Platform.TaskService.GetTaskAsync | ( | string | agentId, |
AgentIdType | agentIdType, | ||
string | partnerContactId, | ||
string | partnerTaskId | ||
) |
Returns the specified Task if it exist.
agentId | Must include either: AgentUuid This is the Moxi Works Platform ID of the agent which an Group entry is associated with. This will be an RFC 4122 compliant UUID. agent_uuid or moxi_works_agent_id is required and must reference a valid Moxi Works Agent ID for your Group request to be accepted. |
MoxiWorksAgentId This is the Moxi Works Platform ID of the agent which an Group entry is associated with. This will be a string that may take the form of an email address, or a unique identification string. agent_uuid or moxi_works_agent_id is required and must reference a valid Moxi Works Agent ID for your Group request to be accepted. Agent ID for your Group request to be accepted.
agentIdType | What agentId type you are using. |
partnerContactId | This is the unique identifer you use in your system that has been associated with the Contact that this Task regards. |
partnerTaskId |
Implements MoxiWorks.Platform.Interfaces.ITaskService.
async Task<Response<TaskResponse> > MoxiWorks.Platform.TaskService.GetTaskDueBetweenAsync | ( | string | agentId, |
AgentIdType | agentIdType, | ||
DateTime | startDate, | ||
DateTime | endDate, | ||
int | pageNumber = 1 |
||
) |
Return all agents tasks due between start and end data.
agentId | Must include either: AgentUuid This is the Moxi Works Platform ID of the agent which an Group entry is associated with. This will be an RFC 4122 compliant UUID. agent_uuid or moxi_works_agent_id is required and must reference a valid Moxi Works Agent ID for your Group request to be accepted. |
MoxiWorksAgentId This is the Moxi Works Platform ID of the agent which an Group entry is associated with. This will be a string that may take the form of an email address, or a unique identification string. agent_uuid or moxi_works_agent_id is required and must reference a valid Moxi Works Agent ID for your Group request to be accepted. Agent ID for your Group request to be accepted.
agentIdType | What agentId type you are using. |
startDate | Date to start Searching |
endDate | Date to end Search |
This is the unique identifer you use in your system that has been associated with the Contact that this Task regards.
pageNumber | The page you want to view. |
Implements MoxiWorks.Platform.Interfaces.ITaskService.
async Task<Response<TaskResponse> > MoxiWorks.Platform.TaskService.GetTasksAsync | ( | string | agentId, |
AgentIdType | agentIdType, | ||
DateTime? | startDate, | ||
DateTime? | endDate, | ||
string | partnerContactId, | ||
int | pageNumber = 1 |
||
) |
Return a list of agents tasks based on multople parameters.
agentId | Must include either: AgentUuid This is the Moxi Works Platform ID of the agent which an Group entry is associated with. This will be an RFC 4122 compliant UUID. agent_uuid or moxi_works_agent_id is required and must reference a valid Moxi Works Agent ID for your Group request to be accepted. This is the Moxi Works Platform ID of the agent which an Group entry is associated with. This will be a string that may take the form of an email address, or a unique identification string. agent_uuid or moxi_works_agent_id is required and must reference a valid Moxi Works Agent ID for your Group request to be accepted. Agent ID for your Group request to be accepted. |
agentIdType | What agentId type you are using. |
startDate | Date to start Searching |
endDate | Date to end Search |
partnerContactId | This is the unique identifer you use in your system that has been associated with the Contact that this Task regards. |
pageNumber | The page you want to view. |
Implements MoxiWorks.Platform.Interfaces.ITaskService.
async Task<Response<TaskResponse> > MoxiWorks.Platform.TaskService.GetTasksDueForContactForAsync | ( | string | agentId, |
AgentIdType | agentIdType, | ||
string | partnerContactId, | ||
int | pageNumber = 1 |
||
) |
Return a list of tasks for a particular contact.
agentId | Must include either: AgentUuid This is the Moxi Works Platform ID of the agent which an Group entry is associated with. This will be an RFC 4122 compliant UUID. agent_uuid or moxi_works_agent_id is required and must reference a valid Moxi Works Agent ID for your Group request to be accepted. This is the Moxi Works Platform ID of the agent which an Group entry is associated with. This will be a string that may take the form of an email address, or a unique identification string. agent_uuid or moxi_works_agent_id is required and must reference a valid Moxi Works Agent ID for your Group request to be accepted. Agent ID for your Group request to be accepted. |
agentIdType | What agentId type you are using. |
partnerContactId | This is the unique identifer you use in your system that has been associated with the Contact that this Task regards. |
pageNumber | The page you want to view. |
Implements MoxiWorks.Platform.Interfaces.ITaskService.
update an existing task
task | The Task you want to update |
Implements MoxiWorks.Platform.Interfaces.ITaskService.