Era.Common.NetworkMessage.ConsoleApi.Policies.RpcCreatePolicyRequest

Description

Creates new policy.

Properties

Name JsonSchemaType Description
eraSessionId string
moduleVersion string the config engine module version
policyData reference to Era.Common.DataDefinition.Policy.PolicyData policyData for direct import. If this is set than transactionId and eraSessionId is ignored
staticObjectData reference to Era.Common.DataDefinition.StaticObject.StaticObjectData Name/description of the new policy.
transactionId integer TransactionId of the session

Dual message (request/response)

Era.Common.NetworkMessage.ConsoleApi.Policies.RpcCreatePolicyResponse

Referenced in messages

No references.

JsonSchema

{
    "title": "Era.Common.NetworkMessage.ConsoleApi.Policies.RpcCreatePolicyRequest",
    "type": "object",
    "$schema": "http://json-schema.org/draft-04/schema#",
    "additionalProperties": false,
    "required": [
        "Era.Common.NetworkMessage.ConsoleApi.Policies.RpcCreatePolicyRequest"
    ],
    "properties": {
        "Era.Common.NetworkMessage.ConsoleApi.Policies.RpcCreatePolicyRequest": {
            "$ref": "#/definitions/RpcCreatePolicyRequest"
        }
    },
    "definitions": {
        "RpcCreatePolicyRequest": {
            "additionalProperties": false,
            "required": [
                "staticObjectData"
            ],
            "type": "object",
            "properties": {
                "eraSessionId": {
                    "type": "string"
                },
                "moduleVersion": {
                    "type": "string"
                },
                "policyData": {
                    "$ref": "Era.Common.DataDefinition.Policy.PolicyData#/definitions/PolicyData"
                },
                "staticObjectData": {
                    "$ref": "Era.Common.DataDefinition.StaticObject.StaticObjectData#/definitions/StaticObjectData"
                },
                "transactionId": {
                    "type": "integer"
                }
            }
        }
    }
}