POST api/RFP/Options/{optionID}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| optionID | integer |
Required |
Body Parameters
RFPOptionViewModel| Name | Description | Type | Additional information |
|---|---|---|---|
| CustomerID | integer |
None. |
|
| CustomerName | string |
None. |
|
| RFPID | integer |
None. |
|
| RFPNumber | string |
None. |
|
| OptionNumber | integer |
None. |
|
| CustomerLikes | string |
None. |
|
| CustomerDislikes | string |
None. |
|
| Age | AgeViewModel |
None. |
|
| CustomerBudget | decimal number |
None. |
|
| CalculateGTFreight | boolean |
None. |
|
| EstimateGTFreight | boolean |
None. |
|
| TaxRate | decimal number |
None. |
|
| ApplyTax | boolean |
None. |
|
| CalculateMaterialSurcharge | boolean |
None. |
|
| MaterialSurchargePercentage | decimal number |
None. |
|
| EquipmentNotes | string |
None. |
|
| PricingStructure | PricingStructureViewModel |
None. |
|
| Contract | ContractViewModel |
None. |
|
| ExplainContract | string |
None. |
|
| NoContractDiscount | boolean |
None. |
|
| ContractDiscount | decimal number |
None. |
|
| ContractAdditionalDiscount | decimal number |
None. |
|
| ListTotal | decimal number |
None. |
|
| SubTotal | decimal number |
None. |
|
| Freight | decimal number |
None. |
|
| FreightManufacturers | Collection of FreightManufacturerDetail |
None. |
|
| USCFreight | decimal number |
None. |
|
| ShowUSCFreight | boolean |
None. |
|
| VistaRopeFreight | decimal number |
None. |
|
| ShowVistaRopeFreight | boolean |
None. |
|
| GTSportsFreight | decimal number |
None. |
|
| FreightAdditional | decimal number |
None. |
|
| Discount | decimal number |
None. |
|
| MaterialSurcharge | decimal number |
None. |
|
| TaxApplied | decimal number |
None. |
|
| EquipmentTotal | decimal number |
None. |
|
| IsSurfacingByOther | boolean |
None. |
|
| SurfacingThickness | integer |
None. |
|
| SurfacingComments | string |
None. |
|
| FabricQuantity | integer |
None. |
|
| FabricPrice | decimal number |
None. |
|
| FabricTotal | decimal number |
None. |
|
| TerraFlowQuantity | integer |
None. |
|
| TerraFlowPrice | decimal number |
None. |
|
| TerraFlowTotal | decimal number |
None. |
|
| WearMatsQuantity | integer |
None. |
|
| WearMatsPrice | decimal number |
None. |
|
| WearMatsTotal | decimal number |
None. |
|
| SurfacingFreight | decimal number |
None. |
|
| BordersDescription | string |
None. |
|
| BordersPrice | decimal number |
None. |
|
| OtherDescription1 | string |
None. |
|
| OtherPrice1 | decimal number |
None. |
|
| OtherDescription2 | string |
None. |
|
| OtherPrice2 | decimal number |
None. |
|
| SurfacingOptions | Collection of RFPSurfacingOptionViewModel |
None. |
|
| SurfacingTotal | decimal number |
None. |
|
| IsInstallationByOthers | boolean |
None. |
|
| UseInstallationMultiply | boolean |
None. |
|
| InstallationMultiplier | decimal number |
None. |
|
| InstallationMultiplierTotal | decimal number |
None. |
|
| MeetTruck | boolean |
None. |
|
| HasInstallationLineItems | boolean |
None. |
|
| InstallationTotal | decimal number |
None. |
|
| IsOwnerAware | boolean |
None. |
|
| OwnerResponsibleFor | string |
None. |
|
| OverallPricingComments | string |
None. |
|
| FinalNotes | string |
None. |
|
| RevisionChanges | string |
None. |
|
| GrandTotal | decimal number |
None. |
|
| ShipToZip | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"customerID": 1,
"customerName": "sample string 2",
"rfpid": 3,
"rfpNumber": "sample string 4",
"optionNumber": 5,
"customerLikes": "sample string 6",
"customerDislikes": "sample string 7",
"age": {
"ageID": 1,
"ageDescription": "sample string 2"
},
"customerBudget": 8.0,
"calculateGTFreight": true,
"estimateGTFreight": true,
"taxRate": 11.1,
"applyTax": true,
"calculateMaterialSurcharge": true,
"materialSurchargePercentage": 14.0,
"equipmentNotes": "sample string 15",
"pricingStructure": {
"pricingStructureID": 1,
"pricingStructure": "sample string 2"
},
"contract": {
"contractID": 1,
"contractName": "sample string 2",
"isGameTime": true,
"isDisabled": true,
"hasAdditionalDiscount": true,
"hasThirdPartyBilling": true
},
"explainContract": "sample string 16",
"noContractDiscount": true,
"contractDiscount": 18.0,
"contractAdditionalDiscount": 19.0,
"listTotal": 20.0,
"subTotal": 21.0,
"freight": 22.0,
"freightManufacturers": [
{
"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
}
}
],
"uscFreight": 23.0,
"showUSCFreight": true,
"vistaRopeFreight": 25.0,
"showVistaRopeFreight": true,
"gtSportsFreight": 27.0,
"freightAdditional": 28.0,
"discount": 29.0,
"materialSurcharge": 30.0,
"taxApplied": 31.0,
"equipmentTotal": 32.0,
"isSurfacingByOther": true,
"surfacingThickness": 34,
"surfacingComments": "sample string 35",
"fabricQuantity": 1,
"fabricPrice": 1.0,
"fabricTotal": 1.0,
"terraFlowQuantity": 1,
"terraFlowPrice": 1.0,
"terraFlowTotal": 1.0,
"wearMatsQuantity": 1,
"wearMatsPrice": 1.0,
"wearMatsTotal": 1.0,
"surfacingFreight": 1.0,
"bordersDescription": "sample string 36",
"bordersPrice": 1.0,
"otherDescription1": "sample string 37",
"otherPrice1": 1.0,
"otherDescription2": "sample string 38",
"otherPrice2": 1.0,
"surfacingOptions": [
{
"surfacingOptionID": 1,
"surfacing": "sample string 2",
"squareFootage": 3.0,
"price": 4.0
},
{
"surfacingOptionID": 1,
"surfacing": "sample string 2",
"squareFootage": 3.0,
"price": 4.0
}
],
"surfacingTotal": 39.0,
"isInstallationByOthers": true,
"useInstallationMultiply": true,
"installationMultiplier": 42.0,
"installationMultiplierTotal": 43.0,
"meetTruck": true,
"hasInstallationLineItems": true,
"installationTotal": 46.0,
"isOwnerAware": true,
"ownerResponsibleFor": "sample string 48",
"overallPricingComments": "sample string 49",
"finalNotes": "sample string 50",
"revisionChanges": "sample string 51",
"grandTotal": 52.0,
"shipToZip": "sample string 53"
}
application/xml, text/xml
Sample:
<RFPOptionViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/GameTimeBAL.ViewModels">
<Age xmlns:d2p1="http://schemas.datacontract.org/2004/07/GameTimeDAL.AdditionalModel">
<d2p1:AgeDescription>sample string 2</d2p1:AgeDescription>
<d2p1:AgeID>1</d2p1:AgeID>
</Age>
<ApplyTax>true</ApplyTax>
<BordersDescription>sample string 36</BordersDescription>
<BordersPrice>1</BordersPrice>
<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>
<ContractAdditionalDiscount>19</ContractAdditionalDiscount>
<ContractDiscount>18</ContractDiscount>
<CustomerBudget>8</CustomerBudget>
<CustomerDislikes>sample string 7</CustomerDislikes>
<CustomerID>1</CustomerID>
<CustomerLikes>sample string 6</CustomerLikes>
<CustomerName>sample string 2</CustomerName>
<Discount>29</Discount>
<EquipmentNotes>sample string 15</EquipmentNotes>
<EquipmentTotal>32</EquipmentTotal>
<EstimateGTFreight>true</EstimateGTFreight>
<ExplainContract>sample string 16</ExplainContract>
<FabricPrice>1</FabricPrice>
<FabricQuantity>1</FabricQuantity>
<FabricTotal>1</FabricTotal>
<FinalNotes>sample string 50</FinalNotes>
<Freight>22</Freight>
<FreightAdditional>28</FreightAdditional>
<FreightManufacturers>
<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>
</FreightManufacturers>
<GTSportsFreight>27</GTSportsFreight>
<GrandTotal>52</GrandTotal>
<HasInstallationLineItems>true</HasInstallationLineItems>
<InstallationMultiplier>42</InstallationMultiplier>
<InstallationMultiplierTotal>43</InstallationMultiplierTotal>
<InstallationTotal>46</InstallationTotal>
<IsInstallationByOthers>true</IsInstallationByOthers>
<IsOwnerAware>true</IsOwnerAware>
<IsSurfacingByOther>true</IsSurfacingByOther>
<ListTotal>20</ListTotal>
<MaterialSurcharge>30</MaterialSurcharge>
<MaterialSurchargePercentage>14</MaterialSurchargePercentage>
<MeetTruck>true</MeetTruck>
<NoContractDiscount>true</NoContractDiscount>
<OptionNumber>5</OptionNumber>
<OtherDescription1>sample string 37</OtherDescription1>
<OtherDescription2>sample string 38</OtherDescription2>
<OtherPrice1>1</OtherPrice1>
<OtherPrice2>1</OtherPrice2>
<OverallPricingComments>sample string 49</OverallPricingComments>
<OwnerResponsibleFor>sample string 48</OwnerResponsibleFor>
<PricingStructure>
<PricingStructure>sample string 2</PricingStructure>
<PricingStructureID>1</PricingStructureID>
</PricingStructure>
<RFPID>3</RFPID>
<RFPNumber>sample string 4</RFPNumber>
<RevisionChanges>sample string 51</RevisionChanges>
<ShipToZip>sample string 53</ShipToZip>
<ShowUSCFreight>true</ShowUSCFreight>
<ShowVistaRopeFreight>true</ShowVistaRopeFreight>
<SubTotal>21</SubTotal>
<SurfacingComments>sample string 35</SurfacingComments>
<SurfacingFreight>1</SurfacingFreight>
<SurfacingOptions>
<RFPSurfacingOptionViewModel>
<Price>4</Price>
<SquareFootage>3</SquareFootage>
<Surfacing>sample string 2</Surfacing>
<SurfacingOptionID>1</SurfacingOptionID>
</RFPSurfacingOptionViewModel>
<RFPSurfacingOptionViewModel>
<Price>4</Price>
<SquareFootage>3</SquareFootage>
<Surfacing>sample string 2</Surfacing>
<SurfacingOptionID>1</SurfacingOptionID>
</RFPSurfacingOptionViewModel>
</SurfacingOptions>
<SurfacingThickness>34</SurfacingThickness>
<SurfacingTotal>39</SurfacingTotal>
<TaxApplied>31</TaxApplied>
<TaxRate>11.1</TaxRate>
<TerraFlowPrice>1</TerraFlowPrice>
<TerraFlowQuantity>1</TerraFlowQuantity>
<TerraFlowTotal>1</TerraFlowTotal>
<USCFreight>23</USCFreight>
<UseInstallationMultiply>true</UseInstallationMultiply>
<VistaRopeFreight>25</VistaRopeFreight>
<WearMatsPrice>1</WearMatsPrice>
<WearMatsQuantity>1</WearMatsQuantity>
<WearMatsTotal>1</WearMatsTotal>
</RFPOptionViewModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.