Target
A Target is a specific goal that members of an organization can aim to achieve (target) or can consider as the maximum limit that a certain counter must not exceed (budget).
An example of a target could be the sales amount of a specific product line in a period, while an example of a budget could be the maximum value of discounts that an agent can grant to a group of customers for a specific item.
A target is created by a user by defining its main characteristics such as type, measurement method, and validity period.
📄️ listTargetMeasurementMethods
Returns a list of `TargetMeasurementMethod` resources.
📄️ listTargets
Returns a list of `Target` resources.
📄️ createTarget
Creates a `Target` resource.
📄️ getTarget
Returns a `Target` resources.
📄️ updateTarget
Updates a `Target` resource.
📄️ deleteTarget
Deletes a `Target` resource.
📄️ listTargetValues
Returns a list of `TargetValue` resources for the given target.
📄️ createTargetValue
Creates a `TargetValue` resource for the given target.
📄️ getTargetValue
Returns a `TargetValue` resource for the given target and target value.
📄️ updateTargetValue
Updates a `TargetValue` resource.
📄️ closeTargetValue
Updates the status of a `TargetValue` to *closed*.
📄️ editTarget
Edit a `Target` resource.
📄️ publishTarget
Publish a `Target` resource.
📄️ listEligiblePartiesForTargetValue
Returns a list of *subjects* to associate with the target.
📄️ listEligibleCustomerAccountsForTargetValue
Returns a list of *CustomerAccounts* to associate with the target.