POST /scheduled-tasks.json

POST /scheduled-tasks.json
application/json

Body Required

Responses

POST /scheduled-tasks.json
curl \
 -X POST http://api.example.com/v1/scheduled-tasks.json \
 -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": "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"
}