Create A set Of WorkItems

Create A set Of WorkItems

Create a set of WorkItems

Request
URI
PUT
https://{api_host}/work-item-service/api/workitems
COPY
Request Body
entities of type(s) application/json
Required
{
    "links": [
        {
            "rel": "string",
            "href": "string"
        }
    ],
    "content": [
        {
            "assignedDate": "string",
            "availableActions": [
                {
                    "stateNameId": "string",
                    "stateName": "string",
                    "name": "string",
                    "icon": {
                        "image": [
                            "string"
                        ],
                        "name": "string",
                        "id": "string",
                        "contentType": "string"
                    },
                    "id": "string"
                }
            ],
            "workItemNumber": 0,
            "workItemType": {
                "pluralizedName": "string",
                "commentsField": "string",
                "completeByEmail": false,
                "listView": {
                    "columns": [
                        {
                            "filterable": false,
                            "permissibleValues": {
                                "customAllowed": false
                            },
                            "displayAdvice": "string",
                            "dataType": {
                                "typeId": "string"
                            },
                            "isMultiValued": false,
                            "description": "string",
                            "orderIndex": 0,
                            "id": "string",
                            "label": "string",
                            "state": {
                                "dependencies": [
                                    "string"
                                ],
                                "facets": [
                                    {}
                                ]
                            },
                            "sortable": false
                        }
                    ],
                    "defaultSequence": [
                        "string"
                    ]
                },
                "name": "string",
                "description": "string",
                "serviceTypeId": "string",
                "id": "string",
                "actions": [
                    {
                        "stateNameId": "string",
                        "stateName": "string",
                        "name": "string",
                        "icon": {
                            "image": [
                                "string"
                            ],
                            "name": "string",
                            "id": "string",
                            "contentType": "string"
                        },
                        "id": "string"
                    }
                ],
                "version": 0,
                "forms": {}
            },
            "assignedOrCompletedDate": "string",
            "assignees": [
                {
                    "displayName": "string",
                    "principalId": "string",
                    "principalType": "string"
                }
            ],
            "workItemRequest": {
                "itemId": "string",
                "itemName": "string",
                "itemRequestor": "string",
                "itemData": {
                    "entries": [
                        {
                            "key": "string"
                        }
                    ]
                },
                "itemCost": "number",
                "itemDescription": "string"
            },
            "version": 0,
            "completedDate": "string",
            "subTenantId": "string",
            "createdDate": "string",
            "formUrl": "string",
            "tenantId": "string",
            "id": "string",
            "serviceId": "string",
            "completedBy": "string",
            "callbackEntityId": "string",
            "status": "string"
        }
    ]
}
array of Link
links
Optional

links

array of WorkItem
content
Optional

content

Responses
200
Operation doesn't return any data structure