---
schema_version: "1"
id: 296dacc45d9c27bd34cd0eeca29285b63bf40dc120af64d81553d10cf0b7bcd3
title: TMF674 v4 Resource Mappings
collection: developer
version: current
locale: en-us
portal_url: https://docs.salesforce.com/developer/current/en-us/industries-integrations/comms/guides/Resource_mappings/tmf674_resource_mapping.md
canonical_url: https://developer.salesforce.com/docs/industries/communications/guide/tmf674_resource_mapping.html
source_site: developer.salesforce.com
content_type: documentation
content_hash: ba9ddb590ce8e59e4a80e16266ad0e41d539a38b72117f207337e245021444fb
products:
  - Communications Cloud TM Forum API
  - Industries Integrations
---
# TMF674 v4 Resource Mappings

Before using the TMF674 v4 resource mappings, refer these.

## Assumptions

- The initiation of a request from Salesforce to the Mule Application is implemented by the user.
- GET, POST, and PATCH are synchronous interfaces, and the response from the external system is returned to the calling system.
- Processing the response for GET, POST, and PATCH is implemented by the user.
- The `externalId` is mapped with `vlocity_cmt__PremisesIdentifier__c`
- The response includes only the optional parameters that are supported to prevent a 4xx error response.
- The authentication mechanism used to connect to the Salesforce org is OAuth.
- In the event of failures when invoking the external system endpoint, the request is retried up to three times, with a two-second interval between each retry attempt.
- The `href` element is not passed as part of the payload for POST and PATCH.
- The `vlocity_cmt` is taken as the default namespace prefix for the Salesforce object.

These resource and sub-resources are supported for the salesforce package entity: Premise (`vlocity_cmt__Premises__c`)

## GeographicSite Resource

Salesforce Package Entity: Premise (`vlocity_cmt__Premises__c`)

| TMF Field<div style="width:120px"></div> | Field Type<div style="width:120px"></div> | Is Mandatory as per TMForum?<div style="width:120px"></div> | Description<div style="width:120px"></div>                                                                                                                     | Salesforce Mapping<div style="width:120px"></div>  |
| ---------------------------------------- | ----------------------------------------- | ----------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------- |
| href                                     | string                                    | \-                                                          | Hyperlink reference.                                                                                                                                           | lightning/r/vlocity_cmt\_\_Premises\_\_c/{id}/view |
| name                                     | string                                    | \-                                                          | A user-friendly name for the place, such as [Paris Store], [London Store], [Main Home].                                                                        | Name                                               |
| status                                   | string                                    | \-                                                          | The condition of the GeographicSite, such as planned, underConstruction, cancelled, active, inactive, former.                                                  | vlocity_cmt\_\_Status\_\_c                         |
| @type                                    | string                                    | \-                                                          | The class type of the actual resource (for type extension).                                                                                                    | "GeographicSite"                                   |
| relatedParty                             | array                                     | \-                                                          | A RelatedPartyRefOrPartyRoleRef. RelatedParty reference. A related party defines party or party role or its reference, linked to a specific entity.            | Sub-Resource - Related Party(entity = Account)     |
| siteRelationship                         | array                                     | \-                                                          | A GeographicSiteRelationship. Details of geographic site relationship.                                                                                         | Sub-Resource - GeographicSiteRelationship          |
| place                                    | array                                     | \-                                                          | A PlaceRefOrValue. The polymorphic attributes @type, @schemaLocation & @referredType are related to the Place entity and not the PlaceRefOrValue class itself. | Sub-Resource - PlaceRefOrValue                     |

## Sub-resources

### Related Party

