ebayNumber value digits only.
Try Dim TargetURL As String = "https://creator.zoho.com/api/json/" & myCfg.ZohoAPP & "/view/" & myCfg.ZohoReport & "?authtoken=" & myCfg.ZohoToken & "&scope=creatorapi&zc_ownername=" & myCfg.ZohoUser & "&criteria=(New_Ebay_Tracking_number==" & ebayNumber & ")&raw=true" Dim httpReq As Object httpReq = CreateObject("WinHttp.WinHttpRequest.5.1") httpReq.Open("GET", TargetURL, False) httpReq.setRequestHeader("Content-Type", "application/x-www-form-urlencoded") httpReq.send("") Dim response As String = httpReq.responseText Catch ex As Exception WriteLog("Error during check item on ZOHO " & ex.Message) End Try
If i enter the char it does not produce the value and response is error. So with postman tests i figured out that i need to put Quotes around ebayNumber
So i tried with
(New_Ebay_Tracking_number==""" & ebayNumber & """)
but in this case i dont get the response at all.
If i send the request with POSTMAN i get the json response. But if i sent the request with VB.net the response is nothing.