Remove association
Removes records from an associative entity based on their foreign key values.
Syntax
Copy
PUT <host_address>/ftosapi/evolutive-data-model/RemoveAssociation
| Parameter | Description |
|---|---|
host_address
|
URL of the FintechOS platform server. |
Examples
In this example:
-
Various product licenses are recorded in the Licenses associative entity.
-
The foreign key (lookup-type attribute) in the Licenses entity references the typeID candidate key from its respective table.
-
The request is successful and the record is removed from the associative entity.
Request
Copy
PUT <host_address>/ftosapi/evolutive-data-model/RemoveAssociation
{
"Requests": [
{
"EntityName": "Licenses",
"Values": [
{
"Attribute": "typeID",
"Value": "3fa85f64-5717-4562-b3fc-2c963f66afa6"
}
]
}
]
Response
Copy
Removed association of records: 1