This IP is used to invoke the TM Forum API to create a Product Offering Price.
Input JSON
{
"name": "demo pricing",
"description": "This pricing describes the recurring charge for a firewall service that can be deployed in business customer premise.",
"validFor": {
"startDateTime": "2020-09-22T00:00:00Z",
"endDateTime": "2023-09-22T00:00:00Z"
},
"lifecycleStatus": "Active",
"priceType": "Recurring",
"recurringChargePeriodType": "Monthly",
"price": {
"unit": "USD",
"value": 50
},
"productOfferingTerm": [
{
"name": "12 Month",
"description": "12 month contract",
"duration": {
"amount": 12,
"units": "Month"
},
"validFor": {
"startDateTime": "2020-09-22T16:42:23.0Z",
"endDateTime": "2023-09-22T00:00:00.0Z"
}
}
]
}
Output JSON
{
"productOfferingTerm": [
{
"href": "/services/data/v57.0/sobjects/vlocity_cmt__Promotion__c/a3S4x000000o2muEAA",
"@type": "ProductOfferingTerm",
"validFor": {
"startDateTime": "2020-09-22T16:42:23.000+0000",
"endDateTime": "2023-09-22T00:00:00.000+0000"
},
"duration": {
"units": "Month",
"amount": 12
},
"name": "12 Month",
"description": "12 month contract"
}
],
"lifecycleStatus": "false",
"validFor": {
"startDateTime": "2020-09-22T00:00:00.000+0000",
"endDateTime": "2023-09-22T00:00:00.000+0000"
},
"name": "demo pricing",
"lastUpdate": "2023-05-02T06:09:42.000+0000",
"id": "86b73e5e-1166-9e69-a21e-b382be310fb1",
"href": "/services/apexrest/%vlocity_namespace%/tmforum/productopenapi/v1/priceListEntry/a3B4x000001bUyQEAU",
"description": "This pricing describes the recurring charge for a firewall service that can be deployed in business customer premise.",
"price": {
"value": 50.00000,
"unit": "USD"
},
"recurringChargePeriodType": "Monthly",
"priceType": "Recurring"
}
Usage
This IP calls the following Data Raptors: