How to access Milestone object via XML worksheet
This article provides the information about how to access the Milestone object via XML worksheet.
For Milestone, you can use XML request for the following:
- Inserting Milestones
- Updating Milestones
- Deleting Milestones
Milestone
Inserting Milestones
Here is an example XML request to add new Milestone in TeamConnect via XML worksheet:
<TeamConnectRequest> <Authentication> <Username>george</Username> <Password>password</Password> </Authentication> <Milestone op="insert"> <Project keymap="NumberString">AP-03211</Project> <ShortDescription>Settle with Claimant</ShortDescription> <ProjectedDate>2005-06-10</ProjectedDate> <ExtensionDate>2005-06-15</ExtensionDate> <IsPhaseUsed>1</IsPhaseUsed> <Phase>9</Phase> <CompletionEventIID>0</CompletionEventIID> </Milestone> </TeamConnectRequest>
Updating Milestones
Here is an example XML request to update a Milestone in TeamConnect via XML worksheet:
<TeamConnectRequest> <Authentication> <Username>george</Username> <Password>password</Password> </Authentication> <Milestone op="update" Project.NumberString="AP-03211" ShortDescription="Settle with Claimant"> <CompletionDate>2005-07-30</CompletionDate> </Milestone> </TeamConnectRequest>
Deleting Milestones
Here is an example XML request to delete a Milestone in TeamConnect via XML worksheet:
<TeamConnectRequest> <Authentication> <Username>george</Username> <Password>password</Password> </Authentication> <Milestone op="delete" ShortDescription="Dinner with Clients"/> </TeamConnectRequest>