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 FieldField TypeIs Mandatory as per TMForum?DescriptionSalesforce Mapping
idstringYes (in response messages)A string. Unique identifier of the geographic location.
hrefstringYes (in response messages)A string. An URI used to access to the geographic location resourcelightning/r/vlocity_cmt__Premises__c/{id}/view
namestring-A string. A user-friendly name for the place, such as [Paris Store], [London Store], [Main Home].Name
@typeA list of geographic points (GeographicPoint [*])YesWhen sub-classing, this defines the sub-class Extensible name"GeoJsonPoint"
@schemaLocationstring-A URI to a JSON-Schema file that defines additional attributes and relationships.
@baseTypestring--"GeographicLocation"

Sub-resources 

GeoJsonPoint (inheritance) 

TMF FieldField TypeIs Mandatory as per TMForum?DescriptionSalesforce Mapping
geoJson: geometryobjectYesA Point. GeoJSON: A single position."GeoJsonPoint"

Point 

TMF FieldField TypeIs Mandatory as per TMForum?DescriptionSalesforce Mapping
coordinatesA positionYesGeoJSON: An array of two or more positions (NUMBERS)[vlocity_cmt__Geolocation__Latitude__s, vlocity_cmt__Geolocation__Longitude__s]
typestringYesENUMERATED with values: *LineString"Point"