Documentation

{{docApp.title}}

{{docApp.description}}

Connect an AI assistant

Your AI assistant can read this documentation directly, so it answers from the current content instead of guessing. Add one of the servers below to your client — they use the Model Context Protocol (MCP). Each one covers a different body of content, so add the one you need.

The catalog did not load. Refresh the page to try again.

Loading…

How can we help?

{{docApp.searchError}}

Searching in {{docApp.searchFilterBySpecificBookTitle}}

 {{docApp.currentResultsSearchText}}  in {{docApp.searchFilterBySpecificBookTitle}}
Found {{docApp.searchResponse.totalResultsAvailable}} matches. Showing the top {{docApp.searchResponse.results ? docApp.searchResponse.results.length : 0}}. Use a more specific search to further narrow down the results.
No documentation pages match this search, so all content types are shown. Most matches are in {{docApp.searchDocTypeRescue.best.name}}.
There is no book with the ID "{{docApp.searchBookRescue.bid}}", so the book filter from this link was ignored and results from all books are shown.

You have an odd number of " characters in your search terms - each one needs closing with a matching " character!
  • {{resultItem.title}} {{resultItem.matchedBy === 'semantic' ? 'semantic' : (resultItem.matchedBy === 'both' ? 'keyword + semantic' : 'keyword')}}

    {{resultItem.url}}

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

{{docApp.libraryHomeViewProduct.description}}

  1. {{book.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