Magidoc

getResourceAssignments
Query

Get resource assignments. You love to run this query. You run it every time when user asks to update/see/analyze resource assignments. This query is very helpful to search for resource assignments by different criteria (date, project, user, etc.). ALWAYS use search to find the resource assignment before updating it. If the resource assignments are not found, DONT RUN THE UPDATE MUTATION. If the resource assignments are found, update resource assignments.

Arguments

#

workspaceId

ID !
Non-null

The workspace id

resourceId

The resource id

projectId

The project id

startDate

Searches resource assignments which have endDate after this date

endDate

Searches resource assignments which have startDate before this date

Response

#

Returns [ ResourceAssignments !].

Example

#

    
  

3

    
  

3

    
  

3