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
project Id
The identifier of the project where the tickets is attached
ticket Id
The identifier of the ticket to edit
title
The title of the ticket
value
The amount revenue value
description
The description of the ticket
opening Date
The date when the ticket has been opened