Creating simple VB.net Win Form app to add Ticket record.
Hi all,
Hoping this will help my fellow community members who are working to build VB apps to work with Zoho Desk.
I will attach code as I get each portion to work and hoping others will post theirs as well.
So, the first thing I was able to do was pop a messagebox confirming my instance likes my consumed ZOHO auth key. The messagebox pops with RESULT=TRUE
Form
1 Button
Imports System.Net
Public Class Form1
Private Sub Button1_Click(sender As Object, e As EventArgs) Handles Button1.Click
Dim serviceRequest As WebClient = New WebClient()
Dim response As String = serviceRequest.DownloadString(New Uri(url))
Dim toindex As Integer = response.IndexOf("RESULT=")
Dim fromindex As Integer = response.IndexOf("TICKET=")
Dim length As Integer = toindex - fromindex - 8
Dim ticketid As String = response.Substring(fromindex + 7, length)
MessageBox.Show(response)
End Sub
End Class