Create A new WorkItem for the given service.

Create A new WorkItem for the given service.

Create a new WorkItem for the given service.

Request
URI
POST
https:///work-item-service/api/workitems
COPY
Request Body
WorkItem of type(s) application/json
Optional
{
    "assignedDate": "string",
    "availableActions": [
        {
            "stateNameId": "string",
            "stateName": "string",
            "name": "string",
            "icon": {
                "image": [
                    "string"
                ],
                "name": "string",
                "id": "string",
                "contentType": "string"
            },
            "id": "string"
        }
    ],
    "workItemNumber": "integer",
    "workItemType": {
        "pluralizedName": "string",
        "commentsField": "string",
        "completeByEmail": "boolean",
        "listView": {
            "columns": [
                {
                    "filterable": "boolean",
                    "permissibleValues": {
                        "customAllowed": "boolean"
                    },
                    "displayAdvice": "string",
                    "dataType": {
                        "typeId": "string"
                    },
                    "isMultiValued": "boolean",
                    "description": "string",
                    "orderIndex": "integer",
                    "id": "string",
                    "label": "string",
                    "state": {
                        "dependencies": [
                            "string"
                        ],
                        "facets": [
                            {}
                        ]
                    },
                    "sortable": "boolean"
                }
            ],
            "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": "integer",
        "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": "integer",
    "completedDate": "string",
    "subTenantId": "string",
    "createdDate": "string",
    "formUrl": "string",
    "tenantId": "string",
    "id": "string",
    "serviceId": "string",
    "completedBy": "string",
    "callbackEntityId": "string",
    "status": "string"
}
string As date-time As date-time
assignedDate
Optional

assignedDate

availableActions
Optional

availableActions

integer As int64 As int64
workItemNumber
Optional

workItemNumber

workItemType
Required

workItemType

string As date-time As date-time
assignedOrCompletedDate
Optional

assignedOrCompletedDate

assignees
Required

assignees

workItemRequest
Required

workItemRequest

integer As int64 As int64
version
Optional

version

string As date-time As date-time
completedDate
Optional

completedDate

string
subTenantId
Optional

subTenantId

string As date-time As date-time
createdDate
Optional

createdDate

string
formUrl
Optional

formUrl

string
tenantId
Required

tenantId

string As uuid As uuid
id
Optional

id

string
serviceId
Required

serviceId

string
completedBy
Optional

completedBy

string
callbackEntityId
Required

callbackEntityId

string
status
Optional

status

Responses
200

successful operation

Returns WorkItem of type(s) */*
{
    "assignedDate": "string",
    "availableActions": [
        {
            "stateNameId": "string",
            "stateName": "string",
            "name": "string",
            "icon": {
                "image": [
                    "string"
                ],
                "name": "string",
                "id": "string",
                "contentType": "string"
            },
            "id": "string"
        }
    ],
    "workItemNumber": "integer",
    "workItemType": {
        "pluralizedName": "string",
        "commentsField": "string",
        "completeByEmail": "boolean",
        "listView": {
            "columns": [
                {
                    "filterable": "boolean",
                    "permissibleValues": {
                        "customAllowed": "boolean"
                    },
                    "displayAdvice": "string",
                    "dataType": {
                        "typeId": "string"
                    },
                    "isMultiValued": "boolean",
                    "description": "string",
                    "orderIndex": "integer",
                    "id": "string",
                    "label": "string",
                    "state": {
                        "dependencies": [
                            "string"
                        ],
                        "facets": [
                            {}
                        ]
                    },
                    "sortable": "boolean"
                }
            ],
            "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": "integer",
        "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": "integer",
    "completedDate": "string",
    "subTenantId": "string",
    "createdDate": "string",
    "formUrl": "string",
    "tenantId": "string",
    "id": "string",
    "serviceId": "string",
    "completedBy": "string",
    "callbackEntityId": "string",
    "status": "string"
}
string As date-time As date-time
assignedDate
Optional

assignedDate

availableActions
Optional

availableActions

integer As int64 As int64
workItemNumber
Optional

workItemNumber

workItemType
Required

workItemType

string As date-time As date-time
assignedOrCompletedDate
Optional

assignedOrCompletedDate

assignees
Required

assignees

workItemRequest
Required

workItemRequest

integer As int64 As int64
version
Optional

version

string As date-time As date-time
completedDate
Optional

completedDate

string
subTenantId
Optional

subTenantId

string As date-time As date-time
createdDate
Optional

createdDate

string
formUrl
Optional

formUrl

string
tenantId
Required

tenantId

string As uuid As uuid
id
Optional

id

string
serviceId
Required

serviceId

string
completedBy
Optional

completedBy

string
callbackEntityId
Required

callbackEntityId

string
status
Optional

status


201
Operation doesn't return any data structure