4. 系统自带

4.1. 保存流程

Type: PUT

Author: Tijs Rademakers

Content-Type: application/x-www-form-urlencoded;charset=utf-8

Description: 保存流程

Path-parameters:

ParameterTypeDescriptionRequiredSince

modelId

string

流程ID

true

-

Query-parameters:

ParameterTypeDescriptionRequiredSince

name

string

流程名称

false

-

description

string

描述

false

-

json_xml

string

详细数据

false

-

svg_xml

string

详细数据

false

-

Request-example:

curl -X PUT -i /activiti/model/77/save --data 'description=ehshec&json_xml=phz06l&svg_xml=8qs4bk&name=健柏.田'

Response-example:

Doesn't return a value.

4.2. 

Type: GET

Author: Tijs Rademakers

Content-Type: application/x-www-form-urlencoded;charset=utf-8

Description: null

Path-parameters:

ParameterTypeDescriptionRequiredSince

modelId

string

No comments found.

true

-

Request-example:

curl -X GET -i /activiti/model/77/json

Response-fields:

FieldTypeDescriptionSince

array

boolean

No comments found.

-

containerNode

boolean

No comments found.

-

missingNode

boolean

No comments found.

-

valueNode

boolean

No comments found.

-

object

boolean

No comments found.

-

_nodeFactory

object

No comments found.

-

└─_cfgBigDecimalExact

boolean

No comments found.

-

_children

map

No comments found.

-

└─any object

object

any object.

-

Response-example:

{
  "array": true,
  "containerNode": true,
  "missingNode": true,
  "valueNode": true,
  "object": true,
  "_nodeFactory": {
    "_cfgBigDecimalExact": true
  },
  "_children": {
    "mapKey": {}
  }
}