The Schedule Object
All timestamps are in UNIX Epoch time.
Attributes
-
idstringread-Only
The
scheduleIdfor the created schedule -
cronstringThe cron schedule you want to use for the test
-
nextRunintegerread-Only
The timestamp of the next test run
-
enabledbooleanDenotes if the schedule is active
-
typestringread-Only
Type of schedule
-
createdintegerread-Only
Timestamp the schedule was created
-
updatedintegerread-Only
Timestamp the schedule was updated
-
testIdintegerread-Only
required
Test Only
The
testIdof the test. Cannot be changed after creating the schedule -
testCollectionIdintegerread-Only
required
Test Only
The
collectionIdof the multi test. Cannot be changed after creating the schedule -
createdByIdintegerread-Only
The
userIdof the user that created the schedule -
lastUpdatedByIdintegerread-Only
The
userIdof the user that updated the schedule -
nextExecutionsarrayread-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"
}