...
URL | HTTP Type | Description |
---|---|---|
/entity?generatedBy={activity id} | POST | Creates a new entity and creates a generatedBy connection to the provided activity.
|
/entity/{id}?generatedBy={activity id} | PUT | Updates the entity and creates a generatedBy connection from the current version of the entity to the provided activity. Set activity id to -1 to delete generatedBy connection.
|
/entity/{id}/version?generatedBy={activityId} | PUT | Creates a new version of a given version-able entity and creates a generatedBy connection to the provided activity. Set activity id to -1 to delete generatedBy connection.
|
/entity/bundle?generatedBy={activityId} | POST | Creates a new EntityBundle and creates a generatedBy connection to the provided activity. Set activity id to -1 to delete generatedBy connection.
|
/entity/bundle?generatedBy={activityId} | PUT | Updates an EntityBundle and creates a generatedBy connection to the provided activity. Set activity id to -1 to delete generatedBy connection.
|
...
The following table describes the new methods for performing CRUD on Activity objects.
URL | HTTP Type | Description | /activity | GET | Paginated service to get all Activities (that you can see)|
---|---|---|---|---|---|
/activity | POST | Creates a new activity object. | |||
/activity/{activityId} | GET | Returns the specified activity.
| |||
/activity/{activityId} | PUT | Updates the specified activity.
| |||
/activity/{activityId} | DELETE |
|