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 NameHooks SupportedPreprocessing CapabilitiesGraphQL or Payload CustomizationPost-processing Capabilities
IIndividualPartyManagementGETtransformRequest
configureDefaultValidations
applyCustomValidations
customiseGraphQLQuery
handlePostOperation
Validate permissions and access rules, normalize query parameters, and apply business validationsAdd fields, filters, sorting, or GraphQL snippetsRefine, enrich, or replace GET responses
IIndividualPartyManagementPOSTtransformRequest
configureDefaultValidations
applyCustomValidations
customiseMutationPayload
handlePostOperation
Validate creation input and business rulesAdd custom Contact fields or related-record mutationsPerform side effects after creation; the returned value doesn’t change the POST response
IIndividualPartyManagementPATCHtransformRequest
configureDefaultValidations
applyCustomValidations
customiseMutationPayload
handlePostOperation
Validate partial updates and enforce conditional rulesAdd or modify Contact update fields and related mutationsRefine, enrich, or replace PATCH responses
IIndividualPartyManagementDELETEtransformRequest
configureDefaultValidations
applyCustomValidations
customiseMutationPayload
handlePostOperation
Validate deletion permissions and dependency rulesDefine the Contact field and value used for soft deletionPerform 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.

OperationHooks SupportedPreprocessing CapabilitiesGraphQL or Payload CustomizationPost-processing Capabilities
IOrganizationPartyManagementGETtransformRequest
configureDefaultValidations
applyCustomValidations
customiseGraphQLQuery
handlePostOperation
Validate permissions and access rules, normalize query parameters, and apply business validationsAdd Account fields, filters, sorting, or GraphQL snippetsRefine, enrich, or replace GET responses
IOrganizationPartyManagementPOSTtransformRequest
configureDefaultValidations
applyCustomValidations
customiseMutationPayload
handlePostOperation
Validate creation input and business rulesAdd custom Account fields or related-record mutationsPerform post-create processing
IOrganizationPartyManagementPATCHtransformRequest
configureDefaultValidations
applyCustomValidations
customiseMutationPayload
handlePostOperation
Validate partial updates and enforce conditional rulesAdd or modify Account update fields and related mutationsRefine or enrich PATCH responses
IOrganizationPartyManagementDELETEtransformRequest
configureDefaultValidations
applyCustomValidations
customiseMutationPayload
handlePostOperation
Validate deletion permissions and dependency rulesDefine customer-specific soft-delete behaviorPerform cleanup, audit, or logging after deletion