Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

GET /quoteManagement/quote/{ID}


Supporetd Methods

GET, PATCH, PUT

Description

The customerAccount service is primarily mapped to the Salesforce Quote objects. The service can either be used to retrieved a collection or a specific record (using {ID} at the end of the service). This service is partially supported (i.e. only fields and sub entities that conform to Salesforce model are mapped).

 

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}

...

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 
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{} YESNO
 relatedParty[] NO
 agreement{} NO
 quoteAuthorization[] NO
 QuoteItem[] YES
}   
customer{   
 idQuote.AccountIDYESNO
 href GENERATEDNO
 nameQuote.AccountID.NameYESNO
}   
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)

NO
 
characteristic
LineItemDescription NO
 
relatedParty
subTotal NO
 
agreement
discount NO
 
quoteAuthorization
salesPrice NO
 
quoteAuthorization.attachment
totalPrice NO
 
quoteProductOfferingPrice.quotePriceAlteration NO quoteItem.state NO quoteItem.appointment NO quoteItem.attachment
quantity 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
quoteItem.relatedParty NO
}
   

 

 

POST /quoteManagement/quote

Quote Creation is supported (not all fields)

 

 idhrefexternalIdNEW
RESOURCEELEMENTSALESFORCE FIELDOTB MAPPING
{    
     
   descriptionQuote.descriptionYES categoryQuote.category 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}

...