Hi,
I am working on a large data. And Zoho crm is not allowing me to do my work as there are some limitations of Deluge script execution lines.
So I am using
MS Excel to get my task done. Here I am using
Macro, in which I want to delete records from excel sheet by using Zoho API.
The code that I am using is:
-------------------------------------------
Sub DeleteRecords()
Dim XMLHTTP
Set XMLHTTP = CreateObject("MSXML2.XMLHTTP.6.0")
Dim parameters As String
parameters = "?authtoken=<AUTHToken>&scope=crmapi&id=<RECORD ID>"
Dim URL As String
XMLHTTP.Open "POST", URL, False
XMLHTTP.setRequestHeader "Content-Typ", "application/x-www-form-urlencoded"
XMLHTTP.send parameters
MsgBox XMLHTTP.responsetext
End Sub
=========================
When I run this, it is giving me error as
Error Message: 4834, Invalid ticket Id.
Now please help me as I am not getting, what is the problem.
I think it is problem in hitting the URL.
Any help will be appreciated.