|
1 | 1 | { |
2 | | - "pricingPref": "System", |
3 | | - "doAsync": true, |
4 | | - "graph": { |
5 | | - "graphId": "pq-create-with-bundles", |
6 | | - "records": [ |
| 2 | + "pricingPref" : "System", |
| 3 | + "doAsync" : true, |
| 4 | + "graph" : { |
| 5 | + "graphId" : "pq-create-with-bundles", |
| 6 | + "records" : [ |
7 | 7 | { |
8 | | - "referenceId": "refQuote", |
9 | | - "record": { |
10 | | - "attributes": { |
11 | | - "type": "Quote", |
12 | | - "method": "POST" |
| 8 | + "referenceId" : "refQuote", |
| 9 | + "record" : { |
| 10 | + "attributes" : { |
| 11 | + "type" : "Quote", |
| 12 | + "method" : "POST" |
13 | 13 | }, |
14 | | - "Name": "Quote_{{$randomCompanyName}}", |
15 | | - "OpportunityId": "{{opportunityId}}" |
| 14 | + "Name" : "Quote_{{$randomCompanyName}}", |
| 15 | + "OpportunityId" : "{{opportunityId}}" |
16 | 16 | } |
17 | 17 | }, |
18 | 18 | { |
19 | | - "referenceId": "refQuoteItem1", |
20 | | - "record": { |
21 | | - "attributes": { |
22 | | - "type": "QuoteLineItem", |
23 | | - "method": "POST" |
| 19 | + "referenceId" : "refQuoteItem1", |
| 20 | + "record" : { |
| 21 | + "attributes" : { |
| 22 | + "type" : "QuoteLineItem", |
| 23 | + "method" : "POST" |
24 | 24 | }, |
25 | | - "QuoteId": "@{refQuote.id}", |
26 | | - "PricebookEntryId": "{{evergreenPriceBookEntryId}}", |
27 | | - "Product2Id": "{{evergreenProductId}}", |
28 | | - "Quantity": 2.0, |
29 | | - "UnitPrice": 25.0, |
30 | | - "PeriodBoundary": "Anniversary", |
31 | | - "BillingFrequency": "Monthly", |
32 | | - "StartDate": "{{$currentDate}}" |
| 25 | + "QuoteId" : "@{refQuote.id}", |
| 26 | + "PricebookEntryId" : "{{evergreenPriceBookEntryId}}", |
| 27 | + "Product2Id" : "{{evergreenProductId}}", |
| 28 | + "Quantity" : 2.0, |
| 29 | + "UnitPrice" : 25.0, |
| 30 | + "PeriodBoundary" : "Anniversary", |
| 31 | + "BillingFrequency" : "Monthly", |
| 32 | + "StartDate" : "{{$currentDate}}" |
33 | 33 | } |
34 | 34 | }, |
35 | 35 | { |
36 | | - "referenceId": "refQuoteItem2", |
37 | | - "record": { |
38 | | - "attributes": { |
39 | | - "type": "QuoteLineItem", |
40 | | - "method": "POST" |
| 36 | + "referenceId" : "refQuoteItem2", |
| 37 | + "record" : { |
| 38 | + "attributes" : { |
| 39 | + "type" : "QuoteLineItem", |
| 40 | + "method" : "POST" |
41 | 41 | }, |
42 | | - "QuoteId": "@{refQuote.id}", |
43 | | - "PricebookEntryId": "{{termedPriceBookEntryId}}", |
44 | | - "Product2Id": "{{termedProductId}}", |
45 | | - "Quantity": 2.0, |
46 | | - "UnitPrice": 25.0, |
47 | | - "EndDate": "{{$randomFutureDate}}", |
48 | | - "PeriodBoundary": "DayOfPeriod", |
49 | | - "PeriodBoundaryDay": 4, |
50 | | - "BillingFrequency": "Monthly", |
51 | | - "StartDate": "{{$currentDate}}" |
| 42 | + "QuoteId" : "@{refQuote.id}", |
| 43 | + "PricebookEntryId" : "{{termedPriceBookEntryId}}", |
| 44 | + "Product2Id" : "{{termedProductId}}", |
| 45 | + "Quantity" : 2.0, |
| 46 | + "UnitPrice" : 25.0, |
| 47 | + "EndDate" : "{{$randomFutureDate}}", |
| 48 | + "PeriodBoundary" : "DayOfPeriod", |
| 49 | + "PeriodBoundaryDay" : 4, |
| 50 | + "BillingFrequency" : "Monthly", |
| 51 | + "StartDate" : "{{$currentDate}}" |
52 | 52 | } |
53 | 53 | }, |
54 | 54 | { |
55 | | - "referenceId": "refQuoteItem3", |
56 | | - "record": { |
57 | | - "attributes": { |
58 | | - "type": "QuoteLineItem", |
59 | | - "method": "POST" |
| 55 | + "referenceId" : "refQuoteItem3", |
| 56 | + "record" : { |
| 57 | + "attributes" : { |
| 58 | + "type" : "QuoteLineItem", |
| 59 | + "method" : "POST" |
60 | 60 | }, |
61 | | - "QuoteId": "@{refQuote.id}", |
62 | | - "PricebookEntryId": "{{oneTimePriceBookEntryId}}", |
63 | | - "Product2Id": "{{oneTimeProductId}}", |
64 | | - "Quantity": 2.0, |
65 | | - "UnitPrice": 25.0, |
66 | | - "StartDate": "{{$currentDate}}", |
67 | | - "BillingFrequency": null, |
68 | | - "PeriodBoundary": null |
| 61 | + "QuoteId" : "@{refQuote.id}", |
| 62 | + "PricebookEntryId" : "{{oneTimePriceBookEntryId}}", |
| 63 | + "Product2Id" : "{{oneTimeProductId}}", |
| 64 | + "Quantity" : 2.0, |
| 65 | + "UnitPrice" : 25.0, |
| 66 | + "StartDate" : "{{$currentDate}}", |
| 67 | + "BillingFrequency" : null, |
| 68 | + "PeriodBoundary" : null |
69 | 69 | } |
70 | 70 | }, |
71 | 71 | { |
72 | | - "referenceId": "refQuoteItem4", |
73 | | - "record": { |
74 | | - "attributes": { |
75 | | - "type": "QuoteLineItem", |
76 | | - "method": "POST" |
| 72 | + "referenceId" : "refQuoteItem4", |
| 73 | + "record" : { |
| 74 | + "attributes" : { |
| 75 | + "type" : "QuoteLineItem", |
| 76 | + "method" : "POST" |
77 | 77 | }, |
78 | | - "QuoteId": "@{refQuote.id}", |
79 | | - "PricebookEntryId": "{{oneTimePriceBookEntryId}}", |
80 | | - "Product2Id": "{{oneTimeProductId}}", |
81 | | - "Quantity": 2.0, |
82 | | - "UnitPrice": 25.0, |
83 | | - "StartDate": "{{$currentDate}}" |
| 78 | + "QuoteId" : "@{refQuote.id}", |
| 79 | + "PricebookEntryId" : "{{oneTimePriceBookEntryId}}", |
| 80 | + "Product2Id" : "{{oneTimeProductId}}", |
| 81 | + "Quantity" : 2.0, |
| 82 | + "UnitPrice" : 25.0, |
| 83 | + "StartDate" : "{{$currentDate}}" |
84 | 84 | } |
85 | 85 | }, |
86 | 86 | { |
87 | | - "referenceId": "refQLR1", |
88 | | - "record": { |
89 | | - "attributes": { |
90 | | - "type": "QuoteLineRelationship", |
91 | | - "method": "POST" |
| 87 | + "referenceId" : "refQLR1", |
| 88 | + "record" : { |
| 89 | + "attributes" : { |
| 90 | + "type" : "QuoteLineRelationship", |
| 91 | + "method" : "POST" |
92 | 92 | }, |
93 | | - "MainQuoteLineId": "@{refQuoteItem1.id}", |
94 | | - "AssociatedQuoteLineId": "@{refQuoteItem4.id}", |
95 | | - "ProductRelationshipTypeId": "{{productRelationshipTypeId}}", |
96 | | - "AssociatedQuoteLinePricing": "IncludedInBundlePrice" |
| 93 | + "MainQuoteLineId" : "@{refQuoteItem1.id}", |
| 94 | + "AssociatedQuoteLineId" : "@{refQuoteItem4.id}", |
| 95 | + "ProductRelationshipTypeId" : "{{productRelationshipTypeId}}", |
| 96 | + "AssociatedQuoteLinePricing" : "IncludedInBundlePrice" |
97 | 97 | } |
98 | 98 | } |
99 | 99 | ] |
|
0 commit comments