MoxiWorks Platform
.NET SDK For MoxiWorks Public API
MoxiWorks.Platform.ActionLogService Class Reference

Moxi Works ActionLog entries record actions that contacts take that an agent might want to see to increase their effectivity. For example, if a contact sends an email to an agent asking a question, Moxi Works ActionLog will record that interaction and display it to the agent. More...

Inheritance diagram for MoxiWorks.Platform.ActionLogService:
MoxiWorks.Platform.Interfaces.IActionLogService

Public Member Functions

 ActionLogService (IMoxiWorksClient client)
 
async Task< Response< ActionLog > > CreateActionLogAsync (ActionLog actionLog)
 Create New Action Log. More...
 
async Task< Response< ActionLogResults > > GetActionLogsAsync (string agentId, AgentIdType agentIdType, string moxiWorksContactId, string partnerContactId)
 Returns a ActionLogResult that contains the contacts ActionLogs More...
 

Properties

IMoxiWorksClient Client [get, set]
 
- Properties inherited from MoxiWorks.Platform.Interfaces.IActionLogService
IMoxiWorksClient Client [get, set]
 

Detailed Description

Moxi Works ActionLog entries record actions that contacts take that an agent might want to see to increase their effectivity. For example, if a contact sends an email to an agent asking a question, Moxi Works ActionLog will record that interaction and display it to the agent.

Member Function Documentation

◆ CreateActionLogAsync()

async Task<Response<ActionLog> > MoxiWorks.Platform.ActionLogService.CreateActionLogAsync ( ActionLog  actionLog)

Create New Action Log.

Parameters
actionLogthe ActionLog you want to create.
Returns
The ActionLog created.

Implements MoxiWorks.Platform.Interfaces.IActionLogService.

◆ GetActionLogsAsync()

async Task<Response<ActionLogResults> > MoxiWorks.Platform.ActionLogService.GetActionLogsAsync ( string  agentId,
AgentIdType  agentIdType,
string  moxiWorksContactId,
string  partnerContactId 
)

Returns a ActionLogResult that contains the contacts ActionLogs

Parameters
agentIdMust include either: AgentUuid This is the Moxi Works Platform ID of the agent which an ActionLog 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 ActionLog request to be accepted.

MoxiWorksAgentId This is the Moxi Works Platform ID of the agent which an ActionLog 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 ActionLog request to be accepted. Agent ID for your ActionLog request to be accepted.

Parameters
agentIdTypeWhat agentId type you are using.
moxiWorksContactIdThis is the Moxi Works Platform ID of the Contact which the ActionLog objects are associated with. This will be an RFC 4122 compliant UUID. This data is required and must reference a valid Moxi Works Contact ID for your ActionLog Index request to be accepted. This is the same as the moxi_works_contact_id attribute of the Contact response.
partnerContactIdThis is the unique identifer you use in your system that has been associated with the Contact that you are creating an ActionLog entry about. You should have already created the Contact record on the Moxi Works Platform using Contact Create before attempting to use your system’s contact ID to show ActionLog entries for the Contact. Your request will be rejected if the Contact record does not exist.
Returns
List of contact's logged actions

Implements MoxiWorks.Platform.Interfaces.IActionLogService.


The documentation for this class was generated from the following file: