Requests

API Reference for ProcessMaker Request API

Create or update a new setting

post

Create a new Settings css-override

Authorizations
OAuth2authorizationCodeRequired

Laravel passport oauth2 security.

Authorization URL: Token URL: Refresh URL:
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Body
variablesstringOptional
sansSerifFontstringOptional
Responses
201

success

application/json
post
/customize-ui
201

success

Returns all process Requests that the user has access to

get

Display a listing of the resource.

Authorizations
OAuth2authorizationCodeRequired

Laravel passport oauth2 security.

Authorization URL: Token URL: Refresh URL:
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Query parameters
typestring · enumOptional

Only return requests by type (all|in_progress|completed)

Possible values:
filterstringOptional

Filter results by string. Searches Name, Description, and Status. Status must match exactly. Others can be a substring.

order_bystringOptional

Field to order results by

order_directionstring · enumOptionalDefault: ascPossible values:
per_pageintegerOptionalDefault: 10
includestringOptional

Include data from related models in payload. Comma separated list.

Default: ""
Responses
get
/requests
200

list of processes

Get single process request by ID

get

Display the specified resource.

Authorizations
OAuth2authorizationCodeRequired

Laravel passport oauth2 security.

Authorization URL: Token URL: Refresh URL:
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
process_request_idintegerRequired

ID of process request to return

Query parameters
includestringOptional

Include data from related models in payload. Comma separated list.

Default: ""
Responses
get
/requests/{process_request_id}

Update a process request

put

Update a request

Authorizations
OAuth2authorizationCodeRequired

Laravel passport oauth2 security.

Authorization URL: Token URL: Refresh URL:
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
process_request_idintegerRequired

ID of process request to return

Body
user_idstring · idOptional

Represents an Eloquent model of a Request which is an instance of a Process.

callable_idstring · idOptional
dataobjectOptional
statusstring · enumOptionalPossible values:
namestringOptional
process_idintegerOptional
processobjectOptional
Responses
put
/requests/{process_request_id}

No content

Delete a process request

delete

Delete a request

Authorizations
OAuth2authorizationCodeRequired

Laravel passport oauth2 security.

Authorization URL: Token URL: Refresh URL:
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
process_request_idintegerRequired

ID of process request to return

Responses
delete
/requests/{process_request_id}

Update a process request event

post

Trigger a intermediate catch event

Authorizations
OAuth2authorizationCodeRequired

Laravel passport oauth2 security.

Authorization URL: Token URL: Refresh URL:
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
process_request_idstringRequired

ID of process request to return

event_idstringRequired

ID of process event to return

Responses
post
/requests/{process_request_id}/events/{event_id}
204

success

No content

Returns the list of files associated with a request

get

Display a listing of the resource.

Authorizations
OAuth2authorizationCodeRequired

Laravel passport oauth2 security.

Authorization URL: Token URL: Refresh URL:
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
request_idintegerRequired

ID of the request

Query parameters
filterstringOptional

Filter results by string. Searches Name, Description, and Status. Status must match exactly. Others can be a substring.

order_bystringOptional

Field to order results by

order_directionstring · enumOptionalDefault: ascPossible values:
per_pageintegerOptionalDefault: 10
Responses
get
/requests/{request_id}/files
200

list of files

Save a new media file to a request

post

Store a newly created resource in storage.

Authorizations
OAuth2authorizationCodeRequired

Laravel passport oauth2 security.

Authorization URL: Token URL: Refresh URL:
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
request_idintegerRequired

ID of the request

Query parameters
data_namestringOptional

Variable name in the request data to use for the file name

Body
filestring · binaryOptional

save a new media file

Responses
post
/requests/{request_id}/files
200

success

Get a file uploaded to a request

get

Display the specified resource.

Authorizations
OAuth2authorizationCodeRequired

Laravel passport oauth2 security.

Authorization URL: Token URL: Refresh URL:
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
request_idintegerRequired

ID of the request

file_idintegerRequired

ID of the file to return

Responses
get
/requests/{request_id}/files/{file_id}

Delete all media associated with a request

delete

Remove the specified resource from storage.

Authorizations
OAuth2authorizationCodeRequired

Laravel passport oauth2 security.

Authorization URL: Token URL: Refresh URL:
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
file_idintegerRequired

ID of the file

request_idstringRequired

ID of the request

Responses
delete
/requests/{request_id}/files/{file_id}

No content

Last updated