Run a script via schedule
POST
Run a script via schedule
Run a script using the FileMaker Scheduled Script Scripting Engine. It is an alternative to running a script via the Data API, oData API, or Custom Web Publishing. Unlike those, this method doesn't require an an account with an extended privilege set, other than the one required to run on a Server.
The Schedule will be created, run and then deleted.
POST /otto/api/script/run-via-schedule Request body
application/json- body
file*File to run script on
script*Script information
POST /otto/api/script/run-via-schedule Positive response
application/json- response
messages*array<>response*curl -X POST 'https://your.server.net/otto/api/script/run-via-schedule' \ -H 'Content-Type: application/json' \ -d '{ "file": { "name": "MyFile.fmp12", "password": "MyPassword", "user": "MyUserName" }, "script": { "name": "MyScript", "param": "This is a parameter" }}'Example Response
{ "messages": [ { "code": 0, "text": "ok" } ], "response": {}}Was this page helpful?