I need to add a comment to a documents audit trail. Is there an API call to do this ?
I never did get the API call to work. I just put it directly into the dms_audt table
insert into [dbo].dms_audt([o_audtno] -- 0,[o_objtype] -- 2 object type =Document,[o_objguid]-- Document GUID,[o_objno] -- 0,[o_action] -- (Document attributes modified = AADMSAT_ACT_DOC_ATTR 1003),[o_userno] -- integer User who performed an action,[o_acttime] -- timestamp Action time,[o_comments] -- varchar(255) Operation comments,[o_numparam1] -- lParam1 would be the Folder ID and,[o_numparam2] -- lParam2 would be the document ID. ByGuid would work too.,[o_textparam] -- blank,[o_guidparam] -- null,[o_username] -- user name,[o_userdesc] -- user desc,[o_itemname] -- doc name,[o_itemdesc] -- doc desc,[o_parentguid]) --project guid )values bla, bla