Create Resource Type

Create Resource Type

Creates a resource type or resource mapping in the current tenant.

Request
URI
POST
https:///advanced-designer-service/api/tenants/{tenantId}/types
COPY
Path Parameters
string
tenantId
Required

The tenant


Request Body

The resource type or mapping to create

CSResourceType of type(s) application/json
Required
{
    "externalTypeName": "string",
    "access": "string",
    "reservationTypeId": "string",
    "mappingWorkflowId": "string",
    "builtIn": "boolean",
    "externalTypeId": "string",
    "description": "string",
    "mappingScriptActionFqn": "string",
    "version": {
        "major": "integer",
        "minor": "integer",
        "micro": "integer",
        "version": "string",
        "revision": "integer"
    },
    "vcoType": "string",
    "listLayout": {
        "pages": [
            {
                "id": "string",
                "label": "string",
                "state": {
                    "dependencies": [
                        "string"
                    ],
                    "facets": [
                        {}
                    ]
                },
                "sections": [
                    {
                        "id": "string",
                        "label": "string",
                        "state": {
                            "dependencies": [
                                "string"
                            ],
                            "facets": [
                                {}
                            ]
                        },
                        "rows": [
                            {
                                "items": [
                                    {
                                        "size": "integer"
                                    }
                                ]
                            }
                        ]
                    }
                ]
            }
        ]
    },
    "detailsForm": {
        "form": {
            "designerLayout": {
                "pages": [
                    {
                        "id": "string",
                        "label": "string",
                        "state": {
                            "dependencies": [
                                "string"
                            ],
                            "facets": [
                                {}
                            ]
                        },
                        "sections": [
                            {
                                "designerHidden": "boolean",
                                "id": "string",
                                "label": "string",
                                "state": {
                                    "dependencies": [
                                        "string"
                                    ],
                                    "facets": [
                                        {}
                                    ]
                                },
                                "rows": [
                                    {
                                        "items": [
                                            {
                                                "size": "integer"
                                            }
                                        ]
                                    }
                                ]
                            }
                        ]
                    }
                ]
            },
            "name": "string"
        },
        "scenario": {
            "usageClass": "string",
            "id": "string"
        },
        "id": "string"
    },
    "providerId": "string",
    "mappingWorkflow": {
        "name": "string",
        "description": "string",
        "id": "string",
        "inputParameters": [
            {
                "name": "string",
                "type": "string"
            }
        ],
        "outputParameters": [
            {
                "name": "string",
                "type": "string"
            }
        ]
    },
    "name": "string",
    "tenantId": "string",
    "id": {
        "id": "string",
        "tenant": "string"
    },
    "mappingScriptAction": {
        "fqn": "string",
        "name": "string",
        "description": "string",
        "resultContentType": {
            "typeId": "string"
        },
        "inputParameters": [
            {
                "name": "string",
                "type": "string"
            }
        ],
        "resultType": "string"
    },
    "categoryId": "string"
}
string
externalTypeName
Optional

externalTypeName

string
access
Optional

access

string
reservationTypeId
Optional

reservationTypeId

string
mappingWorkflowId
Optional

mappingWorkflowId

targetCriteria
Optional

targetCriteria

boolean
builtIn
Optional

builtIn

string
externalTypeId
Optional

externalTypeId

string
description
Optional

description

string
mappingScriptActionFqn
Optional

mappingScriptActionFqn

version
Optional

version

string
vcoType
Optional

vcoType

listLayout
Optional

listLayout

detailsForm
Optional

detailsForm

string
providerId
Optional

providerId

mappingWorkflow
Optional

mappingWorkflow

string
name
Optional

name

string
tenantId
Optional

tenantId

id
Optional

id

mappingScriptAction
Optional

mappingScriptAction

string
categoryId
Optional

categoryId

Responses
200

successful operation

Operation doesn't return any data structure

201
Operation doesn't return any data structure