Create Association Type
The API creates a new association type. The API performs the following validation before creating the association type:
1. There is an no existing association type with the specified id.
2. The From Endpoint Type and To Endpoint Type values are checked to make sure they exist.
3. Make sure the cardinality value is valid (0-3).
Association type to be created.
{
"lastUpdated": "string",
"createdDate": "string",
"toType": "string",
"fromType": "string",
"name": "string",
"description": "string",
"id": "string",
"version": 0,
"cardinality": 0
}
lastUpdated
createdDate
toType
fromType
name
description
id
version
cardinality
successful operation
{
"lastUpdated": "string",
"createdDate": "string",
"toType": "string",
"fromType": "string",
"name": "string",
"description": "string",
"id": "string",
"version": 0,
"cardinality": 0
}
lastUpdated
createdDate
toType
fromType
name
description
id
version
cardinality
Unauthorized.
Request failed validation.
Tenantable association types cannot be created.