Program Calendar Strategy Updated

Event generated when an program calendar strategy is updated.

Type: object
Domain: balance
Event: program_calendar_strategy_updated
Version: 1

|
program_calendar_strategy_id required

Description: The unique identifier of the created program calendar strategy.
Type: number
Example:
1000

program_id required

Description: The program associated with the 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 attribute used to create the referred program calendar strategy is represented by a valid JSON.
Type: object
Example:

{
    "cycle_closing_day": 11,
    "days_between_cycle_closing_and_due_date": 7
}
updated_at required

Title: Created date
Description: Creation date of the program calendar strategy.
Type: string
Format: date-time
Example:
2020-02-02T17:12:40Z

{
    "$schema": "http://json-schema.org/draft-04/schema#",
    "type": "object",
    "title": "Program Calendar Strategy Updated",
    "description": "Event generated when an program calendar strategy is updated.",
    "required": [
        "program_calendar_strategy_id",
        "program_id",
        "strategy",
        "configuration",
        "created_at",
        "active",
        "updated_at"
    ],
    "properties": {
        "program_calendar_strategy_id": {
            "type": "number",
            "description": "The unique identifier of the created program calendar strategy.",
            "examples": [
                "1000"
            ]
        },
        "program_id": {
            "type": "number",
            "description": "The program associated with the 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 attribute used to create the referred program calendar strategy is represented by a valid JSON.",
            "examples": [
                {
                    "cycle_closing_day": 11,
                    "days_between_cycle_closing_and_due_date": 7
                }
            ]
        },
        "updated_at": {
            "type": "string",
            "title": "Created date",
            "description": "Creation date of the program calendar strategy.",
            "format": "date-time",
            "examples": [
                "2020-02-02T17:12:40Z"
            ]
        }
    }
}
{
    "program_calendar_strategy_id": "1000",
    "program_id": "1000",
    "strategy": "FIXED_CYCLE_CLOSING",
    "created_at": "2020-02-02T17:12:40Z",
    "active": false,
    "configuration": {
        "cycle_closing_day": 11,
        "days_between_cycle_closing_and_due_date": 7
    },
    "updated_at": "2020-02-02T17:12:40Z"
}