Class TicketService#

Inheritance Relationships#

Base Type#

Class Documentation#

class xbe.sdk.Services.TicketService : xbe.sdk.ServiceBase#

Public Functions

TicketService ()#
Task<List<Ticket>> FindAll (Dictionary<string, string> query = null)#

Returns all tickets from the system that the user has access to.

Task<Ticket> Create (Ticket obj)#

Create a new ticket.

Task Truncate ()#

Removes all tickets from the datastore.

Task<Ticket> FindById (string id)#

Returns a single ticket from the system that the user has access to.

Task<Ticket> Update (string id, Ticket obj)#

Updates a single ticket.

Task<long?> Count (Dictionary<string, string> query = null)#

Retrieves the Entities Count based on the given criteria.

Return:

Entity Count

Task Delete (string id)#

Deletes an instance of T with the specified unique identifier.

Return:

Task