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.
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.
Request
URI
POST
https://{api_host}/work-item-service/api/workitems/{id}/form/update
COPY
Path Parameters
string
Request Body
batchElementUpdateRequest
of type(s)
application/json
Required
"batchElementUpdateRequest Object"
object
formValues
Required
Equivalent of java.util.Map
object
headers
Optional
Equivalent of java.util.Map
string
trigger
Optional
trigger
object
triggeredDetailsLayout
Optional
triggeredDetailsLayout
array of
string
affectedElements
Optional
affectedElements
Responses
200
successful operation
Returns
formUpdateResponse
of type(s)
*/*
{
"elementUpdates": [
{
"permissibleValues": [
{
"label": "string",
"underlyingValue": {}
}
],
"extensionRendererContext": {
"entries": [
{
"value": {},
"key": "string"
}
]
},
"facetValues": {
"facets": [
{
"type": "string",
"value": {}
}
]
},
"id": "string",
"detailLayout": {
"pages": [
{
"id": "string",
"label": "string",
"state": {
"dependencies": [
"string"
],
"facets": [
{
"value": {}
}
]
},
"sections": [
{
"id": "string",
"label": "string",
"state": {
"dependencies": [
"string"
],
"facets": [
{
"value": {}
}
]
},
"rows": [
{
"items": [
{
"size": 0
}
]
}
]
}
]
}
]
},
"errors": [
"string"
]
}
]
}
array of
object
elementUpdates
Optional
elementUpdates
Code Samples
COPY
curl -X POST -H 'Authorization: <value>' -H 'Content-Type: application/json' -d '[{}]' https://{api_host}/work-item-service/api/workitems/{id}/form/update
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.