This documentation is archived and is not being maintained.

ProjectResourcesBatch Method

Office 2003

Description

This PDS method provides a batch processing container for multiple calls to one or more of the following enterprise project resources methods, for Microsoft Office Project Server 2003:

Syntax

<Request>
   <ProjectResourcesBatch>
      <ProjectResourcesCreate>
         . . .
      </ProjectResourcesCreate>
      <ProjectResourcesDelete>
         . . .
      </ProjectResourcesDelete>
      <ProjectResourcesReplace>
         . . .
      </ProjectResourcesReplace>
      <ProjectSetResourcesBookingType>
         . . .
      </ProjectSetResourcesBookingType>
         . . .
   </ProjectResourcesBatch>
</Request>

Parameters

See the individual enterprise project resources methods for parameter descriptions.

ProjectResourcesCreate

Optional. Creates resources in a project.

ProjectResourcesDelete

Optional. Deletes resources in a project.

ProjectResourcesReplace

Optional. Replaces resources in a project.

ProjectSetResourcesBookingType

Optional. Changes the booking type for resources in a project.

Return Value

In the batch request, either all method calls succeed, or if any call fails, all calls fail. If all of the requests are successful, then ProjectResourcesBatch returns a successful HRESULT and STATUS.  If any method call fails, the PDS returns the HRESULT and STATUS for the first call that fails.

<Reply>
   <HRESULT></HRESULT>
   <STATUS></STATUS>
   <UserName></UserName>
</Reply>

Remarks

A project must be checked out to the current user for any of the project resources methods. ProjectResourcesBatch simply calls the project resources methods, it does not check permissions.

 

Show: