TMF675 v4 Resource Mappings

Before using the TMF675 v4 resource mappings, refer these.

Constraints and Limitations

The current Salesforce data model supports only Geographic Points. TMF 675 API includes concepts like lines and polygons (multiple points), which are not supported.

Assumptions

  • Only GeojsonPoint is supported as a sub-resource in the basic Mule application.
  • Processing the response for GET, POST, PATCH, and DELETE is implemented by the user.
  • The externalId is mapped with vlocity_cmt__PremisesNumber__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)

GeographicLocation Resource

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>
id string Yes (in response messages) A string. Unique identifier of the geographic location.
href string Yes (in response messages) A string. An URI used to access to the geographic location resource lightning/r/vlocity_cmt__Premises__c/{id}/view
name string - A string. A user-friendly name for the place, such as [Paris Store], [London Store], [Main Home]. Name
@type A list of geographic points (GeographicPoint [*]) Yes When sub-classing, this defines the sub-class Extensible name "GeoJsonPoint"
@schemaLocation string - A URI to a JSON-Schema file that defines additional attributes and relationships.
@baseType string - - "GeographicLocation"

Sub-resources

GeoJsonPoint (inheritance)

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>
geoJson: geometry object Yes A Point. GeoJSON: A single position. "GeoJsonPoint"

Point

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>
coordinates A position Yes GeoJSON: An array of two or more positions (NUMBERS) [vlocity_cmt__Geolocation__Latitude__s, vlocity_cmt__Geolocation__Longitude__s]
type string Yes ENUMERATED with values: *LineString "Point"