Search Results for

    Show / Hide Table of Contents

    Interface ITicketService

    Service for adding and updating associate support tickets or log associate events.

    Namespace: DirectScale.Disco.Extension.Services
    Assembly: DirectScale.Disco.Extension.Abstractions.dll
    Syntax
    public interface ITicketService
    Remarks

    Base functionality will log when the associate is changed or places an order to the associate details page.

    Methods

    LogEvent(Int32, String, String, String)

    Log a message event for specified associateId and adds body message to the note and records username as the user who made the change.

    Declaration
    Task<int> LogEvent(int associateId, string message, string body, string username)
    Parameters
    Type Name Description
    System.Int32 associateId

    Associate that event happened to.

    System.String message

    What happened to the associate.

    System.String body

    Additional details saved in the ticket note.

    System.String username

    The user who changed associateId

    Returns
    Type Description
    System.Threading.Tasks.Task<System.Int32>

    New TicketId.

    SendNote(String, Int32, String)

    Add a note to the specified ticketId and notify to.

    Declaration
    Task<int> SendNote(string to, int ticketId, string body)
    Parameters
    Type Name Description
    System.String to

    Person to notify, this can be either an email address to send an email to, or a user name of the user assigned to this ticket.

    System.Int32 ticketId

    The ticketId that is being updated with a note.

    System.String body

    The content to be added to the ticket.

    Returns
    Type Description
    System.Threading.Tasks.Task<System.Int32>

    ticketId.

    In This Article
    Back to top Copyright © 2022 DirectScale
    Generated by DocFX