Save a new script

Prev Next
Post
/scripts

Create a new script in a process.

Security
OAuth

Laravel passport oauth2 security.

FlowAuthorization Code
Authorization URLhttp://processmaker.test/oauth/authorize
Token URLhttp://processmaker.test/oauth/token
Refresh URLhttp://processmaker.test/token/refresh
HTTP
Type bearer
Body parameters
object
title
string

Represents an Eloquent model of a Script

description
string
language
string
code
string
timeout
integer
run_as_user_id
integer
key
string
script_category_id
integer
Responses
201

success

object
title
string

Represents an Eloquent model of a Script

description
string
language
string
code
string
timeout
integer
run_as_user_id
integer
key
string
script_category_id
integer
id
integer (id)
created_at
string (date-time)
updated_at
string (date-time)