Is it possible to insert/update record in a table through API using scripts?

Hi All, 

I tried to insert record in a table by accessing a script which I created  through API. 

Got the below error message.

Message : counters : write permission denied for value \"Table\"."

I have provided the required permission to the permission group which I created  but still I'm getting the above error message. 

Could you please let me know if I missed to provide any required permission to the group or is it possible to insert a record through an api( using Run scripts) ?  

Parents Reply
  • Hi Markus, 

    Version - 8.0 

    and I'm calling script via Restful API.

    Script method:

    Public Function CCC_ExecuteScript(ByVal strValue As String)  As String

    Dim apiObj As IEntity = session.source.createnew("table")

    apiObj.PutValue("column",strValue) 

    End Function 

    I'm able to create/update entry in the table using post/put Restful API call but couldn't do the same by calling scripts using API. 

    Thanks in advance 

Children