Target model with metric, owner scope, period, and current progress state.
| Name | Type | Description |
|---|---|---|
| currency | Currency | Target currency. Present for currency-based CRM targets. |
| finished | Boolean | Indicates whether the target is finished. |
| firm | Firm | Company scope for the target. |
| id | Int64 | Target ID. |
| last_update | Int64 | Last record update date as Unix time in seconds. |
| name | String | Target name. Maximum accepted length on create is 200 characters. |
| owner | String | Target owner: Firm or User. Allowed values: Default, Firm, User. |
| period | Int32 | Period length in units from period_type. |
| period_type | String | Period type: Day, Week, or Month. Allowed values: Default, Day, Week, Month. |
| repeateable | Boolean | Indicates whether the target repeats. |
| stock | Stock | Optional stock scope for the target. |
| target_type | TargetType | Target type. |
| user | User | Target owner user. Present for personal targets. |
| value | Decimal | Target value to reach during the period. |