| TMF Field<div style="width:120px"></div> | Field Type<div style="width:120px"></div> | Is Mandatory as per TMForum?<div style="width:120px"></div> | Description<div style="width:120px"></div>                             | Salesforce Mapping<div style="width:120px"></div>                         |
| ---------------------------------------- | ----------------------------------------- | ----------------------------------------------------------- | ---------------------------------------------------------------------- | ------------------------------------------------------------------------- |
| relatedParty.id                          | string                                    | Yes                                                         | Id of the related party.                                               | vlocity_cmt\_\_PropertyOwnerAccountId\_\_r.Id                             |
| relatedParty.href                        | string                                    | \-                                                          | Hypertext Reference of the related party.                              | /lightning/r/Account/{vlocity_cmt\_\_PropertyOwnerAccountId\_\_r.Id}/view |
| relatedParty.name                        | string                                    | \-                                                          | Name of the related party.                                             | vlocity_cmt\_\_PropertyOwnerAccountId\_\_r.Name                           |
| relatedParty.role                        | string                                    | \-                                                          | Role played by the related party.                                      | "Owner"                                                                   |
| relatedParty.@referredType               | string                                    | Yes                                                         | The actual type of the target instance when needed for disambiguation. | "Organization"                                                            |

### GeographicSiteRelationship

| TMF Field<div style="width:120px"></div> | Field Type<div style="width:120px"></div> | Is Mandatory as per TMForum?<div style="width:120px"></div> | Description<div style="width:120px"></div>                      | Salesforce Mapping<div style="width:120px"></div>                                    |
| ---------------------------------------- | ----------------------------------------- | ----------------------------------------------------------- | --------------------------------------------------------------- | ------------------------------------------------------------------------------------ |
| siteRelationship.href                    | string                                    | \-                                                          | Reference of the related geographic site.                       | lightning/r/vlocity_cmt\_\_Premises\_\_c/{vlocity_cmt\_\_ParentPremisesId\_\_c}/view |
| siteRelationship.id                      | string                                    | Yes                                                         | Unique identifier of the related site entity within the server. | vlocity_cmt\_\_ParentPremisesId\_\_r.vlocity_cmt\_\_PremisesIdentifier\_\_c          |
| siteRelationship.relationshipType        | string                                    | Yes                                                         | Type of relationship.                                           | "parent_location"                                                                    |
| siteRelationship.@type                   | string                                    | \-                                                          | When sub-classing, this defines the sub-class Extensible name.  | "SiteRelationship"                                                                   |

### TimePeriod

| TMF Field<div style="width:120px"></div> | Field Type<div style="width:120px"></div> | Is Mandatory as per TMForum?<div style="width:120px"></div> | Description<div style="width:120px"></div> | Salesforce Mapping<div style="width:120px"></div> |
| ---------------------------------------- | ----------------------------------------- | ----------------------------------------------------------- | ------------------------------------------ | ------------------------------------------------- |
| validFor.startDateTime                   | DateTime                                  | \-                                                          | Starting date and time of the validity     | vlocity_cmt\_\_ParentPremisesId\_\_r.CreatedDate  |

### PlaceRefOrValue

| TMF Field<div style="width:120px"></div> | Field Type<div style="width:120px"></div> | Is Mandatory as per TMForum?<div style="width:120px"></div> | Description<div style="width:120px"></div>                            | Salesforce Mapping<div style="width:120px"></div>  |
| ---------------------------------------- | ----------------------------------------- | ----------------------------------------------------------- | --------------------------------------------------------------------- | -------------------------------------------------- |
| place.href                               | string                                    | \-                                                          | Unique reference of the place                                         | lightning/r/vlocity_cmt\_\_Premises\_\_c/{Id}/view |
| place.id                                 | string                                    | Yes                                                         | Unique Id of the place                                                | vlocity_cmt\_\_PremisesNumber\_\_c                 |
| place.@type                              | string                                    | \-                                                          | When sub-classing, this defines the sub-class Extensible name         | "PlaceRef"                                         |
| place.@referredType                      | string                                    | Yes                                                         | The actual type of the target instance when needed for disambiguation | "GeographicLocation"                               |
