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}}

Entity API / addAchievement

Operation Information

  • Application Reference: com.hornbill.core
  • Scope: Entity - Achievement
  • Class: Entity
  • Required Privilege Level: none
  • Required Rights: none

Description

For internal use only - This flowcode operation awards an achievement to the specified user.

Request Parameters

The addAchievement 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
awardedTo xs:string Yes The login id of the user who will be awarded the achievement.
awardedBy xs:string Yes The login id of the user who has awarded the achievement.
category xs:string Yes The category of the achievement.
title xs:string Yes The title of the achievement.
reason xs:string Yes The reason for awarding the achievement.
updateUserWall xs:boolean No Indicates whether or not a post will be written to the user's wall. If not specified, the default is false.

Response Parameters

Name Type Description
result xs:string The result of the api call.

Code Examples

In This Document