Update Work Items

Updates the specified work items.

Endpoint
http://ace-nightly-test/bpm/work/v1/workItems
Request Method:
PUT
Request Payload
[
    {
        "id": "240",
        "version": "0",
        "header": {
            "distributionStrategy": {
                "stringKey": "WMdsOffer",
                "description": "Offer"
            },
            "priority": 50,
            "startDate": "2024-06-27T09:26:04.293Z",
            "name": "UserTask2",
            "description": "User Task 2",
            "flags": {
                "scheduleStatus": {
                    "stringKey": "WMschedStatusDuring",
                    "description": "During"
                }
            },
            "itemContext": {
                "activityId": "t:002g3t.sh",
                "activityName": "UserTask2",
                "appInstance": "p:0a203t",
                "appName": "NewProjectProcess",
                "appId": "_pstycFtHEe21XL-QAoREuA"
            },
            "userId": "tibco-admin"
        },
        "state": {
            "stringKey": "WMstateAllocate",
            "description": "Allocate"
        },
        "attributes": {},
        "visible": true,
        "headerInitialsName": "U"
    }
]
View Response
Response
[
    {
        "id": "240",
        "visible": true,
        "header": {
            "distributionStrategy": {
                "stringKey": "WMdsOffer",
                "description": "Offer"
            },
            "priority": 50,
            "startDate": "2024-06-27T09:26:04.293Z",
            "name": "UserTask2",
            "description": "User Task 2",
            "flags": {
                "scheduleStatus": {
                    "stringKey": "WMschedStatusDuring",
                    "description": "During"
                }
            },
            "itemContext": {
                "activityId": "t:002g3t.sh",
                "activityName": "UserTask2",
                "appInstance": "p:0a203t",
                "appName": "NewProjectProcess",
                "appId": "_pstycFtHEe21XL-QAoREuA"
            },
            "userId": "tibco-admin"
        },
        "state": {
            "stringKey": "WMstateAllocated",
            "description": "Allocate"
        },
        "version": "1"
    }
]