This IP is used to invoke the TM Forum API to update a product offering price.
Input JSON
{
"patch_id": "08a3ba6c-3fa4-6bc7-af93-51622627b16f",
"description": "This pricing describes the recurring charge for a firewall service that can be deployed in business customer premise.",
"price": {
"unit": "USD",
"value": 50
},
"priceType": "recurring",
"productOfferingTerm": [
{
"description": "12 month contract",
"duration": {
"amount": 12,
"units": "Month"
},
"name": "12 Month",
"validFor": {
"endDateTime": "2023-09-22T00:00:00.0Z",
"startDateTime": "2020-09-22T16:42:23.0Z"
}
}
],
"recurringChargePeriodType": "monthly",
"validFor": {
"endDateTime": "2023-09-22T00:00:00Z",
"startDateTime": "2020-09-22T00:00:00Z"
}
}
Output JSON
{
"productOfferingTerm": [
{
"href": "/services/data/v57.0/sobjects/vlocity_cmt__Promotion__c/a3S4x000000o2mpEAA",
"@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": "true",
"validFor": {
"startDateTime": "2020-09-22T00:00:00.000+0000",
"endDateTime": "2023-09-22T00:00:00.000+0000"
},
"name": "08a3ba6c-3fa4-6bc7-af93-51622627b16f",
"lastUpdate": "2023-05-02T05:26:31.000+0000",
"id": "08a3ba6c-3fa4-6bc7-af93-51622627b16f",
"href": "/services/apexrest/%vlocity_namespace%/tmforum/productopenapi/v1/priceListEntry/a3B4x000001bRc7EAE",
"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: