Master Data Write API

This is included in the Master Data REST API (PL-AO-006). The available endpoints for this add-on package are listed below:

Region

Legal Entity

Legal EntityTypeLink V1Link V2
Create a legal entityPOST/rest/api/bam/legal-entities/rest/api/v2/bam/legal-entities
Activate a legal entityPOST/rest/api/bam/legal-entities/{legalEntityId}/activate/rest/api/v2/bam/legal-entities/{legalEntityId}/activate
Deactivate a legal entityPOST/rest/api/bam/legal-entities/{legalEntityId}/deactivate/rest/api/v2/bam/legal-entities/{legalEntityId}/deactivate
Create a legal entity bank relationPOST/rest/api/bam/legal-entity-bank-relations/rest/api/v2/bam/legal-entity-bank-relations
Create a legal entity partner relationPOST/rest/api/bam/legal-entity-partner-relations/rest/api/v2/bam/legal-entity-partner-relations
Update a legal entityPUT/rest/api/bam/legal-entities/{legalEntityId}/rest/api/v2/bam/legal-entities/{legalEntityId}
Update a legal entity bank relationPUT/rest/api/bam/legal-entity-bank-relations/{legalEntityBankId}/rest/api/v2/bam/legal-entity-bank-relations/{legalEntityBankId}
Update a legal entity partner relationPUT/rest/api/bam/legal-entity-partner-relations/{legalEntityPartnerRelationId}/rest/api/v2/bam/legal-entity-partner-relations/{legalEntityPartnerRelationId}
Delete a legal entityDELETE/rest/api/bam/legal-entities/{legalEntityId}/rest/api/v2/bam/legal-entities/{legalEntityId}
Delete a legal entity bank relationDELETE/rest/api/bam/legal-entity-bank-relations/{legalEntityBankId}/rest/api/v2/bam/legal-entity-bank-relations/{legalEntityBankId}
Delete a legal entity partner relationDELETE/rest/api/bam/legal-entity-partner-relations/{legalEntityPartnerRelationId}/rest/api/v2/bam/legal-entity-partner-relations/{legalEntityPartnerRelationId}

Bank

Bank Account

Bank Group

Global Partner

Summary of changes

#Areav1v2
1Base path/bam/…/v2/bam/…
2Pagination parameterspage_number, page_sizepageNumber, pageSize
3Page size boundsNot documented1–100, default 50
4Error response formatCustom error object, application/jsonRFC 7807 problem detail, application/problem+json
5Error identifiererror — free-text codetype — stable, documented key
6Validation errorsNested complexError objectFlat errors[] array, each entry typed
7DELETE response200 with IdObject body; 404 if absent204 No Content, empty body
8Create response201 with body201 with body and Location header

Query parameters that v2 does not recognize are ignored rather than rejected, so the v1 pagination parameter names have no effect in v2. v1 remains available. Retirement will be announced separately, in advance.

Error keys introduced in v2

GroupKeys
MASTER_DATA.ERRORS.BAD_REQUEST (400), INPUT_VALIDATION_FAILED (400), UNAUTHORIZED (401), FORBIDDEN (403), NOT_FOUND (404), CONFLICT (409), INTERNAL_SERVER_ERROR (500)
MASTER_DATA.INPUT_VALIDATION.FIELD_REQUIRED, VALUE_TOO_SHORT, VALUE_TOO_LONG, INVALID_FORMAT, DUPLICATE_VALUE

Every error response includes a traceId that identifies the request in support enquiries.





Did this page help you?