Create Endpoint Type

Create Endpoint Type

The API creates a new endpoint type. The API performs the following validation before updating the endpoint type:
1. There is an no existing endpoint type with the specified id.

2. Another endpoint type wth the same name does not exist.

Request
URI
POST
https://{api_host}/endpoint-configuration-service/api/types
COPY
Request Body

Endpoint type to be created.

EndpointType of type(s) application/json
Required
{
    "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": [
                        {}
                    ]
                }
            }
        ]
    },
    "serviceProviderId": "string",
    "capabilities": "string",
    "displayName": "string",
    "categoryDisplayName": "string",
    "menuItems": [
        {
            "displayName": "string",
            "icon": "string",
            "menuId": "string",
            "location": "string",
            "id": 0,
            "extensionId": "string"
        }
    ],
    "description": "string",
    "version": 0,
    "tenantable": false,
    "lastUpdated": "string",
    "createdDate": "string",
    "tenantId": "string",
    "id": "string",
    "category": "string"
}
schema
Optional

schema

string
serviceProviderId
Optional

serviceProviderId

string
capabilities
Optional

capabilities

string
displayName
Optional

displayName

string
categoryDisplayName
Optional

categoryDisplayName

menuItems
Optional

menuItems

string
description
Optional

description

integer As int64 As int64
version
Optional

version

boolean
tenantable
Optional

tenantable

string As date-time As date-time
lastUpdated
Optional

lastUpdated

string As date-time As date-time
createdDate
Optional

createdDate

string
tenantId
Optional

tenantId

string
id
Optional

id

string
category
Optional

category

Responses
200
Returns EndpointType of type(s) */*
{
    "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": [
                        {}
                    ]
                }
            }
        ]
    },
    "serviceProviderId": "string",
    "capabilities": "string",
    "displayName": "string",
    "categoryDisplayName": "string",
    "menuItems": [
        {
            "displayName": "string",
            "icon": "string",
            "menuId": "string",
            "location": "string",
            "id": 0,
            "extensionId": "string"
        }
    ],
    "description": "string",
    "version": 0,
    "tenantable": false,
    "lastUpdated": "string",
    "createdDate": "string",
    "tenantId": "string",
    "id": "string",
    "category": "string"
}
schema
Optional

schema

string
serviceProviderId
Optional

serviceProviderId

string
capabilities
Optional

capabilities

string
displayName
Optional

displayName

string
categoryDisplayName
Optional

categoryDisplayName

menuItems
Optional

menuItems

string
description
Optional

description

integer As int64 As int64
version
Optional

version

boolean
tenantable
Optional

tenantable

string As date-time As date-time
lastUpdated
Optional

lastUpdated

string As date-time As date-time
createdDate
Optional

createdDate

string
tenantId
Optional

tenantId

string
id
Optional

id

string
category
Optional

category


403

Unauthorized.

Operation doesn't return any data structure

405

Request failed validation.

Operation doesn't return any data structure

501

Tenantable endpoint types cannot be created.

Operation doesn't return any data structure