get Tickets

suspend fun getTickets(projectId: String, page: Int, period: RevenuePeriod, retrievePendingTickets: Boolean, retrieveClosedTickets: Boolean): JsonObject

Method to request the tickets attached to the projectId

Return

the result of the request as JsonObject

Parameters

projectId

The identifier of the project revenue

page

The page to request

period

The period of the tickets to retrieve

retrievePendingTickets

Whether retrieve the pending tickets

retrieveClosedTickets

Whether retrieve the closed tickets