Documentation

{{docApp.title}}

{{docApp.description}}

How can we help?

{{docApp.searchError}}
{{product.name}}

Searching in {{docApp.searchFilterBySpecificBookTitle}}

{{docApp.searchResultFilteredItems.length}} results for: {{docApp.currentResultsSearchText}} in {{docApp.searchFilterBySpecificBookTitle}}
Search results have been limited. There are a total of {{docApp.searchResponse.totalResultsAvailable}} matches.

You have an odd number of " characters in your search terms - each one needs closing with a matching " character!

{{docApp.libraryHomeViewProduct.title || docApp.libraryHomeViewProduct.id}}

{{docApp.libraryHomeViewProduct.description}}

  1. {{book.title}}

{{group.title || group.id}}

{{group.description}}

  1. {{book.title}}

{{group.title}}

Application API / getProjectResourceCapacity

Operation Information

  • Application Reference: com.hornbill.projectmanager
  • Scope: Global
  • Class: Application
  • Required Privilege Level: user
  • Required Rights: Group E - canViewAllProjects

Description

This flowcode operation gets details of the selected project resource's capacity for the given period(s)

Request Parameters

The getProjectResourceCapacity API takes the following input parameters. It is important to note that the parameters must satisfy the requirement of the input validation checks.

Name Type Required Description
projectResourceId xs:string Yes The user id of the project resource.
type xs:string Yes The type of project resource. type.resource, type.team
startDatePeriod1 xs:date Yes The start date of the time period
endDatePeriod1 xs:date Yes The end date of the time period
startDatePeriod2 xs:date No The start date of the time period
endDatePeriod2 xs:date No The end date of the time period
excludedProjectIds xs:integer No A list of project ids to exclude from the results

Response Parameters

Name Type Description
outcome xs:string The outcome of the flowcode operation.
projectResourceCapacity xs:string A JSON string of project resource capacity details.

Code Examples

In This Document