POST api/QuickQuote/Add

Request Information

URI Parameters

None.

Body Parameters

QuickQuoteUpdateViewModel
NameDescriptionTypeAdditional information
QuoteName

string

None.

ShipToZip

string

None.

ThirdPartyBilling

boolean

None.

TaxSettings

QuickQuoteTaxSettingsViewModel

None.

Amounts

QuotesAmountsViewModel

None.

Request Formats

application/json, text/json

Sample:
{
  "quoteName": "sample string 1",
  "shipToZip": "sample string 2",
  "thirdPartyBilling": true,
  "taxSettings": {
    "calculateGTFreight": true,
    "estimateGTFreight": true,
    "pricingStructure": {
      "pricingStructureID": 1,
      "pricingStructure": "sample string 2"
    },
    "contract": {
      "contractID": 1,
      "contractName": "sample string 2",
      "isGameTime": true,
      "isDisabled": true,
      "hasAdditionalDiscount": true,
      "hasThirdPartyBilling": true
    },
    "noContractDiscount": true,
    "taxRate": 4.1,
    "taxAll": true,
    "taxAutoCalculate": true,
    "taxFreight": true,
    "taxAfterDiscount": true,
    "calculateMaterialSurcharge": true,
    "materialSurchargePercentage": 10.0
  },
  "amounts": {
    "taxTotal": 1.0,
    "nonTaxTotal": 2.0,
    "contractDiscount": 3.0,
    "contractAdditionalDiscount": 4.0,
    "discount": 5.0,
    "cwoDiscount": 6.0,
    "showDiscountBreakdown": true,
    "materialSurcharge": 8.0,
    "freight": 9.0,
    "uscFreight": 10.0,
    "showUSCFreight": true,
    "vistaRopeFreight": 12.0,
    "showVistaRopeFreight": true,
    "gtSportsFreight": 14.0,
    "freightAdditional": 15.0,
    "manufacturerFreight": [
      {
        "freight": 1.0,
        "details": {
          "manufacturer": {
            "manufacturerID": 1,
            "manufacturerName": "sample string 2",
            "isGameTime": true,
            "usePricingStructure": true
          },
          "weight30": 1.0,
          "freight30": 2.0,
          "weight70": 3.0,
          "freight70": 4.0,
          "weight175": 5.0,
          "freight175": 6.0,
          "handlingCharge": 7.0,
          "weightTotal": 8.0,
          "freightTotal": 9.0
        }
      },
      {
        "freight": 1.0,
        "details": {
          "manufacturer": {
            "manufacturerID": 1,
            "manufacturerName": "sample string 2",
            "isGameTime": true,
            "usePricingStructure": true
          },
          "weight30": 1.0,
          "freight30": 2.0,
          "weight70": 3.0,
          "freight70": 4.0,
          "weight175": 5.0,
          "freight175": 6.0,
          "handlingCharge": 7.0,
          "weightTotal": 8.0,
          "freightTotal": 9.0
        }
      }
    ],
    "taxApplied": 16.0,
    "total": 17.0,
    "discountLevel": 18
  }
}

application/xml, text/xml

Sample:
<QuickQuoteUpdateViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/GameTimeBAL.ViewModels">
  <Amounts>
    <CWODiscount>6</CWODiscount>
    <ContractAdditionalDiscount>4</ContractAdditionalDiscount>
    <ContractDiscount>3</ContractDiscount>
    <Discount>5</Discount>
    <DiscountLevel>18</DiscountLevel>
    <Freight>9</Freight>
    <FreightAdditional>15</FreightAdditional>
    <GTSportsFreight>14</GTSportsFreight>
    <ManufacturerFreight>
      <FreightManufacturerDetail>
        <Details>
          <Freight175>6</Freight175>
          <Freight30>2</Freight30>
          <Freight70>4</Freight70>
          <FreightTotal>9</FreightTotal>
          <HandlingCharge>7</HandlingCharge>
          <Manufacturer>
            <IsGameTime>true</IsGameTime>
            <ManufacturerID>1</ManufacturerID>
            <ManufacturerName>sample string 2</ManufacturerName>
            <UsePricingStructure>true</UsePricingStructure>
          </Manufacturer>
          <Weight175>5</Weight175>
          <Weight30>1</Weight30>
          <Weight70>3</Weight70>
          <WeightTotal>8</WeightTotal>
        </Details>
        <Freight>1</Freight>
      </FreightManufacturerDetail>
      <FreightManufacturerDetail>
        <Details>
          <Freight175>6</Freight175>
          <Freight30>2</Freight30>
          <Freight70>4</Freight70>
          <FreightTotal>9</FreightTotal>
          <HandlingCharge>7</HandlingCharge>
          <Manufacturer>
            <IsGameTime>true</IsGameTime>
            <ManufacturerID>1</ManufacturerID>
            <ManufacturerName>sample string 2</ManufacturerName>
            <UsePricingStructure>true</UsePricingStructure>
          </Manufacturer>
          <Weight175>5</Weight175>
          <Weight30>1</Weight30>
          <Weight70>3</Weight70>
          <WeightTotal>8</WeightTotal>
        </Details>
        <Freight>1</Freight>
      </FreightManufacturerDetail>
    </ManufacturerFreight>
    <MaterialSurcharge>8</MaterialSurcharge>
    <NonTaxTotal>2</NonTaxTotal>
    <ShowDiscountBreakdown>true</ShowDiscountBreakdown>
    <ShowUSCFreight>true</ShowUSCFreight>
    <ShowVistaRopeFreight>true</ShowVistaRopeFreight>
    <TaxApplied>16</TaxApplied>
    <TaxTotal>1</TaxTotal>
    <Total>17</Total>
    <USCFreight>10</USCFreight>
    <VistaRopeFreight>12</VistaRopeFreight>
  </Amounts>
  <QuoteName>sample string 1</QuoteName>
  <ShipToZip>sample string 2</ShipToZip>
  <TaxSettings>
    <CalculateGTFreight>true</CalculateGTFreight>
    <CalculateMaterialSurcharge>true</CalculateMaterialSurcharge>
    <Contract>
      <ContractID>1</ContractID>
      <ContractName>sample string 2</ContractName>
      <HasAdditionalDiscount>true</HasAdditionalDiscount>
      <HasThirdPartyBilling>true</HasThirdPartyBilling>
      <IsDisabled>true</IsDisabled>
      <IsGameTime>true</IsGameTime>
    </Contract>
    <EstimateGTFreight>true</EstimateGTFreight>
    <MaterialSurchargePercentage>10</MaterialSurchargePercentage>
    <NoContractDiscount>true</NoContractDiscount>
    <PricingStructure>
      <PricingStructure>sample string 2</PricingStructure>
      <PricingStructureID>1</PricingStructureID>
    </PricingStructure>
    <TaxAfterDiscount>true</TaxAfterDiscount>
    <TaxAll>true</TaxAll>
    <TaxAutoCalculate>true</TaxAutoCalculate>
    <TaxFreight>true</TaxFreight>
    <TaxRate>4.1</TaxRate>
  </TaxSettings>
  <ThirdPartyBilling>true</ThirdPartyBilling>
</QuickQuoteUpdateViewModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.