TMF632 v5 Party Management API (Extensible)
For the TMF632 API, extensibility is enabled through Apex lifecycle hooks and customizable GraphQL queries and mutations. These extension points let customers adjust request processing, validation, persistence, and response payloads for Individual and Organization party resources without changing the TMF632 API contract.
You can use the extension points to:
Extend the main resource with additional fields.
Map fields from related Salesforce records.
Customize filters on the main resource and its sub-resources.
Apply custom sorting to query results.
Enrich GraphQL mutation payloads with custom fields or related records.
Apply custom request validations.
Refine or enrich API responses.
Implement customer-defined soft-delete behavior.
TMF632 Individual resources are backed by Salesforce Contact records. TMF632 Organization resources are backed by Salesforce Account records.
Supported Interfaces and Hooks
Individual Party Management
Interface Name Hooks Supported Preprocessing Capabilities GraphQL or Payload Customization Post-processing Capabilities IIndividualPartyManagementGETtransformRequestconfigureDefaultValidationsapplyCustomValidationscustomiseGraphQLQueryhandlePostOperationValidate permissions and access rules, normalize query parameters, and apply business validations Add fields, filters, sorting, or GraphQL snippets Refine, enrich, or replace GET responses IIndividualPartyManagementPOSTtransformRequestconfigureDefaultValidationsapplyCustomValidationscustomiseMutationPayloadhandlePostOperationValidate creation input and business rules Add custom Contact fields or related-record mutations Perform side effects after creation; the returned value doesn’t change the POST response IIndividualPartyManagementPATCHtransformRequestconfigureDefaultValidationsapplyCustomValidationscustomiseMutationPayloadhandlePostOperationValidate partial updates and enforce conditional rules Add or modify Contact update fields and related mutations Refine, enrich, or replace PATCH responses IIndividualPartyManagementDELETEtransformRequestconfigureDefaultValidationsapplyCustomValidationscustomiseMutationPayloadhandlePostOperationValidate deletion permissions and dependency rules Define the Contact field and value used for soft deletion Perform cleanup, audit, or logging after deletion
Organization Party Management
TMF632 Organization Party Management provides the same operation-level extension model for Organization resources backed by Account records.
Operation Hooks Supported Preprocessing Capabilities GraphQL or Payload Customization Post-processing Capabilities IOrganizationPartyManagementGETtransformRequestconfigureDefaultValidationsapplyCustomValidationscustomiseGraphQLQueryhandlePostOperationValidate permissions and access rules, normalize query parameters, and apply business validations Add Account fields, filters, sorting, or GraphQL snippets Refine, enrich, or replace GET responses IOrganizationPartyManagementPOSTtransformRequestconfigureDefaultValidationsapplyCustomValidationscustomiseMutationPayloadhandlePostOperationValidate creation input and business rules Add custom Account fields or related-record mutations Perform post-create processing IOrganizationPartyManagementPATCHtransformRequestconfigureDefaultValidationsapplyCustomValidationscustomiseMutationPayloadhandlePostOperationValidate partial updates and enforce conditional rules Add or modify Account update fields and related mutations Refine or enrich PATCH responses IOrganizationPartyManagementDELETEtransformRequestconfigureDefaultValidationsapplyCustomValidationscustomiseMutationPayloadhandlePostOperationValidate deletion permissions and dependency rules Define customer-specific soft-delete behavior Perform cleanup, audit, or logging after deletion