This handler assigns an Enterprise Resource to a Task.
By downloading this file, you acknowledge that you agree to our Terms of Service
This handler makes a REST call Microsoft Project Online to the Project Server API to assign an Enterprise Resource to an already existing Task. After authenticating against the Project Server using the inputted username and password, the handler first makes a call to Project to get a FormDigestValue which is needed as a part of the authentication for future calls. The inputted Resource Id is then checked against the Resource list of the project and will be added to the Project if the inputted Id is not present. After the Resource has been verified to be attached to the Project, an Assignment is created using the Task Id and Resource Id. Any errors that occur during this process will be caught and re-raised by the handler.
|Project Id||The id of the project that contains the task that will be assigned.|
|Task Id||The id of the task that will be assigned.|
|Resource Id||The id of the Enterprise Resource that will be assigned to the task.|
This handler does not return any results.