STATUS 7 calling AssigmentGet from PDS

J

Jon Magnusson

When I send the following request to PDS:

<Request>
<AssignmentsGet>
<Resources>
<Resource>
<ResourceUID>1</ResourceUID>
</Resource>
</Resources>
<PeriodDateRange>
<PeriodStartDate>20060821000000</PeriodStartDate>
<PeriodEndDate>20060823000000</PeriodEndDate>
</PeriodDateRange>
<LockedDownByManager>1</LockedDownByManager>
</AssignmentsGet>
</Request>


I get an error


<Reply>
<HRESULT>0</HRESULT>
<STATUS>7</STATUS>
<UserName>Jón Magnússon</UserName>
</Reply>


According to the documentation Status 7 is rsNodeNameInvalid , The node name
is not recognized as valid syntax for the request.

I am understanding the error message at something is wrong with my XML ?

I have applied upgrade 2a to Project Server.

Can any of you help or seen this before ?
 
P

Pat

Jon Magnusson said:
When I send the following request to PDS:

<Request>
<AssignmentsGet>
<Resources>
<Resource>
<ResourceUID>1</ResourceUID>
</Resource>
</Resources>
<PeriodDateRange>
<PeriodStartDate>20060821000000</PeriodStartDate>
<PeriodEndDate>20060823000000</PeriodEndDate>
</PeriodDateRange>
<LockedDownByManager>1</LockedDownByManager>
</AssignmentsGet>
</Request>


I get an error


<Reply>
<HRESULT>0</HRESULT>
<STATUS>7</STATUS>
<UserName>Jón Magnússon</UserName>
</Reply>


According to the documentation Status 7 is rsNodeNameInvalid , The
node name is not recognized as valid syntax for the request.

I am understanding the error message at something is wrong with my
XML ?

I have applied upgrade 2a to Project Server.

Can any of you help or seen this before ?
Hi Jon Magnusson,
your XML is ok.
I think your 'current user' have permissions problems.
Permissions: Users can get resource assignments only if they have the
permissions Integrate With External Timesheet Systems and View Resource
Assignments for the requested resources.

I hope this help.
 
J

Jon Magnusson

Pat, Thanks for replying


The user is setup to have all possible rights. Is a member of all Groups
and Categories.
But still the same error.

Regards

Jon M
 
J

Jon Magnusson

Hi


I have added more info below. And found out that the 510 is not giving me
OK on the user. Could that be my problem and if so do I need to have rights
for both 107 and 510 ?
And how do I setup correct rights for 510 ?

regards

JM


P.s
107 is:
PERMISSION_INTEGRATE_WITH_EXTERNAL_TS_SYSTEM allows a user to update
assignment data using the PDS methods AssignmentsSave and
Assignments-ProjectManagerUpdate.


510 is :
View Assignments 510 PERMISSION_SEE_ASSIGNMENTS_IN_ASSIGNMENT_VIEW allows a
user to view resource assignments with the PDS method AssignmentsGet.




Additional setup info :

**************Permission check 107

<Request>
<PermissionCheck>
<PermissionID>107</PermissionID>
</PermissionCheck>
</Request>

<Reply>
<HRESULT>0</HRESULT>
<STATUS>0</STATUS>
<UserName>Jón Magnússon</UserName>
</Reply>


**************Permission check 510***************

<Request>
<PermissionCheck>
<PermissionID>510</PermissionID>
</PermissionCheck>
</Request>
<Reply>
<HRESULT>0</HRESULT>
<STATUS>50</STATUS>
<UserName>Jón Magnússon</UserName>
</Reply>

*****************Admin settings**************
Request>
<AdminSettings>
<Release>1</Release>
</AdminSettings>
</Request>

<Reply>
<HRESULT>0</HRESULT>
<STATUS>0</STATUS>
<UserName>Jón Magnússon</UserName>
<AdminSettings>
<AllowLocalBaseCalendars>0</AllowLocalBaseCalendars>
<DisplayMasterProjects>0</DisplayMasterProjects>
<EnforceCurrency>1</EnforceCurrency>
<ProtectActuals>0</ProtectActuals>
<ProtectBaseline>0</ProtectBaseline>
<BuildTeamOnNewProject>1</BuildTeamOnNewProject>
<RBS>-1</RBS>
</AdminSettings>
</Reply>
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top