ResourceAssignments Object
Fields
#
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.
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'.
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
#
- Field getResourceAssignment from Query
- Field getResourceAssignments from Query
- Field createResourceAssignment from Mutation
ResourceAssignmentType