insert Ticket

suspend fun insertTicket(projectId: String, ticketId: String?, title: String, value: Double, description: String, openingDate: LocalDateTime): JsonObject

Method to request to insert a tickets, this includes both edit and addition of a ticket item

Return

the result of the request as JsonObject

Parameters

projectId

The identifier of the project where the tickets is attached

ticketId

The identifier of the ticket to edit

title

The title of the ticket

value

The amount revenue value

description

The description of the ticket

openingDate

The date when the ticket has been opened