---
schema_version: "1"
id: 269294710237a65eee2087f27b2ac3e19d81879f4a5ae55118c4eaf70dfce435
title: TMFTMForumCreateQuote
collection: developer
version: current
locale: en-us
portal_url: https://docs.salesforce.com/developer/current/en-us/industries-integrations/comms/guides/TMF648/IP/TMFTMForumCreateQuote.md
canonical_url: https://developer.salesforce.com/docs/industries/communications/guide/TMFTMForumCreateQuote.html
source_site: developer.salesforce.com
content_type: documentation
content_hash: 876640a915dbd4653de78989db45d885617a99ee7cf75aa994a1e20f67e93969
products:
  - Communications Cloud TM Forum API
  - Industries Integrations
---
# TMFTMForumCreateQuote

This IP contains the POST implementation for TMF648 Quote Management.

## Input JSON

```@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

```@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](https://developer.salesforce.com/docs/industries/communications/apex/TMFOpenAPIQuoteService.md) Apex method and the following Data Raptor:

- [TMFTMForumTransformCreateQuoteRequest](https://developer.salesforce.com/docs/industries/communications/DR/TMFTMForumTransformCreateQuoteRequest.md)
