string soapEndpoint = "http://www.smartertools.com/SmarterTrack/Services2/svcTickets.asmx";; Int32 ticketNumberID = Convert.ToInt32(requestResultElement2.Value); // var tim = DateTime.UtcNow.ToString(""); DateTime now = DateTime.UtcNow.AddDays(1); DateTime localNow = TimeZoneInfo.ConvertTimeFromUtc(now, TimeZoneInfo.Local); string soapAction4= "http://www.smartertools.com/SmarterTrack/Services2/svcTickets.asmx/SetFollowUp";; //Changing Soap addrees andd setticket string soapXml4 = $@"<?xml version=""1.0"" encoding=""utf-8""?> <soap12:Envelope xmlns:xsi=""http://www.w3.org/2001/XMLSchema-instance""; xmlns:xsd=""http://www.w3.org/2001/XMLSchema""; xmlns:soap12=""http://www.w3.org/2003/05/soap-envelope"">; <soap12:Body> <SetFollowUp xmlns=""http://www.smartertools.com/SmarterTrack/Services2/svcTickets.asmx"">; <authUserName>{username}</authUserName> <authPassword>{password}</authPassword> <<ticketId>{ticketNumberID}</ticketId> <followUpDateUtc>{localNow}</followUpDateUtc> <newGroupId>{groupId}</newGroupId> <newAgentId>{agentId}</newAgentId> <newStatus>Open</newStatus> <pinToAgent>false</pinToAgent> <comment>{subject}</comment> </SetFollowUp> </soap12:Body> </soap12:Envelope>"; using (var httpClient4 = new HttpClient()) { httpClient4.DefaultRequestHeaders.Add("SOAPAction", soapAction4); var content4 = new StringContent(soapXml4, Encoding.UTF8, "application/application/soap+xml"); var response4 = await httpClient4.PostAsync(soapEndpoint, content4); if (response4.IsSuccessStatusCode) { string soapResponse4 = await response4.Content.ReadAsStringAsync(); } else { Console.WriteLine(response4); string error = "RequestResult not found in response."; }
By reporting abuse, a moderator will be asked to review the content of this interaction to take further action, if necessary.
Trouble logging in? Simply enter your email address OR username in order to reset your password.
For faster and more reliable delivery, add noreply@smartertools.com to your trusted senders list in your email software.
A code was sent to the recovery email address. Please provide the 6-digit code.
A code can be retrieved from your authentication app. Please provide the 6-digit code.
An email was sent to your recovery email address. If you need further assistance, please contact your system admin.
Passkeys let you sign in quickly and securely using your fingerprint, face, or device PIN. No password needed!