GET {repositoryId}/Data/{id}/Actions?modelUrl={modelUrl}&applyBehaviour={applyBehaviour}
Gets the list of available Actions for the given resource.
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
id |
The ID of the Data resource ("New" for new resources). |
string |
Required |
repositoryId |
ID of the resource repository (optional). |
string |
Default value is |
modelUrl |
Model URL (for "New" resources). |
string |
Default value is |
applyBehaviour |
True to apply behaviour, false otherwise. |
boolean |
Default value is False |
Body Parameters
None.
Response Information
Resource Description
List of available Actions.
Collection of ActionName | Description | Type | Additional information |
---|---|---|---|
ActionType | ActionTypes |
None. |
|
Enabled | boolean |
None. |
Response Formats
application/json, text/json
Sample:
[ { "ActionType": 0, "Enabled": true }, { "ActionType": 0, "Enabled": true } ]
application/xml, text/xml
Sample:
<ArrayOfAction xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://www.openworkbpm.com/schema"> <Action> <ActionType>None</ActionType> <Enabled>true</Enabled> </Action> <Action> <ActionType>None</ActionType> <Enabled>true</Enabled> </Action> </ArrayOfAction>