Create Approval Policy Type

Create Approval Policy Type

Creates a new approval policy type.

Request
URI
POST
https://{api_host}/approval-service/api/policytypes
COPY
Request Body
ApprovalPolicyType of type(s) application/json
Optional
{
    "phaseTypes": [
        {
            "phaseOrder": 0,
            "name": "string",
            "description": "string",
            "id": "string",
            "forms": {},
            "allowUpdates": false
        }
    ],
    "classId": "string",
    "typeFilter": "string",
    "name": "string",
    "description": "string",
    "serviceTypeId": "string",
    "id": "string"
}
phaseTypes
Optional

phaseTypes

string
classId
Optional

classId

string
typeFilter
Optional

typeFilter

string
name
Optional

name

string
description
Optional

description

string
serviceTypeId
Optional

serviceTypeId

string
id
Optional

id

Responses
200

successful operation

Returns ApprovalPolicyType of type(s) */*
{
    "phaseTypes": [
        {
            "phaseOrder": 0,
            "name": "string",
            "description": "string",
            "id": "string",
            "forms": {},
            "allowUpdates": false
        }
    ],
    "classId": "string",
    "typeFilter": "string",
    "name": "string",
    "description": "string",
    "serviceTypeId": "string",
    "id": "string"
}
phaseTypes
Optional

phaseTypes

string
classId
Optional

classId

string
typeFilter
Optional

typeFilter

string
name
Optional

name

string
description
Optional

description

string
serviceTypeId
Optional

serviceTypeId

string
id
Optional

id


201

Approval policy type created successfully

Returns ApprovalPolicyType of type(s) */*
{
    "phaseTypes": [
        {
            "phaseOrder": 0,
            "name": "string",
            "description": "string",
            "id": "string",
            "forms": {},
            "allowUpdates": false
        }
    ],
    "classId": "string",
    "typeFilter": "string",
    "name": "string",
    "description": "string",
    "serviceTypeId": "string",
    "id": "string"
}
phaseTypes
Optional

phaseTypes

string
classId
Optional

classId

string
typeFilter
Optional

typeFilter

string
name
Optional

name

string
description
Optional

description

string
serviceTypeId
Optional

serviceTypeId

string
id
Optional

id