Overview

  • The TMF648 API provides a standardized client interface for placing a customer quote with all of the necessary quote parameters. The API consists of a simple set of operations that interact with CRM/Order Negotiation systems in a consistent manner.
  • Following block diagram provides a high-level overview of how the various components are involved in handling TMF 648 API operations (GET, POST). TMF648 Components
  • A customer quote is created based on a product offer that is defined in a catalog (POST). The quote identifies the product or set of products that are available to a customer, and includes characteristics such as pricing (eventually special pricing for the customer described in the quote), product options and agreement. You can also retrieve a customer quote or a collection of customer quotes (GET List) depending on the filter criteria.

In general, we can consider the various use cases listed based on the operation you want to perform.

It is assumed that you have completed the following.

Following block diagram provides a sequence of operations involved. Sequence NOTE:

  • For mandatory fields and resource mappings, refer TMF648 Resource Mappings.
  • For more information on supported Integration Procedures, Data Raptors, Apex Interfaces, Custom Metadata, refer Extend TMF648 API documentation.
I want to
Request TypeExample URL
Retrieve and display details of a particular customer quote.GET by ID{{orgendpoint}}/services/apexrest/{{namespace}}/tmforum/quoteManagement/v1/quote/{ID}

NOTE:
For invalid product ID, you will receive HTTP 404 error.
Based on the provided field values, retrieve and display details of a particular product order ID.GET by ID and Fields{{orgendpoint}}/services/apexrest/{{namespace}}/tmforum/quoteManagement/v1/quote/00001205?fields=category,description,state

NOTE:
The requested fields will be part of output, if they have value.
List all the customer quotes present in the system.GET List{{orgendpoint}}/services/apexrest/{{namespace}}/tmforum/quoteManagement/v1/quote
List all the customer quotes present in the system based on the provided field values and filter applied.GET List by Fields and Filtering{{orgendpoint}}/services/apexrest/{{namespace}}/tmforum/quoteManagement/v1/quote?fields=category,description,state&state=Draft

NOTE:
The requested fields will be part of output, if they have value.
List customer quotes based on the date of creation, limit the number of customer quotes to a maximum of specified limit, and
starts the results display from page specified by offset.
GET List by limit and offset{{orgendpoint}}/services/apexrest/{{namespace}}/tmforum/quoteManagement/v1/quote?limit=2&offset=2

NOTE:
The pagination query mentioned above - limit=2&offset=2 will start display from page 2 and will have 2 records.
Create a new customer quote by providing the required details.POST{{orgendpoint}}/services/apexrest/{{namespace}}/tmforum/quoteManagement/v1/quote
NOTE:
A new customer quote gets created based on the values mentioned for the mandatory fields.

Consider you want to retrieve details of a particular customer quote.

  • QuoteNumber is used as quote identifier
  • Retrieve and display all the not-null first level attributes and sub-resources of the requested entity

https://vlocity-1f5-dev-ed.develop.my.salesforce.com/services/apexrest/vlocity_cmt/tmforum/quoteManagement/v60.0/quote/00003486

Consider you want to retrieve details of the customer quote ID = 00001205. Get the following details in the output.

  • category
  • description
  • state

https://vlocity-1f5-dev-ed.develop.my.salesforce.com/services/apexrest/vlocity_cmt/tmforum/quoteManagement/v60.0/quote/00001205?fields=category,description,state

Consider there are multiple customer quotes in the system and you want to list all of them.

https://vlocity-1f5-dev-ed.develop.my.salesforce.com/services/apexrest/vlocity_cmt/tmforum/quoteManagement/v60.0/quote

The sample response is assuming there are 3 quotes in system, displaying all the sub-resources, if present.

Consider you want to retrieve all the customer quotes present in the system with applied filter values.

https://vlocity-1f5-dev-ed.develop.my.salesforce.com/services/apexrest/vlocity_cmt/tmforum/quoteManagement/v60.0/quote?fields=category,description,state&state=Draft

Consider you want to

  • Retrieve a list of quotes ordered by Date of Creation
  • Limit the number of quotes to a maximum of specified limit
  • Start the results display from page specified by offset

https://vlocity-1f5-dev-ed.develop.my.salesforce.com/services/apexrest/vlocity_cmt/tmforum/quoteManagement/v60.0/quote?limit=2&offset=2

NOTE: If there are multiple quotes, the above pagination query - limit=2&offset=2 will start display from page 2 and will have 2 records.

Consider you want to create a new customer quote with all first level attributes.

https://vlocity-1f5-dev-ed.develop.my.salesforce.com/services/apexrest/vlocity_cmt/tmforum/quoteManagement/v60.0/quote