get Project Balance

suspend fun getProjectBalance(projectId: String, period: RevenuePeriod, retrieveClosedTickets: Boolean): JsonObject

Method to request the current balance of a project revenue

Return

the result of the request as JsonObject

Parameters

projectId

The identifier of the project revenue

period

The period of the revenues to consider in the balance

retrieveClosedTickets

Whether retrieve the closed tickets