Documentation Changelog
Extensibility for TMF APIs
Use Cases
Resource Mappings
TMFTMForumQuote
TMFTMForumCreateQuote
Custom Metadata
Known Issues
FAQ
This IP contains the POST implementation for TMF648 Quote Management.
1{
2 "agreement": [
3 {
4 "id": "00000945"
5 }
6 ],
7 "billingAccount": [
8 {
9 "id": "CD1234"
10 }
11 ],
12 "category": "New Customer",
13 "contactMedium": [
14 {
15 "characteristic": {
16 "contactType": "Email",
17 "emailAddress": "abc@salesforce.com"
18 },
19 "mediumType": "Email"
20 },
21 {
22 "characteristic": {
23 "contactType": "Phone",
24 "phoneNumber": "(990) 099-7788"
25 },
26 "mediumType": "Phone"
27 },
28 {
29 "characteristic": {
30 "contactType": "Fax",
31 "faxNumber": "abc"
32 },
33 "mediumType": "Fax"
34 }
35 ],
36 "description": "TMF648",
37 "quoteItem": [
38 {
39 "action": "add",
40 "productOffering": [
41 {
42 "@type": "Product2",
43 "id": "02c29616-bcd5-50bd-afbb-6192ff7f2d7b",
44 "name": "TMF648 Prod2"
45 }
46 ],
47 "quantity": "1"
48 }
49 ],
50 "relatedParty": [
51 {
52 "id": "CD1234",
53 "role": "Account"
54 },
55 {
56 "id": "003Do00000HcsGKIAZ",
57 "role": "Contact"
58 }
59 ]
60}1{
2 "contactMedium": [
3 {
4 "characteristic": {
5 "emailAddress": "abc@salesforce.com",
6 "contactType": "Email"
7 },
8 "mediumType": "Email"
9 },
10 {
11 "characteristic": {
12 "phoneNumber": "(990) 099-7788",
13 "contactType": "Phone"
14 },
15 "mediumType": "Phone"
16 },
17 {
18 "characteristic": {
19 "faxNumber": "abc",
20 "contactType": "Fax"
21 },
22 "mediumType": "Fax"
23 }
24 ],
25 "quoteItem": [
26 {
27 "productOffering": [
28 {
29 "name": "TMF648 Prod2",
30 "id": "02c29616-bcd5-50bd-afbb-6192ff7f2d7b",
31 "href": "/services/apexrest/vlocity_cmt/tmforum/quotemanagement/v57.0/Product2/02c29616-bcd5-50bd-afbb-6192ff7f2d7b",
32 "@type": "Product2"
33 }
34 ],
35 "relatedParty": [
36 {
37 "role": "Service Account",
38 "name": "Acme",
39 "id": "001Do00000HZDL0IAP",
40 "href": "/services/apexrest/vlocity_cmt/tmforum/quotemanagement/v57.0/Account/001Do00000HZDL0IAP",
41 "@referredType": "Account"
42 }
43 ],
44 "quantity": 1,
45 "id": "00002518",
46 "href": "/services/apexrest/vlocity_cmt/tmforum/quotemanagement/v57.0/QuoteLineItem/00002518",
47 "action": "Add"
48 }
49 ],
50 "quoteTotalPrice": [
51 {
52 "price": {
53 "taxIncludedAmount": {
54 "value": 1,
55 "unit": "$"
56 }
57 },
58 "priceType": "Recurring"
59 },
60 {
61 "price": {
62 "taxIncludedAmount": {
63 "value": 789,
64 "unit": "$"
65 }
66 },
67 "priceType": "One-time"
68 }
69 ],
70 "relatedParty": [
71 {
72 "role": "Account",
73 "name": "Acme",
74 "id": "CD1234",
75 "href": "/services/apexrest/vlocity_cmt/tmforum/quotemanagement/v57.0/Account/CD1234",
76 "@referredType": "Account"
77 },
78 {
79 "role": "Contact",
80 "name": "Arthur Song",
81 "id": "003Do00000HcsGKIAZ",
82 "href": "/services/apexrest/vlocity_cmt/tmforum/quotemanagement/v57.0/Contact/003Do00000HcsGKIAZ",
83 "@referredType": "Contact"
84 }
85 ],
86 "version": "V1",
87 "href": "/services/apexrest/vlocity_cmt/tmforum/quotemanagement/v57.0/quote/00003176",
88 "billingAccount": [
89 {
90 "href": "/services/apexrest/vlocity_cmt/tmforum/quotemanagement/v57.0/Account/CD1234",
91 "name": "Acme",
92 "id": "CD1234"
93 }
94 ],
95 "agreement": [
96 {
97 "href": "/services/apexrest/vlocity_cmt/tmforum/quotemanagement/v57.0/Contract/00000945",
98 "id": "00000945"
99 }
100 ],
101 "state": "Draft",
102 "quoteDate": "2023-12-12T10:05:54.000+0000",
103 "id": "00003176",
104 "description": "TMF648",
105 "category": "New Customer"
106}This IP calls the TMFOpenAPIQuoteService.getAssets Apex method and the following Data Raptor: