Create Security Group Type

Create Security Group Type

Create a security group type

Request
URI
POST
https://{api_host}/network-service//api/security-groups/types
COPY
Request Body
SecurityGroupType of type(s) application/json
Optional
{
    "schema": [
        {
            "schema": {
                "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": [
                                {}
                            ]
                        }
                    }
                ]
            },
            "lastUpdated": "string",
            "schemaClassId": "string",
            "createdDate": "string",
            "id": "string",
            "version": 0
        }
    ],
    "lastUpdated": "string",
    "createdDate": "string",
    "name": "string",
    "serviceTypeId": "string",
    "description": "string",
    "id": "string",
    "version": 0,
    "allocationRelatedResourceTypes": [
        "string"
    ]
}
schema
Optional

schema

string As date-time As date-time
lastUpdated
Optional

lastUpdated

formReference
Required

formReference

string As date-time As date-time
createdDate
Optional

createdDate

string
name
Optional

name

string
serviceTypeId
Optional

serviceTypeId

string
description
Optional

description

string
id
Optional

id

integer As int64 As int64
version
Optional

version

array of string
allocationRelatedResourceTypes
Optional

allocationRelatedResourceTypes

Responses
200

successful operation

Returns SecurityGroupType of type(s) */*
{
    "schema": [
        {
            "schema": {
                "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": [
                                {}
                            ]
                        }
                    }
                ]
            },
            "lastUpdated": "string",
            "schemaClassId": "string",
            "createdDate": "string",
            "id": "string",
            "version": 0
        }
    ],
    "lastUpdated": "string",
    "createdDate": "string",
    "name": "string",
    "serviceTypeId": "string",
    "description": "string",
    "id": "string",
    "version": 0,
    "allocationRelatedResourceTypes": [
        "string"
    ]
}
schema
Optional

schema

string As date-time As date-time
lastUpdated
Optional

lastUpdated

formReference
Required

formReference

string As date-time As date-time
createdDate
Optional

createdDate

string
name
Optional

name

string
serviceTypeId
Optional

serviceTypeId

string
description
Optional

description

string
id
Optional

id

integer As int64 As int64
version
Optional

version

array of string
allocationRelatedResourceTypes
Optional

allocationRelatedResourceTypes


201

Security group type created successfully

Returns SecurityGroupType of type(s) */*
{
    "schema": [
        {
            "schema": {
                "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": [
                                {}
                            ]
                        }
                    }
                ]
            },
            "lastUpdated": "string",
            "schemaClassId": "string",
            "createdDate": "string",
            "id": "string",
            "version": 0
        }
    ],
    "lastUpdated": "string",
    "createdDate": "string",
    "name": "string",
    "serviceTypeId": "string",
    "description": "string",
    "id": "string",
    "version": 0,
    "allocationRelatedResourceTypes": [
        "string"
    ]
}
schema
Optional

schema

string As date-time As date-time
lastUpdated
Optional

lastUpdated

formReference
Required

formReference

string As date-time As date-time
createdDate
Optional

createdDate

string
name
Optional

name

string
serviceTypeId
Optional

serviceTypeId

string
description
Optional

description

string
id
Optional

id

integer As int64 As int64
version
Optional

version

array of string
allocationRelatedResourceTypes
Optional

allocationRelatedResourceTypes