POST api/LineItem/AddNotImportedLineItem

Request Information

URI Parameters

None.

Body Parameters

Collection of NotImportedLineItemViewModel
NameDescriptionTypeAdditional information
FromQuoteId

integer

None.

ToQuoteId

integer

None.

StockId

string

None.

RDUStockId

string

None.

Description

string

None.

IsTaxable

boolean

None.

Keep

boolean

None.

Remove

boolean

None.

Request Formats

application/json, text/json

Sample:
[
  {
    "fromQuoteId": 1,
    "toQuoteId": 2,
    "stockId": "sample string 3",
    "rduStockId": "sample string 4",
    "description": "sample string 5",
    "isTaxable": true,
    "keep": true,
    "remove": true
  },
  {
    "fromQuoteId": 1,
    "toQuoteId": 2,
    "stockId": "sample string 3",
    "rduStockId": "sample string 4",
    "description": "sample string 5",
    "isTaxable": true,
    "keep": true,
    "remove": true
  }
]

application/xml, text/xml

Sample:
<ArrayOfNotImportedLineItemViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/GameTimeBAL.ViewModels.Quote">
  <NotImportedLineItemViewModel>
    <Description>sample string 5</Description>
    <FromQuoteId>1</FromQuoteId>
    <IsTaxable>true</IsTaxable>
    <Keep>true</Keep>
    <RDUStockId>sample string 4</RDUStockId>
    <Remove>true</Remove>
    <StockId>sample string 3</StockId>
    <ToQuoteId>2</ToQuoteId>
  </NotImportedLineItemViewModel>
  <NotImportedLineItemViewModel>
    <Description>sample string 5</Description>
    <FromQuoteId>1</FromQuoteId>
    <IsTaxable>true</IsTaxable>
    <Keep>true</Keep>
    <RDUStockId>sample string 4</RDUStockId>
    <Remove>true</Remove>
    <StockId>sample string 3</StockId>
    <ToQuoteId>2</ToQuoteId>
  </NotImportedLineItemViewModel>
</ArrayOfNotImportedLineItemViewModel>

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.