ticket_data

Methods

# (static) CreateTicket(ticket)

Creates a ticket.

Parameters:
Name Type Description
ticket Object

The ticket to be created.

Properties
Name Type Description
type number

The type of the ticket (1: Payroll issue, 2: Time-off request).

message string

The message of the ticket.

# (static) GetResolvedTickets()

Fetches resolved tickets.

# (static) GetUnresolvedTickets()

Fetches unresolved tickets.

# (static) ResolveTicket(ticketId)

Resolves a Ticket.

Parameters:
Name Type Description
ticketId number

The id of the ticket to be resolved.

# (static) UnresolveTicket(ticketId)

Unresolves a Ticket.

Parameters:
Name Type Description
ticketId number

The id of the ticket to be unresolved.