POST api/VendorQuote/SaveQuoteItem?username={username}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
username

string

Required

Body Parameters

VendorQuoteItem
NameDescriptionTypeAdditional information
BOGOVendorQuoteItemId

integer

None.

BOGOVendorQuoteId

integer

None.

LineNumber

integer

None.

ProductId

integer

None.

ProductNumber

string

None.

ProductDescription

string

None.

SellUnitOfMeasureId

integer

None.

SellUnitOfMeasureName

string

None.

Quantity

decimal number

None.

UnitPrice

decimal number

None.

UnitCost

decimal number

None.

ExtendedCost

decimal number

None.

Request Formats

application/json, text/json

Sample:
{
  "BOGOVendorQuoteItemId": 1,
  "BOGOVendorQuoteId": 2,
  "LineNumber": 3,
  "ProductId": 1,
  "ProductNumber": "sample string 4",
  "ProductDescription": "sample string 5",
  "SellUnitOfMeasureId": 6,
  "SellUnitOfMeasureName": "sample string 7",
  "Quantity": 8.0,
  "UnitPrice": 9.0,
  "UnitCost": 10.0,
  "ExtendedCost": 11.0
}

application/xml, text/xml

Sample:
<VendorQuoteItem xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/GoHarrellsAPI.Models">
  <BOGOVendorQuoteId>2</BOGOVendorQuoteId>
  <BOGOVendorQuoteItemId>1</BOGOVendorQuoteItemId>
  <ExtendedCost>11</ExtendedCost>
  <LineNumber>3</LineNumber>
  <ProductDescription>sample string 5</ProductDescription>
  <ProductId>1</ProductId>
  <ProductNumber>sample string 4</ProductNumber>
  <Quantity>8</Quantity>
  <SellUnitOfMeasureId>6</SellUnitOfMeasureId>
  <SellUnitOfMeasureName>sample string 7</SellUnitOfMeasureName>
  <UnitCost>10</UnitCost>
  <UnitPrice>9</UnitPrice>
</VendorQuoteItem>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

integer

Response Formats

application/json, text/json

Sample:
1

application/xml, text/xml

Sample:
<int xmlns="http://schemas.microsoft.com/2003/10/Serialization/">1</int>