assignResourceToProject
Assigns a production resource of the project's space to the project, or updates the negotiated cost of an existing assignment. Requires edit access to the project. Returns the assignment.
Arguments
negotiatedCostMoneyInputCost negotiated for this project. Omit to leave it unchanged; null clears it.
projectIdID!ID of the project.
resourceIdID!ID of the resource to assign.
Returns
ProjectResourceAssignment!Example
mutation AssignResourceToProject($negotiatedCost: MoneyInput, $projectId: ID!, $resourceId: ID!) {
assignResourceToProject(
negotiatedCost: $negotiatedCost
projectId: $projectId
resourceId: $resourceId
) {
id
projectId
resourceId
}
}