###流程查询
POST {{baseUrl}}/m/test/task/acceptor
Content-Type: application/json

{
  "seq": "123456",
  "transmission": {
    "processInstanceId": "11111"
  }
}


###流程部署
POST {{baseUrl}}/m/test/task/deploy
Content-Type: application/json

{
  "seq": "123456",
  "transmission": {
    "processInstanceId": "11111",
    "modelId": "f589444d-efa8-11eb-99ca-c25bd865180b"
  }
}


###流程启动
POST {{baseUrl}}/m/test/process/start
Content-Type: application/json

{
  "seq": "123456",
  "transmission": {
    "dataKey": "mydata",
    "deployId": "t5:6:30516",
    "processInstanceId": "11111",
    "userId": "admin"
  }
}


###测试excel导入
POST {{baseUrl}}/m/test/testImport
Content-Type: multipart/form-data; boundary=WebAppBoundary

--WebAppBoundary
Content-Disposition: form-data; name="file"; filename="test.xlsx"
Content-Type: multipart/form-data

< ./test.xlsx
--WebAppBoundary--



###测试bpmn.xml导入
POST {{baseUrl}}/m/test/importXml
Content-Type: multipart/form-data; boundary=WebAppBoundary

--WebAppBoundary
Content-Disposition: form-data; name="file"; filename="test.xlsx"
Content-Type: multipart/form-data

< ./bpmn.xml
--WebAppBoundary--


###readXml
POST {{baseUrl}}/m/test/readXml
Content-Type: application/json

{
  "seq": "123456",
  "transmission": {
    "dataKey": "mydata",
    "deployId": "f177da63-f41b-11eb-9cf4-c25bd865180b",
    "processInstanceId": "11111",
    "userId": "admin"
  }
}

###form
POST {{baseUrl}}/m/test/form
Content-Type: application/json

{
  "entity": {
    "formName": "test"
  },
  "id": [
    1
  ],
  "pageInfo": {
    "currPage": 2,
    "prePageResult": 100
  },
  "query": {
    "formName": "111"
  }
}



###start
POST {{baseUrl}}/m/test/instanceStart
Content-Type: application/json

{
  "businessKey": "12321",
  "creator": "12412",
  "formName": "421313",
  "platformSn": "jdjd",
  "userCode": "sde3312",
  "variables": {
    "test": "ddddd"
  }
}


###form
POST {{baseUrl}}/m/test/instanceReadImage
Content-Type: application/json

{
  "businessKey": "12321",
  "creator": "12412",
  "formName": "421313",
  "platformSn": "jdjd",
  "userCode": "sde3312",
  "variables": {
    "test": "ddddd"
  }
}



###readImage
POST {{baseUrl}}/m/test/readImage
Content-Type: application/json

{
  "businessKey": "12321",
  "creator": "12412",
  "formName": "421313",
  "platformSn": "jdjd",
  "userCode": "sde3312",
  "variables": {
    "test": "ddddd",
    "3323": "啊打发"
  }
}

###delete
POST {{baseUrl}}/m/test/delete
Content-Type: application/json

{
  "seq": "123456",
  "transmission": {
    "dataKey": "mydata",
    "deployId": "f177da63-f41b-11eb-9cf4-c25bd865180b",
    "processInstanceId": "11111",
    "userId": "admin"
  }
}


###list
POST {{baseUrl}}/m/platform/list
Content-Type: application/json

{
  "seq": "123456",
  "transmission": {
    "dataKey": "mydata",
    "deployId": "f177da63-f41b-11eb-9cf4-c25bd865180b",
    "processInstanceId": "11111",
    "userId": "admin"
  }
}



###测试bpmn.xml导入model
POST {{baseUrl}}/m/test/importXmlToModel
Content-Type: multipart/form-data; boundary=WebAppBoundary

--WebAppBoundary
Content-Disposition: form-data; name="file"; filename="test.xlsx"
Content-Type: multipart/form-data

< ./bpmn.xml
--WebAppBoundary--
