POST api/RFP/Equipment/{optionID}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
optionID

integer

Required

Body Parameters

RFPLineItemViewModel
NameDescriptionTypeAdditional information
LineItemID

integer

None.

Manufacturer

ManufacturerViewModel

None.

Quantity

integer

None.

Description

string

None.

StockID

string

None.

Weight

decimal number

None.

DealerNet

decimal number

None.

ListPrice

decimal number

None.

SellingPrice

decimal number

None.

Discount

decimal number

None.

ContractDiscount

decimal number

None.

Total

decimal number

None.

ProductInfo

ProductSelectionViewModel

None.

Request Formats

application/json, text/json

Sample:
{
  "lineItemID": 1,
  "manufacturer": {
    "manufacturerID": 1,
    "manufacturerName": "sample string 2",
    "isGameTime": true,
    "usePricingStructure": true
  },
  "quantity": 2,
  "description": "sample string 3",
  "stockID": "sample string 4",
  "weight": 5.1,
  "dealerNet": 6.0,
  "listPrice": 7.0,
  "sellingPrice": 8.0,
  "discount": 9.0,
  "contractDiscount": 10.0,
  "total": 11.0,
  "productInfo": {
    "pricingStructureID": 1,
    "productID": 2,
    "stockID": "sample string 3",
    "gizmoQuantity": 4,
    "hasComponent": true,
    "isOwnerKit": true,
    "isKidTime": true,
    "freightClass30": 8.1,
    "freightClass70": 9.1,
    "freightClass175": 10.1,
    "description": "sample string 11",
    "isTaxable": true,
    "weight": 13.1,
    "dealerNet": 14.0,
    "listPrice": 15.0,
    "sellingPrice": 16.0,
    "discount": 17.0,
    "maxDiscount": 18.0,
    "comment": "sample string 19"
  }
}

application/xml, text/xml

Sample:
<RFPLineItemViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/GameTimeBAL.ViewModels">
  <ContractDiscount>10</ContractDiscount>
  <DealerNet>6</DealerNet>
  <Description>sample string 3</Description>
  <Discount>9</Discount>
  <LineItemID>1</LineItemID>
  <ListPrice>7</ListPrice>
  <Manufacturer>
    <IsGameTime>true</IsGameTime>
    <ManufacturerID>1</ManufacturerID>
    <ManufacturerName>sample string 2</ManufacturerName>
    <UsePricingStructure>true</UsePricingStructure>
  </Manufacturer>
  <ProductInfo>
    <Comment>sample string 19</Comment>
    <DealerNet>14</DealerNet>
    <Description>sample string 11</Description>
    <Discount>17</Discount>
    <FreightClass175>10.1</FreightClass175>
    <FreightClass30>8.1</FreightClass30>
    <FreightClass70>9.1</FreightClass70>
    <GizmoQuantity>4</GizmoQuantity>
    <HasComponent>true</HasComponent>
    <IsKidTime>true</IsKidTime>
    <IsOwnerKit>true</IsOwnerKit>
    <IsTaxable>true</IsTaxable>
    <ListPrice>15</ListPrice>
    <MaxDiscount>18</MaxDiscount>
    <PricingStructureID>1</PricingStructureID>
    <ProductID>2</ProductID>
    <SellingPrice>16</SellingPrice>
    <StockID>sample string 3</StockID>
    <Weight>13.1</Weight>
  </ProductInfo>
  <Quantity>2</Quantity>
  <SellingPrice>8</SellingPrice>
  <StockID>sample string 4</StockID>
  <Total>11</Total>
  <Weight>5.1</Weight>
</RFPLineItemViewModel>

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.