PUT /scheduled-tasks/{id}.json
PUT
/scheduled-tasks/{id}.json
Path parameters
-
id integer(int64) Required
Numeric ID of the instance
Minimum value is
1
.
Body Required
-
createdAt string(date-time)
Created at
-
duration integer(int32) | null
Duration
-
foreignKey integer(int32) Required
Foreign key
-
id integer(int32)
Id
-
message string | null
Message
-
script string Required
Script
-
status string | null
Status
Values are
success
orerror
. -
table string Required
Table
-
updatedAt string(date-time)
Updated at
PUT /scheduled-tasks/{id}.json
curl \
-X PUT http://api.example.com/v1/scheduled-tasks/{id}.json \
-H "Content-Type: application/json" \
-d '{"createdAt":"2023-05-04T09:42:00+00:00","duration":42,"foreignKey":42,"id":42,"message":"string","script":"string","status":"success","table":"string","updatedAt":"2023-05-04T09:42:00+00:00"}'
Request example
{
"createdAt": "2023-05-04T09:42:00+00:00",
"duration": 42,
"foreignKey": 42,
"id": 42,
"message": "string",
"script": "string",
"status": "success",
"table": "string",
"updatedAt": "2023-05-04T09:42:00+00:00"
}