CMDBuild Webservice Manual

Page 58

Webservice Manual

5. REST Web Services

/{treeId}

/{treeId}

-treeMode String

GET

Obtain the details of a specific nav tree

-data json

POST

Create a new nav tree with the provided data

-data json

PUT

Update an existing nav tree with the provided data

DELETE

Delete a specific nav tree

/{treeId} * {treeId}: Long Id of the tree

5.2.66. Process configuration Base url: http://hostname:port/cmdbuild/services/rest/v3/configuration/processes Path

Parameters

/statuses

Type GET

Description Obtain a list with the statuses of every available process

5.2.67. Process instance activity email Base url: http://hostname:port/cmdbuild/services/rest/v3/processes/processId/instances/instanceId/activities/ activityId/emails Path /sync

Parameters -flowData

Type POST

Description Update a specific email with a specific card data

5.2.68. Process instance activity Base url: http://hostname:port/cmdbuild/services/rest/v3/processes/processId/instances/processInstanceId/ activities Path

Parameters

/{processActivityId}

Type

Description

GET

Obtain a list of every available task for a specific class

GET

Get all the details of a specific task

5.2.69. Process instance history Base url: http://hostname:port/cmdbuild/services/rest/v3/processes/processId/instances/instanceId/history Path

Parameters -limit Long -start Long

/{recordId}

Type

Description

GET

Obtain a list of the history of processes for a specific card

GET

Get the details of a specific record in the history

5.2.70. Process instances Base url: http://hostname:port/cmdbuild/services/rest/v3/processes/processId/instances Process instance data structure: •

values

Map<String, Object>

_advance

boolean

CMDBuild – Open Source Configuration and Management Database

Page 58


Issuu converts static files into: digital portfolios, online yearbooks, online catalogs, digital photo albums and more. Sign up and create your flipbook.