Get the state Of A field In the schema associated with the given policy type.
Get the state of a field in the schema associated with the given policy type.
Request
URI
POST
https://{api_host}/approval-service/api/policytypes/{policyTypeId}/schema/update
COPY
Path Parameters
string
policyTypeId
Required
The approval policy type id
Request Body
batchElementUpdateRequest of type(s) application/json
Optional
{
"formValues": {
"entries": [
{
"key": "string"
}
]
},
"headers": {
"entries": [
{
"key": "string"
}
]
},
"trigger": "string",
"triggeredDetailsLayout": {
"pages": [
{
"id": "string",
"label": "string",
"state": {
"dependencies": [
"string"
],
"facets": [
{}
]
},
"sections": [
{
"id": "string",
"label": "string",
"state": {
"dependencies": [
"string"
],
"facets": [
{}
]
},
"rows": [
{
"items": [
{
"size": 0
}
]
}
]
}
]
}
]
},
"affectedElements": [
"string"
]
}
string
trigger
Optional
trigger
array of string
affectedElements
Optional
affectedElements
Responses
200
successful operation
Returns formUpdateResponse of type(s) */*
{
"elementUpdates": [
{
"permissibleValues": [
{
"label": "string"
}
],
"extensionRendererContext": {
"entries": [
{
"key": "string"
}
]
},
"facetValues": {
"facets": [
{
"type": "string"
}
]
},
"id": "string",
"detailLayout": {
"pages": [
{
"id": "string",
"label": "string",
"state": {
"dependencies": [
"string"
],
"facets": [
{}
]
},
"sections": [
{
"id": "string",
"label": "string",
"state": {
"dependencies": [
"string"
],
"facets": [
{}
]
},
"rows": [
{
"items": [
{
"size": 0
}
]
}
]
}
]
}
]
},
"errors": [
"string"
]
}
]
}
Approval Policy Type Operations
POST
Create Approval Policy Type
DELETE
Delete Approval Policy Type
POST
Get the permissible values Of A field In the schema associated with the given policy type.
GET
Get the schema associated with the policy type identified By the given id.
GET
Get the schema associated with the policy type identified By the given id.
GET
Get the schema Of A sub-field In the schema associated with the given policy type identified By the given id.
POST
Get the state Of A field In the schema associated with the given policy type.
GET
Get Subfield Schema Using Typefilter
GET
Retrieve Approval Policy Type
PUT
Update Approval Policy Type