BatchUpdateDocs(obsolete)

Deprecated from 4.6, it is recommended to use UpdateDocument instead

Interface Function

Update document of the specified Form, and activate workflow at the same time.

Request Parameter
Parameter Type Remarks
DocIds List<String>
FieldsValue Dictionary <String, String> The parameters of the fields to be updated or the workflow to be executed need to be added in FieldsValue.
ActionCode String Actioncode that corresponds to workflow.
EntityName String Specified form
StaffId String User ID
StaffName String User Name
CurrentUserRole List<String> Parameter value of user type is array type.
ActionMessage String Operation instruction of workflow
UpdateWorkFlowArgs Boolean Pass false
Items List<BatchUpdateDocsModel> A single regular update requires all of the above steps, and the batch update uses BatchUpdateDocsModel.
Return Data Type

int Result of 1 is for success, and other values are for failure.

Input Sample
{
  "Token": "",
  "DocIds": [
    "7d5b134b-3b89-413f-ad4e-86d21f98a62e"
  ],
  "FieldsValue": {
    "FlagPrivate": "Yes"
  },
  "ActionCode": "37cccf7e4af54d79801b999d7f930866",
  "EntityName": "DemoFormAlias",
  "StaffId": "DemoUser",
  "StaffName": "DemoUser",
  "CurrentUserRole": [],
  "ActionMessage": "Submit",
  "UpdateWorkflowArgs": false,
  "Items": null
}
Return Sample
{
    "StatusCode": 200,
    "Info": "Request (or process) succeeded",
    "Data": [
        {
            "EntityName": "DemoFormAlias",
            "dataId": "7d5b134b-3b89-413f-ad4e-86d21f98a62e",
            "result": "1",
            "msg": "Process successed"
        }
    ]
}
© Digital Maker Product Team all right reserved,powered by Gitbook该文件修订时间: 2023-02-02 10:40:12

results matching ""

    No results matching ""