RangerMSP Update Ticket

To edit a ticket the UpdateTicket method is used.

RangerMSP/UpdateTicket(TicketRecord record)

or

RangerMSP_REST/UpdateTicket(TicketRecord record)

The RangerMSP data fields that we have access to are listed here.
http://www.rangermsp.com/wiki/CSharp_API#Ticket_Class

The UpdateTicket method is less complex than the SelectTicket field. Simply send a serialized TicketRecord to Jupiter Server that includes an existing TicketREC_ID. The ticket will be updated. Assumes we know the TicketREC_ID of the ticket we want to update and we know the EmployeeREC_ID that the ticket is assigned to.

UpdateTicket - WCF SOAP version.
TicketClient TicketClient = null;
TicketClient = new TicketClient();
(TicketClient.ChannelFactory.Endpoint.Binding as BasicHttpBinding).MaxReceivedMessageSize = int.MaxValue;
(TicketClient.ChannelFactory.Endpoint.Binding as BasicHttpBinding).MaxBufferSize = int.MaxValue;
(TicketClient.ChannelFactory.Endpoint.Binding as BasicHttpBinding).ReceiveTimeout = new TimeSpan(0, 10, 0);
(TicketClient.ChannelFactory.Endpoint.Binding as BasicHttpBinding).Security.Mode = BasicHttpSecurityMode.Transport;
(TicketClient.ChannelFactory.Endpoint.Binding as BasicHttpBinding).Security.Mode = BasicHttpSecurityMode.TransportWithMessageCredential;
TicketClient.ChannelFactory.Credentials.UserName.UserName = User;
TicketClient.ChannelFactory.Credentials.UserName.Password = Password;
uri = new UriBuilder(TicketClient.ChannelFactory.Endpoint.Address.Uri);
uri.Host = "localhost";
uri.Scheme = "https";
uri.Port = PortHttps;
TicketClient.ChannelFactory.Endpoint.Address = new EndpointAddress(uri.Uri);
TicketRecord ticketRecord = new TicketRecord();
ticketRecord.TicketREC_ID = TicketREC_ID;
ticketRecord.Description = "Fixed A4 printer";
ticketRecord.EmployeeREC_ID = acctMGRREC_ID;
TicketClient.Update(ticketRecord);
UpdateTicket - REST version.
TicketRec.TicketREC_ID = TicketREC_ID;
TicketRec.Description = "Fixed A4 printer";
TicketRec.EmployeeREC_ID = acctMGRREC_ID;
jsonReq = JsonConvert.SerializeObject(TicketRec);
HttpWebRequest request = (HttpWebRequest)WebRequest.Create($"https://localhost:22222/RangerMSP_REST/UpdateTicket?Ticketrecord={jsonReq}");
if (auth)
{
    request.Headers.Add("Authorization", "Basic " + GetAuthHeader(username, password));
}
HttpWebResponse response = (HttpWebResponse)request.GetResponse();
Stream responseStream = response.GetResponseStream();

//Setting Up the Stream Reader

StreamReader readerStream = new StreamReader(responseStream, System.Text.Encoding.GetEncoding("utf-8"));

jsonRes = readerStream.ReadToEnd();