Create new ogcr_dynamicentities_log
POST /obp/dynamic-entity/banks/ogcr/ogcr_dynamicentities_log
OBPv4.0.0-dynamicEntity_createogcr_dynamicentities_log_ogcr Roles: CanCreateDynamicEntityRecord_ogcr_dynamicentities_log(per bank) _Ogcr_dynamicentities_log(ogcr)Dynamic-EntityDynamic
Create new ogcr_dynamicentities_log.
Audit log of OGCR dynamic-entity data creation: one record per created object or failed create, capturing how each of its reference fields resolved.
Property List:
- event_type: One of entity_created, entity_failed.
- entity_name: Name of the dynamic entity the event concerns.
- entity_id: Id of the created object, when known.
- status: success or error.
- message: Human-readable detail or error text.
- references: List of every reference:<x> field on this entity and how it resolved. Each item has
field,target,resolution(resolved = a real created id was used; fallback = the spreadsheet example value was used) and thevalueposted. - timestamp: UTC ISO-8601 time the event was recorded.
MethodRouting settings example:
<details>
{
"is_bank_id_exact_match":false,
"method_name":"dynamicEntityProcess",
"connector_name":"rest_vMar2019",
"bank_id_pattern":".*",
"parameters":[
{
"key":"entityName",
"value":"ogcr_dynamicentities_log"
}
{
"key":"url",
"value":"http://mydomain.com/xxx"
}
]
}
</details>
User Authentication is Required. The User must be logged in. The Application must also be authenticated.
Example request body
{
"event_type": "entity_created",
"entity_name": "operator",
"entity_id": "a8770fca-3d1d-47af-b6d0-7a6c3f124388",
"status": "success",
"message": "Created operator",
"references": [
{
"field": "operator_id",
"target": "operator",
"resolution": "resolved",
"value": "a8770fca-3d1d-47af-b6d0-7a6c3f124388"
},
{
"field": "bank_account_id",
"target": "BankAccount",
"resolution": "fallback",
"value": "sample-account-id"
}
],
"timestamp": "2026-06-24T12:00:00Z"
}Example success response
{
"bank_id": "ogcr",
"ogcr_dynamicentities_log": {
"ogcr_dynamicentities_log_id": "d8839721-ad8f-45dd-9f78-2080414b93f9",
"event_type": "entity_created",
"entity_name": "operator",
"entity_id": "a8770fca-3d1d-47af-b6d0-7a6c3f124388",
"status": "success",
"message": "Created operator",
"references": [
{
"field": "operator_id",
"target": "operator",
"resolution": "resolved",
"value": "a8770fca-3d1d-47af-b6d0-7a6c3f124388"
},
{
"field": "bank_account_id",
"target": "BankAccount",
"resolution": "fallback",
"value": "sample-account-id"
}
],
"timestamp": "2026-06-24T12:00:00Z"
}
}Possible errors (4)
- OBP-20001: User not logged in. Authentication is required!
- OBP-20006: User is missing one or more roles:
- OBP-10001: Incorrect json format.
- OBP-50000: Unknown Error.