You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 8 Next »

Salesforce maintains a Quote object out of the box - the OPEN API quote resource will be mapped against the Salesforce Quote object.

Salesforce requires that a quote be created against an Opportunity Object (it is a sub object of an opportunity). In order to create a quote, and opportunity must first be created and referenced in the quote creation (all other operations can work directly on the quote record).

GET /quoteManagement/quote/{ID}

Creation of quotes is supported (not all fields are mapped)

RESOURCEELEMENTSALESFORCE FIELDOTB MAPPING
{   
 idQuote.idYES
 href GENERATED
 externalIdQuote.TMF_External_ID__cNEW
 descriptionQuote.descriptionYES
 categoryQuote.TMF_Category__c

NEW

(Enterprise, Corporate, SME, Residential)

 stateQuote.status

YES

(—None—, Draft, Needs Review, In Review, Approved, Rejected, Presented, Accepted, Denied)

 versionQuote.TMF_Version__cNEW
 quoteDateQuote.createdDateYES
 effectiveQuoteCompletionDateQuote.TMF_Effective_Completion_Date__cNEW
 quoteCompletionDateQuote.TMF_Completion_Date__cNEW
 notificationContactQuote.emailYES
 validFor.startDateTimeQuote.TMF_Valid_From__cYES
 validFor.endDateTimeQuote.ExpirationDateYES
 billingAccount[] NO
 note[] NO
 characteristic[] NO
 customer{} YES
 relatedParty[] NO
 agreement{} NO
 quoteAuthorization[] NO
 QuoteItem[] YES
}   
customer{   
 idQuote.AccountIDYES
 href GENERATED
 nameQuote.AccountID.NameYES
}   
QuoteItem{   
 IdQuote.QuoteLineItem.IDYES
 stateQuote.QuoteLineItem.TMF_State__cNEW
 appointmentQuote.QuoteLineItem.TMF_AppointmentNEW
 LineItemNumberQuote.QuoteLineItem.LineItemNumberYES
 LineItemDescriptionQuote.QuoteLineItem.LineItemDescriptionYES
 subTotalQuote.QuoteLineItem.SubTotalYES
 discountQuote.QuoteLineItem.DiscountYES
 salesPriceQuote.QuoteLineItem.SalesPriceYES
 totalPriceQuote.QuoteLineItem.TotalPriceYES
 quantityQuote.QuoteLineItem.QuantityYES
}   
ProductOffering{   
    

 


 

PATCH /quoteManagement/quote/{ID}

PATCH is supported to update elements of a quote (empty fields will not delete the values)

RESOURCEELEMENTSALESFORCE FIELDOTB MAPPING
{   
 

description

Quote.descriptionYES
 categoryQuote.categoryNEW
 stateQuote.status

YES

(—None—, Draft, Needs Review, In Review, Approved, Rejected, Presented, Accepted, Denied)

 

quoteCompletionDate

Quote.quoteCompletionDateNEW
 notificationContact Quote.emailYES
 validFor.startDateTime  
 validFor.endDateTimeQuote.ExpirationDateYES
 billingAccount note NO
 characteristic NO
 relatedParty NO
 agreement NO
 quoteAuthorization NO
 quoteAuthorization.attachment NO
 quoteProductOfferingPrice.quotePriceAlteration NO
 quoteItem.state NO
 quoteItem.appointment NO
 quoteItem.attachment NO
 quoteItem.relatedParty NO
 quoteItem.productOfferingQuote.LineItemIdYES
 quoteItem.ProductCharacteristic.nameQuote.LineItem.Product2IdYES
 quoteItem.ProductCharacteristic.value NO
 quoteItem.Bundledproduct.id NO
 quoteItem.Bundledproduct.href NO
 note NO
 itemQuoteAuthorization NO
 itemQuoteProductOfferingPrice NO
}   

 


 

POST /quoteManagement/quote

Quote Creation is supported (not all fields)

 

RESOURCEELEMENTSALESFORCE FIELDOTB MAPPING
{   
 id  
 href  
 externalId  
 descriptionQuote.descriptionYES
 categoryQuote.categoryNEW
 stateQuote.status

YES

(—None—, Draft, Needs Review, In Review, Approved, Rejected, Presented, Accepted, Denied)

 versionQuote.versionNEW
 quoteDateQuote.createdDateYES
 effectiveQuoteCompletionDate NO
 quoteCompletionDateQuote.quoteCompletionDateNEW
 notificationContactQuote.emailYES
 validFor.endDateTimeQuote.ExpirationDateYES
 billingAccount[] NO
 note[] NO
 characteristic[] NO
 customer{} YES
 relatedParty[] NO
 agreement{} NO
 quoteAuthorization[] NO
}   
customer{   
 idQuote.AccountIDYES
 href GENERATED
 nameQuote.AccountID.NameYES
}   

 


 

DELETE QUOTEMANAGEMENT/QUOTE/{ID}

Deletion of Quote by ID is supported (will execute a csacade delete)

  • No labels