Dovico.TrackITAPI.CTempTrans.Delete(System.String,Dovico.TrackITAPI.CStateInfo)
Function Overview:
Call this method to delete one or more TEMPTRANS entries from the database. The xml for the IDs to delete should be specified in guid.xsd format.
Parameter List:
sXml - string - IDs of items to be deleted in guid.xsd format
siState - CStateInfo - State information needed to process the transaction
Returns
Currently an empty string (reserved for future use).
Example:
// initialize a string of xml containing temp trans guids to delete
string sXml = "<ID:IDS xmlns:ID=\"http://www.dovico.com/schemas/guid.xsd\">";
sXml += "<ID>AAAAAAAA-BBBB-CCCC-DDDD-EEEEEEEEEEEE</ID></ID:IDS>";
// call the method
wsapi.MethodInvoke("TempTransDelete", sXml, stToken);