Update Association Type

Update Association Type

The API updates an existing association type. The API performs the following validation before updating the association type:
1. There is an existing association type with the specified id.

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

Request
URI
PUT
https://{api_host}/endpoint-configuration-service/api/associationtypes/{id}
COPY
Path Parameters
string
id
Required

Id of the association type to be updated.


Request Body

Association type to be updated with.

AssociationType of type(s) application/json
Required
{
    "lastUpdated": "string",
    "createdDate": "string",
    "toType": "string",
    "fromType": "string",
    "name": "string",
    "description": "string",
    "id": "string",
    "version": 0,
    "cardinality": 0
}
string As date-time As date-time
lastUpdated
Optional

lastUpdated

string As date-time As date-time
createdDate
Optional

createdDate

string
toType
Optional

toType

string
fromType
Optional

fromType

string
name
Optional

name

string
description
Optional

description

string As uuid As uuid
id
Optional

id

integer As int64 As int64
version
Optional

version

integer As int32 As int32
cardinality
Required

cardinality

Responses
204
Operation doesn't return any data structure

403

Unauthorized.

Operation doesn't return any data structure

404

Association type with the specified id does not exist.

Operation doesn't return any data structure

405

Request failed validation.

Operation doesn't return any data structure