Create A new WorkItemType for A given service provider.
Create a new WorkItemType for a given service provider.
Request
URI
POST
https://{api_host}/work-item-service/api/workitems/types
COPY
Request Body
WorkItemType of type(s) application/json
Optional
{
"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": {}
}
string
pluralizedName
Optional
pluralizedName
string
commentsField
Optional
commentsField
boolean
completeByEmail
Optional
completeByEmail
string
name
Required
name
string
description
Optional
description
string
serviceTypeId
Optional
serviceTypeId
string
id
Optional
id
integer As int64 As int64
version
Optional
version
Responses
200
successful operation
Returns WorkItemType of type(s) */*
{
"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": {}
}
string
pluralizedName
Optional
pluralizedName
string
commentsField
Optional
commentsField
boolean
completeByEmail
Optional
completeByEmail
string
name
Required
name
string
description
Optional
description
string
serviceTypeId
Optional
serviceTypeId
string
id
Optional
id
integer As int64 As int64
version
Optional
version
201
Operation doesn't return any data structure