You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The current progress of the customer in the achievement.
start_date
datetime
Timestamp at which the customer started the achievement.
[optional]
completion_date
datetime
Timestamp at which point the customer completed the achievement.
[optional]
end_date
datetime
Timestamp at which point the achievement ends and resets for the customer.
[optional]
achievement_id
int
The internal ID of the achievement.
name
str
The internal name of the achievement used in API requests.
title
str
The display name of the achievement in the Campaign Manager.
description
str
The description of the achievement in the Campaign Manager.
campaign_id
int
The ID of the campaign the achievement belongs to.
target
float
The required number of actions or the transactional milestone to complete the achievement.
[optional]
achievement_recurrence_policy
str
The policy that determines if and how the achievement recurs. - `no_recurrence`: The achievement can be completed only once. - `on_expiration`: The achievement resets after it expires and becomes available again. - `on_completion`: When the customer progress status reaches `completed`, the achievement resets and becomes available again.
achievement_activation_policy
str
The policy that determines how the achievement starts, ends, or resets. - `user_action`: The achievement ends or resets relative to when the customer started the achievement. - `fixed_schedule`: The achievement starts, ends, or resets for all customers following a fixed schedule.
achievement_fixed_start_date
datetime
The achievement's start date when `achievementActivationPolicy` is equal to `fixed_schedule`. Note: It is an RFC3339 timestamp string.
[optional]
achievement_end_date
datetime
The achievement's end date. If defined, customers cannot participate in the achievement after this date. Note: It is an RFC3339 timestamp string.
[optional]
achievement_allow_rollback_after_completion
bool
When `true`, customer progress can be rolled back in completed achievements.
[optional]
Example
fromtalon_one.models.achievement_progress_with_definitionimportAchievementProgressWithDefinition# TODO update the JSON string belowjson="{}"# create an instance of AchievementProgressWithDefinition from a JSON stringachievement_progress_with_definition_instance=AchievementProgressWithDefinition.from_json(json)
# print the JSON string representation of the objectprint(AchievementProgressWithDefinition.to_json())
# convert the object into a dictachievement_progress_with_definition_dict=achievement_progress_with_definition_instance.to_dict()
# create an instance of AchievementProgressWithDefinition from a dictachievement_progress_with_definition_from_dict=AchievementProgressWithDefinition.from_dict(achievement_progress_with_definition_dict)