TMF632 v5 Resource Mappings

Before using the TMF632 resource mappings, refer to the following.

Constraints and Limitations 

  • Individual maps to Salesforce Contact. Organization maps to Salesforce Account.
  • Out-of-the-box implementation is restricted to the core data model.
  • givenName and familyName are mandatory for Individual POST. name is mandatory for Organization POST.
  • An individual party contact that has no associated related accounts (a private contact) cannot be linked with an organization party Account.
  • To add an Account-to-Account relationship on an Organization resource, create a PartyRoleRelation.
  • DELETE does not hard-delete Contact or Account records. The DELETE endpoint is an extensibility hook. Without a custom Apex implementation, DELETE returns HTTP 400.
  • Fields that are not supported out of the box can be added by using Apex extensibility hooks. See Extensibility for TMF632 v5 Party Management.

These default mappings are supported for the TMF632 resources.

Individual 

TMF Field
Description
Supported
Salesforce Object
Salesforce Mapping
Mandatory for POST
Supported methods
idUnique identifier.YesContactIdNoGET
hrefHyperlink reference. Constructed at runtime.YesContactDerivedNoGET
nameFull name presented in reference data types.YesContactNameNoGET
titleTitle such as Pr, Dr, or Sir.YesContactTitleNoGET, POST, PATCH
birthDateBirth date.YesContactBirthdateNoGET, POST, PATCH
givenNameFirst name of the individual.YesContactFirstNameYesGET, POST, PATCH
familyNameLast name of the individual.YesContactLastNameYesGET, POST, PATCH
@typeSub-class name. Always Individual in the response.YesHardcodedYesGET, POST
@baseTypeSuper-class name. Always Party in the response.YesHardcodedYesGET, POST
contactMediumList of contact means such as email, phone, fax, and address.YesContactSee ContactMediumNoGET, POST, PATCH
relatedPartyParties related to the individual.YesContact / AccountSee Related Party (Individual)NoGET, POST, PATCH
aristocraticTitleAristocratic title.NoNo
countryOfBirthCountry of birth.NoNo
creditRatingCredit profiles and scores.NoNo
deathDateDate of death.NoNo
disabilityDisabilities.NoNo
externalReferenceIdentifiers in an external system.NoNo
genderGender.NoNo
maritalStatusMarital status.NoNo
middleNameMiddle name or initial.NoNo
nationalityNationality.NoNo
statusLifecycle state of the individual.NoNo

These Individual attributes are patchable: givenName, familyName, title, birthDate, contactMedium, and relatedParty. These attributes are not patchable: id, href, name, and @type.

Organization 

TMF Field
Description
Supported
Salesforce Object
Salesforce Mapping
Mandatory for POST
Supported methods
idUnique identifier.YesAccountIdNoGET
hrefHyperlink reference. Constructed at runtime.YesAccountDerivedNoGET
nameOrganization name.YesAccountNameYesGET, POST, PATCH
organizationTypeType of organization, such as company or department.YesAccountTypeNoGET, POST, PATCH
@typeSub-class name. Always Organization in the response.YesHardcodedYesGET, POST
@baseTypeSuper-class name. Always Party in the response.YesHardcodedNoGET, POST
contactMediumList of contact means.YesAccountSee ContactMediumNoGET, POST, PATCH
relatedPartyParties related to the organization.YesAccount / ContactSee Related Party (Organization)NoGET, POST, PATCH
organizationParentRelationshipParent organization reference.YesAccountSee Organization Parent RelationshipNoGET, POST, PATCH
organizationChildRelationshipChild organizations contained in this organization.YesAccountSee Organization Child RelationshipNoGET
creditRatingCredit profiles and scores.NoNo
isHeadOfficeWhether the organization is the head office.NoNo
isLegalEntityWhether the organization is a legal entity.NoNo
statusLifecycle state of the organization.NoNo
tradingNameName the organization trades under.NoNo

Sub-resources 

ContactMedium 

TMF Field
Description
SupportedSalesforce Mapping
Mandatory for POST
@typeDiscriminator: EmailContactMedium, PhoneContactMedium, FaxContactMedium, or GeographicAddressContactMediumYesHardcoded discriminatorNo
idIdentifier for this contact medium.YesGeneratedNo
emailAddressEmail contact medium.YesContact.Email or equivalent Account fieldNo
phoneNumberPhone contact medium.YesContact.Phone or Account.PhoneNo
faxNumberFax contact medium.YesContact.Fax or Account.FaxNo
street1, city, stateOrProvince, postCode, countryGeographic address.YesAddress fields on Contact or AccountNo
validForValidity period.NoNo
contactTypeQualification such as personal or professional email.NoNo

Related Party (Individual) 

Related parties on an Individual map through AccountContactRelation to Account.

TMF Field
DescriptionSupportedSalesforce MappingMandatory for POST
roleRole played by the related party.YesAccountContactRelation.RolesNo
@typeSub-class name.YesHardcoded: RelatedPartyRefOrPartyRoleRefNo
partyOrPartyRole.idUnique identifier of the related party.YesAccountIdNo
partyOrPartyRole.nameName of the related party.YesAccount.NameNo
partyOrPartyRole.hrefHyperlink reference.YesDerivedNo
partyOrPartyRole.@typeSub-class name.YesHardcoded: PartyRefNo
partyOrPartyRole.@referredTypeActual type of the target.YesIndividual or OrganizationNo

Related Party (Organization) 

Organization related parties map through AccountContactRelation (to Contact) or AccountAccountRelation (to Account). For Account-to-Account relationships, create a PartyRoleRelation.

TMF Field
DescriptionSupportedSalesforce MappingMandatory for POST
roleRole played by the related party.YesAccountContactRelation.Roles or AccountAccountRelation.PartyRoleRelation.roleNameNo
@typeSub-class name.YesHardcoded: RelatedPartyRefOrPartyRoleRefNo
partyOrPartyRole.idUnique identifier of the related party.YesAccountContactRelation.ContactId or AccountAccountRelation.RelatedAccountIdNo
partyOrPartyRole.nameName of the related party.YesContact.Name or Account.NameNo
partyOrPartyRole.hrefHyperlink reference.YesDerivedNo
partyOrPartyRole.@typeSub-class name.YesHardcoded: PartyRefNo
partyOrPartyRole.@referredTypeActual type of the target.YesIndividual or OrganizationNo

Organization Parent Relationship 

TMF Field
DescriptionSupportedSalesforce MappingMandatory for POST
@typeSub-class name.YesHardcoded: OrganizationRefNo
organization.idUnique identifier of the parent organization.YesAccount.ParentIdNo
organization.nameName of the parent organization.YesParent.NameNo
organization.hrefHyperlink reference.YesDerivedNo
relationshipTypeType of relationship.NoNo

Organization Child Relationship 

TMF Field
DescriptionSupportedSalesforce MappingMandatory for POST
@typeSub-class name.YesHardcoded: OrganizationRefNo
organization.idUnique identifier of the child organization.YesChild Account Id where ParentId is this accountNo
organization.nameName of the child organization.YesChild.NameNo
organization.hrefHyperlink reference.YesDerivedNo
relationshipTypeType of relationship.NoNo