TMF675 v4 Resource Mappings
Before using the TMF675 v4 resource mappings, refer these.
The current Salesforce data model supports only Geographic Points. TMF 675 API includes concepts like lines and polygons (multiple points), which are not supported.
- 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
externalIdis mapped withvlocity_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
hrefelement is not passed as part of the payload for POST and PATCH. - The
vlocity_cmtis 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)
| TMF Field | Field Type | Is Mandatory as per TMForum? | Description | Salesforce Mapping |
|---|---|---|---|---|
| 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" |
| TMF Field | Field Type | Is Mandatory as per TMForum? | Description | Salesforce Mapping |
|---|---|---|---|---|
| geoJson: geometry | object | Yes | A Point. GeoJSON: A single position. | "GeoJsonPoint" |
| TMF Field | Field Type | Is Mandatory as per TMForum? | Description | Salesforce Mapping |
|---|---|---|---|---|
| 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" |