CreateResourceAssignmentInput Input Object
Fields
#
_id
allocationType
The allocation type (required).
Could be ONLY 'hoursPerDay' or 'fixedHours'. Works in pair with 'fixedDisplayType'. You should ALWAYS PASS 'fixedDisplayType' when you pass 'allocationType'.
endDate
Create a resource assignment with SPECIFIC end date logic:
ALWAYS set endDate to the NEXT DAY after the actual assignment end This is NOT the actual last day - it's the day AFTER
Examples: • 1-day assignment (Jan 1) → endDate = 2025-01-02T00:00:00.000Z • 2-day assignment (Jan 1-2) → endDate = 2025-01-03T00:00:00.000Z • Assignment from Jan 1-5 → endDate = 2025-01-06T00:00:00.000Z
Database requirement - do not use actual end date.
fixedDisplayType
The fixed display type (required). How the allocation value is displayed for user.
Could be ONLY 'hours' or 'days' or 'percentages'. Works in pair with 'allocationType'. You should ALWAYS PASS 'allocationType' when you pass 'fixedDisplayType'.
Usages
#
References
#
- Argument resourceAssignment of field createResourceAssignment from type Mutation
CreateProjectByFormResult