The Schedule Object

All timestamps are in UNIX Epoch time.

Attributes

  • idstring

    read-Only

    The scheduleId for the created schedule

  • cronstring

    The cron schedule you want to use for the test

  • nextRuninteger

    read-Only

    The timestamp of the next test run

  • enabledboolean

    Denotes if the schedule is active

  • typestring

    read-Only

    Type of schedule

  • createdinteger

    read-Only

    Timestamp the schedule was created

  • updatedinteger

    read-Only

    Timestamp the schedule was updated

  • testIdinteger

    read-Only

    required

    Test Only

    The testId of the test. Cannot be changed after creating the schedule

  • testCollectionIdinteger

    read-Only

    required

    Test Only

    The collectionId of the multi test. Cannot be changed after creating the schedule

  • createdByIdinteger

    read-Only

    The userId of the user that created the schedule

  • lastUpdatedByIdinteger

    read-Only

    The userId of the user that updated the schedule

  • nextExecutionsarray

    read-Only

    The list of timestamps of the next executions

The Schedule Object

{
    "api_version": 4,
    "error": null,
    "result": {
        "id": "5c83ec4a7b12f573685c5f36",
        "cron": "0 0 * * 1-5",
        "nextRun": 1553126400,
        "enabled": false,
        "type": "testRun",
        "created": 1552149578,
        "updated": 1553117534,
        "testCollectionId": 12345678,
        "createdById": 123456,
        "lastUpdatedById": 123456,
        "nextExecutions": [
            1593043200,
            1593129600,
            1593388800,
            1593475200,
            1593561600,
            1593648000,
            1593734400,
            1593993600,
            1594080000,
            1594166400
        ]
    },
    "request_id": "5ef3b1640a13a"
}