This IP contains the POST implementation for TMF648 Quote Management.
Input JSON
{
"agreement": [
{
"id": "00000945"
}
],
"billingAccount": [
{
"id": "CD1234"
}
],
"category": "New Customer",
"contactMedium": [
{
"characteristic": {
"contactType": "Email",
"emailAddress": "abc@salesforce.com"
},
"mediumType": "Email"
},
{
"characteristic": {
"contactType": "Phone",
"phoneNumber": "(990) 099-7788"
},
"mediumType": "Phone"
},
{
"characteristic": {
"contactType": "Fax",
"faxNumber": "abc"
},
"mediumType": "Fax"
}
],
"description": "TMF648",
"quoteItem": [
{
"action": "add",
"productOffering": [
{
"@type": "Product2",
"id": "02c29616-bcd5-50bd-afbb-6192ff7f2d7b",
"name": "TMF648 Prod2"
}
],
"quantity": "1"
}
],
"relatedParty": [
{
"id": "CD1234",
"role": "Account"
},
{
"id": "003Do00000HcsGKIAZ",
"role": "Contact"
}
]
}
Output JSON
{
"contactMedium": [
{
"characteristic": {
"emailAddress": "abc@salesforce.com",
"contactType": "Email"
},
"mediumType": "Email"
},
{
"characteristic": {
"phoneNumber": "(990) 099-7788",
"contactType": "Phone"
},
"mediumType": "Phone"
},
{
"characteristic": {
"faxNumber": "abc",
"contactType": "Fax"
},
"mediumType": "Fax"
}
],
"quoteItem": [
{
"productOffering": [
{
"name": "TMF648 Prod2",
"id": "02c29616-bcd5-50bd-afbb-6192ff7f2d7b",
"href": "/services/apexrest/vlocity_cmt/tmforum/quotemanagement/v57.0/Product2/02c29616-bcd5-50bd-afbb-6192ff7f2d7b",
"@type": "Product2"
}
],
"relatedParty": [
{
"role": "Service Account",
"name": "Acme",
"id": "001Do00000HZDL0IAP",
"href": "/services/apexrest/vlocity_cmt/tmforum/quotemanagement/v57.0/Account/001Do00000HZDL0IAP",
"@referredType": "Account"
}
],
"quantity": 1,
"id": "00002518",
"href": "/services/apexrest/vlocity_cmt/tmforum/quotemanagement/v57.0/QuoteLineItem/00002518",
"action": "Add"
}
],
"quoteTotalPrice": [
{
"price": {
"taxIncludedAmount": {
"value": 1,
"unit": "$"
}
},
"priceType": "Recurring"
},
{
"price": {
"taxIncludedAmount": {
"value": 789,
"unit": "$"
}
},
"priceType": "One-time"
}
],
"relatedParty": [
{
"role": "Account",
"name": "Acme",
"id": "CD1234",
"href": "/services/apexrest/vlocity_cmt/tmforum/quotemanagement/v57.0/Account/CD1234",
"@referredType": "Account"
},
{
"role": "Contact",
"name": "Arthur Song",
"id": "003Do00000HcsGKIAZ",
"href": "/services/apexrest/vlocity_cmt/tmforum/quotemanagement/v57.0/Contact/003Do00000HcsGKIAZ",
"@referredType": "Contact"
}
],
"version": "V1",
"href": "/services/apexrest/vlocity_cmt/tmforum/quotemanagement/v57.0/quote/00003176",
"billingAccount": [
{
"href": "/services/apexrest/vlocity_cmt/tmforum/quotemanagement/v57.0/Account/CD1234",
"name": "Acme",
"id": "CD1234"
}
],
"agreement": [
{
"href": "/services/apexrest/vlocity_cmt/tmforum/quotemanagement/v57.0/Contract/00000945",
"id": "00000945"
}
],
"state": "Draft",
"quoteDate": "2023-12-12T10:05:54.000+0000",
"id": "00003176",
"description": "TMF648",
"category": "New Customer"
}
Called By
This IP calls the TMFOpenAPIQuoteService.getAssets Apex method and the following Data Raptor: