Delete

 

Dovico.TrackITAPI.CTask.Delete(System.String,Dovico.TrackITAPI.CStateInfo)

 

 

Function Overview:

Deletes tasks specified by xml in the format id.xsd

 

 

Parameter List:

sXml - string - IDs of items to be deleted in id.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 task IDs to delete

string sXml = "<ID:IDS xmlns:ID=\"http://www.dovico.com/schemas/id.xsd\">";

sXml += "<ID>2280</ID></ID:IDS>";

// call the method

wsapi.MethodInvoke("TaskDelete", sXml, stToken);