Retrieve the WorkItem Form from for the selected WorkItem from the corresponding Service Provider.
Retrieve the WorkItem Form from for the selected WorkItem from the corresponding Service Provider. If the current user has WRITE access to this form, The submission form is returned, otherwise the details form is returned.
Request
URI
GET
https://{api_host}/work-item-service/api/workitems/{id}/form
COPY
Path Parameters
string
Responses
200
successful operation
Returns
form
of type(s)
*/*
{
"layout": {
"pages": [
{
"id": "string",
"label": "string",
"state": {
"dependencies": [
"string"
],
"facets": [
{
"value": {}
}
]
},
"sections": [
{
"id": "string",
"label": "string",
"state": {
"dependencies": [
"string"
],
"facets": [
{
"value": {}
}
]
},
"rows": [
{
"items": [
{
"size": 0
}
]
}
]
}
]
}
]
},
"fieldPrefixes": [
"string"
],
"values": {
"entries": [
{
"value": {},
"key": "string"
}
]
}
}
object
layout
Optional
layout
array of
string
fieldPrefixes
Optional
fieldPrefixes
object
values
Optional
Equivalent of java.util.Map
Code Samples
COPY
curl -H 'Authorization: <value>' https://{api_host}/work-item-service/api/workitems/{id}/form
Work Item Operations
POST
Create A new WorkItem for the given service.
GET
Retrieve A list Of WorkItem.
PUT
Create A set Of WorkItems
POST
Complete A WorkItem.
POST
Completes the WorkItem If It Is still active.
GET
Retrieve the details Of the given WorkItem.
DELETE
Delete the WorkItem corresponding To the given id.
PUT
Update the WorkItem which corresponds To the given Id.
GET
Retrieve the WorkItem Form from for the selected WorkItem from the corresponding Service Provider.
GET
Retrieve A list Of WorkItem.
POST
Retrieve A set Of form data for the specified workItem and formElement.
POST
Retrieves the metadata Of multiple dynamic elements In single call. It combines the retrieval Of element's ElementState and the list Of permissible values for each element.
POST
Cancel the specified WorkItem.