|
121 | 121 | "header": [], |
122 | 122 | "body": { |
123 | 123 | "mode": "raw", |
124 | | - "raw": "{\n \"graphs\": [\n {\n \"graphId\": \"1\",\n \"compositeRequest\": [\n {\n \"method\": \"POST\",\n \"url\": \"{{versionPath}}/sobjects/BillingPolicy\",\n \"referenceId\": \"billingPolicy\",\n \"body\": {\n \"Name\": \"ReVoman Billing Policy\",\n \"Status\": \"Draft\",\n \"BillingTreatmentSelection\": \"Default\",\n \"Description\": \"ReVoman Billing Policy\"\n }\n },\n {\n \"method\": \"POST\",\n \"url\": \"{{versionPath}}/sobjects/BillingTreatment\",\n \"referenceId\": \"billingTreatment\",\n \"body\": {\n \"Name\": \"ReVoman Milestone Billing Treatment\",\n \"BillingPolicyId\": \"@{billingPolicy.id}\",\n \"Description\": \"Test Billing Treatment\",\n \"Status\": \"Draft\",\n \"ExcludeFromBilling\": \"No\",\n \"IsMilestoneBilling\": true\n }\n },\n {\n \"method\": \"POST\",\n \"url\": \"{{versionPath}}/sobjects/BillingTreatmentItem\",\n \"referenceId\": \"bti1\",\n \"body\": {\n \"Name\": \"ReVoman Milestone Billing Treatment Item 1\",\n \"Status\": \"Active\",\n \"Sequencing\": \"None\",\n \"ProcessingOrder\": 0,\n \"BillingTreatmentId\": \"@{billingTreatment.id}\",\n \"Description\": \"Test Billing Treatment Item\",\n \"type\": \"Percentage\",\n \"BillingType\": \"None\",\n \"Percentage\": 30,\n \"Controller\": \"None\",\n \"Handling0Amount\": \"None\",\n \"MilestoneType\": \"Date\",\n \"MilestoneStartDate\": \"OrderProductActivation\",\n \"MilestoneStartDateOffset\": 1,\n \"MilestoneStartDateOffsetUnit\": \"Months\"\n }\n },\n {\n \"method\": \"POST\",\n \"url\": \"{{versionPath}}/sobjects/BillingTreatmentItem\",\n \"referenceId\": \"bti2\",\n \"body\": {\n \"Name\": \"ReVoman Milestone Billing Treatment Item 2\",\n \"Status\": \"Active\",\n \"Sequencing\": \"None\",\n \"ProcessingOrder\": 0,\n \"BillingTreatmentId\": \"@{billingTreatment.id}\",\n \"Description\": \"Test Billing Treatment Item\",\n \"type\": \"Percentage\",\n \"BillingType\": \"None\",\n \"Percentage\": 30,\n \"Controller\": \"None\",\n \"Handling0Amount\": \"None\",\n \"MilestoneType\": \"Date\",\n \"MilestoneStartDate\": \"OrderProductActivation\",\n \"MilestoneStartDateOffset\": 2,\n \"MilestoneStartDateOffsetUnit\": \"Months\"\n }\n },\n {\n \"method\": \"POST\",\n \"url\": \"{{versionPath}}/sobjects/BillingTreatmentItem\",\n \"referenceId\": \"bti3\",\n \"body\": {\n \"Name\": \"ReVoman Milestone Billing Treatment Item 3\",\n \"Status\": \"Active\",\n \"Sequencing\": \"None\",\n \"ProcessingOrder\": 0,\n \"BillingTreatmentId\": \"@{billingTreatment.id}\",\n \"Description\": \"Test Billing Treatment Item\",\n \"type\": \"Percentage\",\n \"BillingType\": \"None\",\n \"Percentage\": 30,\n \"Controller\": \"None\",\n \"Handling0Amount\": \"None\",\n \"MilestoneType\": \"Date\",\n \"MilestoneStartDate\": \"OrderProductActivation\",\n \"MilestoneStartDateOffset\": 3,\n \"MilestoneStartDateOffsetUnit\": \"Months\"\n }\n }\n ]\n }\n ]\n}", |
| 124 | + "raw": "{\n \"graphs\": [\n {\n \"graphId\": \"1\",\n \"compositeRequest\": [ // BTIs: 30, 30, 30\n {\n \"method\": \"POST\",\n \"url\": \"{{versionPath}}/sobjects/BillingPolicy\",\n \"referenceId\": \"billingPolicy\",\n \"body\": {\n \"Name\": \"ReVoman Billing Policy\",\n \"Status\": \"Draft\",\n \"BillingTreatmentSelection\": \"Default\",\n \"Description\": \"ReVoman Billing Policy\"\n }\n },\n {\n \"method\": \"POST\",\n \"url\": \"{{versionPath}}/sobjects/BillingTreatment\",\n \"referenceId\": \"billingTreatment\",\n \"body\": {\n \"Name\": \"ReVoman Milestone Billing Treatment\",\n \"BillingPolicyId\": \"@{billingPolicy.id}\",\n \"Description\": \"Test Billing Treatment\",\n \"Status\": \"Draft\",\n \"ExcludeFromBilling\": \"No\",\n \"IsMilestoneBilling\": true\n }\n },\n {\n \"method\": \"POST\",\n \"url\": \"{{versionPath}}/sobjects/BillingTreatmentItem\",\n \"referenceId\": \"bti1\",\n \"body\": {\n \"Name\": \"ReVoman Milestone Billing Treatment Item 1\",\n \"Status\": \"Active\",\n \"Sequencing\": \"None\",\n \"ProcessingOrder\": 0,\n \"BillingTreatmentId\": \"@{billingTreatment.id}\",\n \"Description\": \"Test Billing Treatment Item\",\n \"type\": \"Percentage\",\n \"BillingType\": \"None\",\n \"Percentage\": 30,\n \"Controller\": \"None\",\n \"Handling0Amount\": \"None\",\n \"MilestoneType\": \"Date\",\n \"MilestoneStartDate\": \"OrderProductActivation\",\n \"MilestoneStartDateOffset\": 1,\n \"MilestoneStartDateOffsetUnit\": \"Months\"\n }\n },\n {\n \"method\": \"POST\",\n \"url\": \"{{versionPath}}/sobjects/BillingTreatmentItem\",\n \"referenceId\": \"bti2\",\n \"body\": {\n \"Name\": \"ReVoman Milestone Billing Treatment Item 2\",\n \"Status\": \"Active\",\n \"Sequencing\": \"None\",\n \"ProcessingOrder\": 0,\n \"BillingTreatmentId\": \"@{billingTreatment.id}\",\n \"Description\": \"Test Billing Treatment Item\",\n \"type\": \"Percentage\",\n \"BillingType\": \"None\",\n \"Percentage\": 30,\n \"Controller\": \"None\",\n \"Handling0Amount\": \"None\",\n \"MilestoneType\": \"Date\",\n \"MilestoneStartDate\": \"OrderProductActivation\",\n \"MilestoneStartDateOffset\": 2,\n \"MilestoneStartDateOffsetUnit\": \"Months\"\n }\n },\n {\n \"method\": \"POST\",\n \"url\": \"{{versionPath}}/sobjects/BillingTreatmentItem\",\n \"referenceId\": \"bti3\",\n \"body\": {\n \"Name\": \"ReVoman Milestone Billing Treatment Item 3\",\n \"Status\": \"Active\",\n \"Sequencing\": \"None\",\n \"ProcessingOrder\": 0,\n \"BillingTreatmentId\": \"@{billingTreatment.id}\",\n \"Description\": \"Test Billing Treatment Item\",\n \"type\": \"Percentage\",\n \"BillingType\": \"None\",\n \"Percentage\": 30,\n \"Controller\": \"None\",\n \"Handling0Amount\": \"None\",\n \"MilestoneType\": \"Date\",\n \"MilestoneStartDate\": \"OrderProductActivation\",\n \"MilestoneStartDateOffset\": 3,\n \"MilestoneStartDateOffsetUnit\": \"Months\"\n }\n }\n ]\n }\n ]\n}", |
125 | 125 | "options": { |
126 | 126 | "raw": { |
127 | 127 | "language": "json" |
|
357 | 357 | "header": [], |
358 | 358 | "body": { |
359 | 359 | "mode": "raw", |
360 | | - "raw": "{\n \"Name\": \"ReVoman OneTime\",\n \"ProductCode\": \"ReVoman OneTime\",\n \"IsActive\": true,\n \"Type\": \"Bundle\",\n \"ConfigureDuringSale\": \"Allowed\",\n \"BillingPolicyId\": \"{{billingPolicyId}}\",\n \"TaxPolicyId\": \"{{taxPolicyId}}\"\n}", |
| 360 | + "raw": "{\n \"Name\": \"ReVoman OneTime\",\n \"ProductCode\": \"ReVoman OneTime\",\n \"IsActive\": true,\n \"Type\": \"Bundle\",\n \"ConfigureDuringSale\": \"Allowed\",\n \"BillingPolicyId\": \"{{billingPolicyId}}\",\n \"TaxPolicyId\": \"{{taxPolicyId}}\"\n}", |
361 | 361 | "options": { |
362 | 362 | "raw": { |
363 | 363 | "language": "json" |
|
414 | 414 | ], |
415 | 415 | "body": { |
416 | 416 | "mode": "raw", |
417 | | - "raw": "{\n \"SellingModelType\": \"OneTime\",\n \"Name\": \"OneTime PSM\",\n \"Status\": \"Active\"\n}", |
| 417 | + "raw": "{\n \"SellingModelType\": \"OneTime\",\n \"Name\": \"ReVoman OneTime PSM\",\n \"Status\": \"Active\"\n}", |
418 | 418 | "options": { |
419 | 419 | "raw": { |
420 | 420 | "language": "json" |
|
493 | 493 | "exec": [ |
494 | 494 | "" |
495 | 495 | ], |
496 | | - "type": "text/javascript" |
| 496 | + "type": "text/javascript", |
| 497 | + "packages": {} |
497 | 498 | } |
498 | 499 | }, |
499 | 500 | { |
|
503 | 504 | "var jsonData = pm.response.json();", |
504 | 505 | "pm.environment.set(\"oneTimeSellingModelOptionId\", jsonData.id);" |
505 | 506 | ], |
506 | | - "type": "text/javascript" |
| 507 | + "type": "text/javascript", |
| 508 | + "packages": {} |
507 | 509 | } |
508 | 510 | } |
509 | 511 | ], |
|
512 | 514 | "header": [], |
513 | 515 | "body": { |
514 | 516 | "mode": "raw", |
515 | | - "raw": "{\n \"ProductSellingModelId\": \"{{oneTimeProductSellingModelId}}\",\n \"Product2Id\": \"{{oneTimeProductId}}\"\n}\n\n", |
| 517 | + "raw": "{\n \"ProductSellingModelId\": \"{{oneTimeProductSellingModelId}}\",\n \"Product2Id\": \"{{oneTimeProductId}}\"\n}", |
516 | 518 | "options": { |
517 | 519 | "raw": { |
518 | 520 | "language": "json" |
|
564 | 566 | "header": [], |
565 | 567 | "body": { |
566 | 568 | "mode": "raw", |
567 | | - "raw": "{\n \"ProductSellingModelId\": \"{{oneTimeProductSellingModelId}}\",\n \"Product2Id\": \"{{oneTimeProductId}}\",\n \"IsActive\": true,\n \"Pricebook2Id\": \"{{standardPricebookId}}\",\n \"UnitPrice\": \"{{$unitPrice}}\"\n}", |
| 569 | + "raw": "{\n \"ProductSellingModelId\": \"{{oneTimeProductSellingModelId}}\",\n \"Product2Id\": \"{{oneTimeProductId}}\",\n \"IsActive\": true,\n \"Pricebook2Id\": \"{{standardPricebookId}}\",\n \"UnitPrice\": \"{{$unitPrice}}\"\n}", |
568 | 570 | "options": { |
569 | 571 | "raw": { |
570 | 572 | "language": "json" |
|
0 commit comments