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.

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": [
                    {}
                ]
            }
        }
    ]
}
array of Field
fields
Optional

fields