How to access History object via XML worksheet
This article provides the information about how to access the History object via XML worksheet.
For History, you can use XML request for the following:
- Inserting Histories
- Updating Histories
- Deleting Histories
History
Inserting Histories
Here is an example XML request to add new History in TeamConnect via XML worksheet:
<TeamConnectRequest> <Authentication> <Username>george</Username> <Password>password</Password> </Authentication> <History op="insert"> <UniqueCode>PROJ</UniqueCode> <ObjectID>97</ObjectID> <ArchivedOn>2005-05-17T13:00</ArchivedOn> <DefaultCategory>HIST_CALL</DefaultCategory> <EnteredBy>george</EnteredBy> <Text>Called client to discuss her accident. Found out many details which I included in the actual claim. This will help to close the claim quickly.</Text> <ShortDescription>Contact Client (May 17, 2005) </ShortDescription> </History> </TeamConnectRequest>
Updating Histories
Here is an example XML request to update an History in TeamConnect via XML worksheet:
<TeamConnectRequest> <Authentication> <Username>george</Username> <Password>password</Password> </Authentication> <History op="update" PrimaryKey="27"> <ArchivedOn>2005-05-17T14:35</ArchivedOn> <EnteredBy>charlotte</EnteredBy> </History> </TeamConnectRequest>
Deleting Histories
Here is an example XML request to delete an History in TeamConnect via XML worksheet:
<TeamConnectRequest> <Authentication> <Username>george</Username> <Password>password</Password> </Authentication> <History op="delete" PrimaryKey="27" /> </TeamConnectRequest>