Get the schema associated with the policy type identified By the given id.
Get the schema associated with the policy type identified by the given id.A policy type is associated with a class-id and an optional type filter that restricts the sub-types of class-id.This call basically retrieves the root schema of the class-id contained in the policy type.
Request
URI
GET
https://{api_host}/approval-service/api/policytypes/{policyTypeId}/schema
COPY
Path Parameters
string
policyTypeId
Required
The approval policy type id
string
typeFilter
Required
The type filter
Responses
200
successful operation
Returns Schema of type(s) */*
{
"fields": [
{
"permissibleValues": {
"customAllowed": false
},
"displayAdvice": "string",
"columns": [
"Field Object"
],
"dataType": {
"typeId": "string"
},
"isMultiValued": false,
"description": "string",
"orderIndex": 0,
"id": "string",
"label": "string",
"state": {
"dependencies": [
"string"
],
"facets": [
{}
]
}
}
]
}
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