Update Dynamic Entity Definition
PUT /obp/v7.0.0/management/banks/BANK_ID/dynamic-entities/DYNAMIC_ENTITY_ID
OBPv7.0.0-updateDynamicEntityDefinition Roles: CanUpdateDynamicEntityDefinition(per bank) Dynamic-Entity-ManageAPI
Update a Dynamic Entity definition in one space. A definition in another space is not found, whatever its id.
BANK_ID is the space the definition lives in: the id of a bank, or SYS for the system space.
The Role is checked at that BANK_ID, so a Role granted at SYS covers the system space and nothing else.
Every response carries bank_id, SYS included.
For more information see here
User Authentication is Required. The User must be logged in. The Application must also be authenticated.
This endpoint supports User OR Application authentication. You can authenticate either as a logged-in User (with Entitlements) or as an Application using a Consumer Key (with Scopes). See here for more information.
This endpoint supports User OR Application authentication. You can authenticate either as a logged-in User (with Entitlements) or as an Application using a Consumer Key (with Scopes). See here for more information.
This endpoint supports User OR Application authentication. You can authenticate either as a logged-in User (with Entitlements) or as an Application using a Consumer Key (with Scopes). See here for more information.
Example request body
{
"entity_name": "customer_preferences",
"has_personal_entity": true,
"schema": {
"description": "User preferences",
"required": [
"theme"
],
"properties": {
"theme": {
"type": "string",
"minLength": 1,
"maxLength": 20,
"example": "dark",
"description": "The UI theme preference",
"indexed": true
},
"language": {
"type": "string",
"minLength": 2,
"maxLength": 5,
"example": "en",
"description": "ISO language code"
}
}
}
}Example success response
{
"dynamic_entity_id": "abc-123-def",
"entity_name": "customer_preferences",
"user_id": "user-456",
"bank_id": "SYS",
"has_personal_entity": true,
"has_public_access": false,
"has_community_access": false,
"personal_requires_role": false,
"use_row_level_access": false,
"auth_mode": "UserOnly",
"schema": {
"description": "User preferences",
"required": [
"theme"
],
"properties": {
"theme": {
"type": "string",
"minLength": 1,
"maxLength": 20,
"example": "dark",
"description": "The UI theme preference",
"indexed": true
},
"language": {
"type": "string",
"minLength": 2,
"maxLength": 5,
"example": "en",
"description": "ISO language code"
}
}
}
}Possible errors (7)
- OBP-30001: Bank not found. Please specify a valid value for BANK_ID.
- OBP-20001: User not logged in. Authentication is required!
- OBP-20006: User is missing one or more roles:
- OBP-10001: Incorrect json format.
- OBP-09001: DynamicEntity not found. Please specify a valid value for DYNAMIC_ENTITY_ID.
- OBP-50000: Unknown Error.
- OBP-20200: The application cannot be identified.