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.
Endpoint type to be created.
{
"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"
}
serviceProviderId
capabilities
displayName
categoryDisplayName
description
version
tenantable
lastUpdated
createdDate
tenantId
id
category
{
"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"
}
serviceProviderId
capabilities
displayName
categoryDisplayName
description
version
tenantable
lastUpdated
createdDate
tenantId
id
category
Unauthorized.
Request failed validation.
Tenantable endpoint types cannot be created.