Create Policy
Create policy
Request
URI
POST
https://{api_host}/vco/api/policies
COPY
Request Body
WsPolicy of type(s) application/json
Required
{
"policy-item": [
{
"handlers": [
{
"workflow": {
"customized-icon": false,
"name": "string",
"description": "string",
"href": "string",
"id": "string",
"relations": {
"total": 0,
"start": 0,
"link": [
{
"rel": "string",
"attribute": [
{
"displayValue": "string",
"name": "string",
"value": "string"
}
],
"href": "string",
"type": "string"
}
]
},
"inputParameters": [
{
"scope": "string",
"name": "string",
"description": "string",
"type": "string",
"value": {
"objectType": "string"
},
"updated": false
}
],
"version": "string",
"outputParameters": [
{
"scope": "string",
"name": "string",
"description": "string",
"type": "string",
"value": {
"objectType": "string"
},
"updated": false
}
]
},
"description": "string",
"type": "string",
"event-id": "string",
"script": "string"
}
],
"name": "string",
"description": "string"
}
],
"startup": "string",
"parameter": [
{
"scope": "string",
"name": "string",
"description": "string",
"type": "string",
"value": {
"objectType": "string"
},
"updated": false
}
],
"name": "string",
"description": "string",
"href": "string",
"state": "string",
"relations": {
"total": 0,
"start": 0,
"link": [
{
"rel": "string",
"attribute": [
{
"displayValue": "string",
"name": "string",
"value": "string"
}
],
"href": "string",
"type": "string"
}
]
},
"priority": "string"
}
string
startup
Optional
startup
Possible values are : MANUAL, AUTOMATIC,
string
name
Optional
name
string
description
Optional
description
string
href
Optional
href
string
state
Optional
state
string
priority
Optional
priority
Possible values are : VERY_LOW, LOW, MEDIUM, HIGH, VERY_HIGH,
Responses
202
The request is successful
Operation doesn't return any data structure
400
The request is invalid(validation error)
Operation doesn't return any data structure
401
The user is not authorized
Operation doesn't return any data structure
Policy Service Operations
POST
Create Policy
DELETE
Delete Policy
GET
Get All Policies
GET
Get Policy