POST /scheduled-tasks.json
POST
/scheduled-tasks.json
curl \
-X POST http://api.example.com/v1/scheduled-tasks.json \
-H "Authorization: Bearer $ACCESS_TOKEN" \
-H "Content-Type: application/json" \
-d '{"duration":42,"foreignKey":42,"message":"string","script":"string","status":"success","table":"string"}'
Request example
{
"duration": 42,
"foreignKey": 42,
"message": "string",
"script": "string",
"status": "success",
"table": "string"
}
Response examples (200)
{
"createdAt": "2024-05-04T09:42:00+00:00",
"duration": 42,
"foreignKey": 42,
"id": 42,
"message": "string",
"script": "string",
"status": "success",
"table": "string",
"updatedAt": "2024-05-04T09:42:00+00:00"
}