Program Calendar Strategy Created
Event generated when an program calendar strategy is created.
Type: object
Domain: balance
Event: program_calendar_strategy_created
Version: 1
program_calendar_strategy_id required
Description: The unique identifier of the created program calendar strategy.
Type: number
Example:
1000
strategy required
Description: Calendar strategy
Type: string
Example:
FIXED_CYCLE_CLOSING
created_at required
Title: Created date
Description: Creation date of the program calendar strategy.
Type: string
Format: date-time
Example:
2020-02-02T17:12:40Z
active required
Title: The active flag
Description: The flag that indicates whether the program calendar strategy is active.
Type: boolean
Example:
false
true
configuration required
Title: Configuration properties
Description: The configuration attributed used to create the refered program calendar strategy.
Type: objectcycle_closing_day
Title: Cycle closing day
Description: The selected day to close the cycle.
Type: integer
Example:
28
days_between_cycle_closing_and_due_date
Title: Days between cycle close and due date.
Description: The number of days between the cycle close and due date.
Type: integer
Example:
10
{
"$schema": "http://json-schema.org/draft-04/schema#",
"type": "object",
"title": "Program Calendar Strategy Created",
"description": "Event generated when an program calendar strategy is created.",
"required": [
"program_calendar_strategy_id",
"strategy",
"configuration",
"created_at",
"active"
],
"properties": {
"program_calendar_strategy_id": {
"type": "number",
"description": "The unique identifier of the created program calendar strategy.",
"examples": [
"1000"
]
},
"strategy": {
"type": "string",
"description": "Calendar strategy",
"examples": [
"FIXED_CYCLE_CLOSING"
]
},
"created_at": {
"type": "string",
"title": "Created date",
"description": "Creation date of the program calendar strategy.",
"format": "date-time",
"examples": [
"2020-02-02T17:12:40Z"
]
},
"active": {
"type": "boolean",
"title": "The active flag",
"description": "The flag that indicates whether the program calendar strategy is active.",
"examples": [
false,
true
]
},
"configuration": {
"type": "object",
"title": "Configuration properties",
"description": "The configuration attributed used to create the refered program calendar strategy.",
"properties": {
"cycle_closing_day": {
"type": "integer",
"title": "Cycle closing day",
"description": "The selected day to close the cycle.",
"examples": [
28
]
},
"days_between_cycle_closing_and_due_date": {
"type": "integer",
"title": "Days between cycle close and due date.",
"description": "The number of days between the cycle close and due date.",
"examples": [
10
]
}
}
}
}
}
{
"program_calendar_strategy_id": "1000",
"strategy": "FIXED_CYCLE_CLOSING",
"created_at": "2020-02-02T17:12:40Z",
"active": false,
"configuration": {
"cycle_closing_day": 28,
"days_between_cycle_closing_and_due_date": 10
}
}
Updated 24 days ago