B
Bradley
I experiencing significant difficulties in using the PDS
web service.
Many calls work perfectly, returning their document XML
strings.
One in particular that isn't is the AssignmentsGet.
With this resource allocated to numerous tasks and in
sending the following request...
<Request>
<AssignmentsGet>
<AllResources>1</AllResources>
<Resources>
<Resource>
<ResourceName>Dan TeamMember</ResourceName>
</Resource>
</Resources>
<AllAssignments>1</AllAssignments>
<PeriodDateRange>
<PeriodStartDate>20030101</PeriodStartDate>
<PeriodEndDate>20040101</PeriodEndDate>
</PeriodDateRange>
<AdminProject>2</AdminProject>
<ApprovalStatus>0</ApprovalStatus>
</AssignmentsGet>
</Request>
I get the following response...
<Reply>
<HRESULT>0</HRESULT>
<STATUS>0</STATUS>
<UserName>Dan TeamMember</UserName>
<AssignmentsGet>
<PeriodDateRange>
<PeriodStartDate>20030101000000</PeriodStartDate>
<PeriodEndDate>20040101000000</PeriodEndDate>
</PeriodDateRange>
</AssignmentsGet>
</Reply>
The critical element that's missing is the Assignment
data.
<Reply>
<HRESULT>0</HRESULT>
<STATUS>0</STATUS>
<UserName>Administrator</UserName>
<AssignmentsGet>
<PeriodDateRange>
<PeriodStartDate></PeriodStartDate>
<PeriodEndDate></PeriodEndDate>
</PeriodDateRange>
<Assignments>
<Assignment>
<WUID></WUID>
<Work></Work>
<RemainingWork></RemainingWork>
<ActualWork></ActualWork>
<PercentWorkComplete></PercentWorkComplete>
<Start></Start>
<Finish></Finish>
<ProjectID></ProjectID>
<ProjectName></ProjectName>
<ProjectType></ProjectType>
<TaskName></TaskName>
<TaskUID></TaskUID>
<ResourceName></ResourceName>
<ResourceUID></ResourceUID>
<CurrentTrackingMode></CurrentTrackingMode>
<Comments></Comments>
<TaskIsSummary></TaskIsSummary>
<AssignedToSummary></AssignedToSummary>
<TaskIsMilestone></TaskIsMilestone>
<ParentAssignmentUID></ParentAssignmentUID>
<ParentAssignmentName></ParentAssignmentName>
<ProjectManagerName></ProjectManagerName>
<UpdateStatus></UpdateStatus>
<IsDeletedFromProj></IsDeletedFromProj>
<AdminProject></AdminProject>
</Assignment>
</Assignment>
</Assignment>
</Assignments>
</AssignmentsGet>
</Reply>
web service.
Many calls work perfectly, returning their document XML
strings.
One in particular that isn't is the AssignmentsGet.
With this resource allocated to numerous tasks and in
sending the following request...
<Request>
<AssignmentsGet>
<AllResources>1</AllResources>
<Resources>
<Resource>
<ResourceName>Dan TeamMember</ResourceName>
</Resource>
</Resources>
<AllAssignments>1</AllAssignments>
<PeriodDateRange>
<PeriodStartDate>20030101</PeriodStartDate>
<PeriodEndDate>20040101</PeriodEndDate>
</PeriodDateRange>
<AdminProject>2</AdminProject>
<ApprovalStatus>0</ApprovalStatus>
</AssignmentsGet>
</Request>
I get the following response...
<Reply>
<HRESULT>0</HRESULT>
<STATUS>0</STATUS>
<UserName>Dan TeamMember</UserName>
<AssignmentsGet>
<PeriodDateRange>
<PeriodStartDate>20030101000000</PeriodStartDate>
<PeriodEndDate>20040101000000</PeriodEndDate>
</PeriodDateRange>
</AssignmentsGet>
</Reply>
The critical element that's missing is the Assignment
data.
<Reply>
<HRESULT>0</HRESULT>
<STATUS>0</STATUS>
<UserName>Administrator</UserName>
<AssignmentsGet>
<PeriodDateRange>
<PeriodStartDate></PeriodStartDate>
<PeriodEndDate></PeriodEndDate>
</PeriodDateRange>
<Assignments>
<Assignment>
<WUID></WUID>
<Work></Work>
<RemainingWork></RemainingWork>
<ActualWork></ActualWork>
<PercentWorkComplete></PercentWorkComplete>
<Start></Start>
<Finish></Finish>
<ProjectID></ProjectID>
<ProjectName></ProjectName>
<ProjectType></ProjectType>
<TaskName></TaskName>
<TaskUID></TaskUID>
<ResourceName></ResourceName>
<ResourceUID></ResourceUID>
<CurrentTrackingMode></CurrentTrackingMode>
<Comments></Comments>
<TaskIsSummary></TaskIsSummary>
<AssignedToSummary></AssignedToSummary>
<TaskIsMilestone></TaskIsMilestone>
<ParentAssignmentUID></ParentAssignmentUID>
<ParentAssignmentName></ParentAssignmentName>
<ProjectManagerName></ProjectManagerName>
<UpdateStatus></UpdateStatus>
<IsDeletedFromProj></IsDeletedFromProj>
<AdminProject></AdminProject>
</Assignment>
</Assignment>
</Assignment>
</Assignments>
</AssignmentsGet>
</Reply>