Documentation Changelog
Extensibility for TMF APIs
Use Cases
Resource Mappings
IProductInventoryManagementGET Apex Interface
TMFTMForumTransformProductRequest
TMFTMForumTransformProductResponse
Custom Metadata
Known Issues
FAQ
This Data Mapper is responsible for transforming the Vlocity Data Model to TMForum data model for ProductInventory.
1{
2 "apiVersion": "v57.0",
3 "asset": {
4 "vlocity_cmt__ActivationDate__c": "2024-05-05",
5 "vlocity_cmt__AssetReferenceId__c": "1b55a381-1782-56d6-a90a-2030798d6e4b",
6 "vlocity_cmt__OrderProductId__c": "802Dp000000DtXdIAK",
7 "vlocity_cmt__OrderProductId__r": {
8 "Id": "802Dp000000DtXdIAK",
9 "Order": {
10 "EffectiveDate": "2019-05-03",
11 "Id": "801Dp000000c8MYIAY",
12 "attributes": {
13 "type": "Order",
14 "url": "/services/data/v57.0/sobjects/Order/801Dp000000c8MYIAY"
15 }
16 },
17 "OrderId": "801Dp000000c8MYIAY",
18 "attributes": {
19 "type": "OrderItem",
20 "url": "/services/data/v57.0/sobjects/OrderItem/802Dp000000DtXdIAK"
21 }
22 },
23 "Description": "new desc",
24 "Id": "02iDp000000UFmhIAG",
25 "Name": "TMForum",
26 "Product2": {
27 "vlocity_cmt__IsOrderable__c": true,
28 "vlocity_cmt__SpecificationSubType__c": "Simple",
29 "Id": "01tDp000000hsXDIAY",
30 "Name": "xyz",
31 "attributes": {
32 "type": "Product2",
33 "url": "/services/data/v57.0/sobjects/Product2/01tDp000000hsXDIAY"
34 }
35 },
36 "Product2Id": "01tDp000000hsXDIAY",
37 "SerialNumber": "xyz",
38 "attributes": {
39 "type": "Asset",
40 "url": "/services/data/v57.0/sobjects/Asset/02iDp000000UFmhIAG"
41 }
42 },
43 "requestUrl": "/services/apexrest/vlocity_cmt/tmforum/productopenapi/v1/"
44}1{
2 "outputResponse": {
3 "startDate": "2024-05-05",
4 "productSerialNumber": "xyz",
5 "name": "TMForum",
6 "id": "1b55a381-1782-56d6-a90a-2030798d6e4b",
7 "description": "new desc",
8 "productOffering": {
9 "name": "xyz",
10 "id": "01tDp000000hsXDIAY"
11 },
12 "isCustomerVisible": true,
13 "isBundle": "Simple",
14 "orderDate": "2019-05-03"
15 }
16}