POST api/Quote/{id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

Body Parameters

QuoteUpdateViewModel
NameDescriptionTypeAdditional information
QuoteName

string

None.

Status

StatusViewModel

None.

QuoteDate

date

None.

ShipToZip

string

None.

ThirdPartyBilling

boolean

None.

RepCode

RepCode

None.

ConsumerCategory

ConsumerCategoryModel

None.

MarketCategory

MarketCategoryModel

None.

InternalNotes

string

None.

QuoteComments

string

None.

TaxSettings

QuoteTaxSettingsViewModel

None.

Amounts

QuotesAmountsViewModel

None.

Request Formats

application/json, text/json

Sample:
{
  "quoteName": "sample string 1",
  "status": {
    "status": "sample string 1",
    "statusName": "sample string 2"
  },
  "quoteDate": "2025-12-09T23:06:31.9001984-05:00",
  "shipToZip": "sample string 3",
  "thirdPartyBilling": true,
  "repCode": {
    "repCodeID": 1,
    "repCodeName": "sample string 2"
  },
  "consumerCategory": {
    "consumer": "sample string 1",
    "consumerCategory": "sample string 2"
  },
  "marketCategory": {
    "marketCategory": "sample string 1",
    "market": "sample string 2",
    "consumerCategory": "sample string 3"
  },
  "internalNotes": "sample string 5",
  "quoteComments": "sample string 6",
  "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,
    "additionalTax": 9.0,
    "calculateMaterialSurcharge": true,
    "materialSurchargePercentage": 11.0,
    "includeProjectManagementFee": true,
    "projectManagementFee": 13.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:
<QuoteUpdateViewModel 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>
  <ConsumerCategory>
    <Consumer>sample string 1</Consumer>
    <ConsumerCategory>sample string 2</ConsumerCategory>
  </ConsumerCategory>
  <InternalNotes>sample string 5</InternalNotes>
  <MarketCategory>
    <ConsumerCategory>sample string 3</ConsumerCategory>
    <Market>sample string 2</Market>
    <MarketCategory>sample string 1</MarketCategory>
  </MarketCategory>
  <QuoteComments>sample string 6</QuoteComments>
  <QuoteDate>2025-12-09T23:06:31.9001984-05:00</QuoteDate>
  <QuoteName>sample string 1</QuoteName>
  <RepCode>
    <RepCodeID>1</RepCodeID>
    <RepCodeName>sample string 2</RepCodeName>
  </RepCode>
  <ShipToZip>sample string 3</ShipToZip>
  <Status>
    <Status>sample string 1</Status>
    <StatusName>sample string 2</StatusName>
  </Status>
  <TaxSettings>
    <AdditionalTax>9</AdditionalTax>
    <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>
    <IncludeProjectManagementFee>true</IncludeProjectManagementFee>
    <MaterialSurchargePercentage>11</MaterialSurchargePercentage>
    <NoContractDiscount>true</NoContractDiscount>
    <PricingStructure>
      <PricingStructure>sample string 2</PricingStructure>
      <PricingStructureID>1</PricingStructureID>
    </PricingStructure>
    <ProjectManagementFee>13</ProjectManagementFee>
    <TaxAfterDiscount>true</TaxAfterDiscount>
    <TaxAll>true</TaxAll>
    <TaxAutoCalculate>true</TaxAutoCalculate>
    <TaxFreight>true</TaxFreight>
    <TaxRate>4.1</TaxRate>
  </TaxSettings>
  <ThirdPartyBilling>true</ThirdPartyBilling>
</QuoteUpdateViewModel>

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.