Creates a new resource allocation for a user on a project.
Request Body Requirements: All values in the object are required.
Known Errors:
InvalidAllocationError — The allocation is invalid:
allocatedHours fieldfrom date is greater than or equal to the to dateAllocationAlreadyExistInDatesRangeError — An allocation already exists within the specified date rangeUserNotFoundError — The specified user cannot be foundUserNotHaveWorkDaysError — The user does not have any work days configuredProjectNotFoundError — The specified project cannot be foundUses the same authentication as the main COR API. Obtain a token from https://api.projectcor.com/v1/oauth/token
ID of the user being allocated
Company ID
Start date (YYYY-MM-DD)
End date (YYYY-MM-DD). Must be after 'from' date and within 12 months.
ID of the user who assigned the allocation
Number of hours allocated
User email (optional)
Allocation saved successfully