POST api/quote/{id}/details

Create a new Quote Detail i.e. add a product to Quote

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

Guid Identifier of Quote Header record

globally unique identifier

Required

Body Parameters

Quote Detail record

QuoteDetail
NameDescriptionTypeAdditional information
SaleItemID

integer

None.

SaleHeaderID

integer

None.

Identifier

Collection of byte

None.

IdentifierGuid

globally unique identifier

None.

PLU

integer

None.

PLUG_UID

Collection of byte

None.

PluGuid

globally unique identifier

None.

AccountId

Collection of byte

None.

AccountIdGuid

globally unique identifier

None.

NormalPrice

integer

None.

OriginalSellingPrice

integer

None.

DiscountPrice

integer

None.

Unit

integer

None.

Quantity

integer

None.

TotalCents

integer

None.

FixedPrice

integer

None.

TranType

TransactionType

None.

Processed

boolean

None.

DiscountType

integer

None.

OperatorDiscount

boolean

None.

Cost

integer

None.

CostDecimals

integer

None.

Active

boolean

None.

Markdown

boolean

None.

ManualQuantity

boolean

None.

ManualPrice

boolean

None.

ManualMode

boolean

None.

Offline

boolean

None.

Refunded

boolean

None.

Barcode

string

String length: inclusive between 0 and 128

KeyedSale

boolean

None.

DiscountedID

integer

None.

FuelID

integer

None.

SerialNumber

string

String length: inclusive between 0 and 64

BestOrExpire

date

None.

BestOrExpireType

boolean

None.

RefundG_UID

Collection of byte

None.

RefundGuid

globally unique identifier

None.

ProviderName

string

String length: inclusive between 0 and 16

Campaign

string

String length: inclusive between 0 and 64

CampaignType

integer

None.

ModifiedID

integer

None.

OmittedIngredient

boolean

None.

TaxPercent

decimal number

None.

TaxAmount

decimal number

None.

RefundablePrice

decimal number

None.

ShowDiscounts

boolean

None.

OrderPrinted

boolean

None.

Note

string

String length: inclusive between 0 and 140

OperatorG_UID

Collection of byte

None.

OperatorGuid

globally unique identifier

None.

ModifierName

string

String length: inclusive between 0 and 60

ModifierSetName

string

String length: inclusive between 0 and 60

TotalValueWasScanned

boolean

None.

Sold

boolean

None.

CampaignPrice

boolean

None.

ScannedValue

integer

None.

CampaignName

string

String length: inclusive between 0 and 64

ComboDiscount

integer

None.

WeightEmbedded

boolean

None.

DepartmentID

integer

None.

DepartmentCode

string

String length: inclusive between 0 and 20

IdempotentVoid

Collection of byte

None.

IdempotentVoidGuid

globally unique identifier

None.

SaleHeaderGuid

Collection of byte

Relation. This field may not always be loaded or used for updates.

SaleHeaderIdentifierGuid

globally unique identifier

Relation. This field may not always be loaded or used for updates.

Discounts

This will be used to add/update Discounts associated with the current detail line

Collection of QuoteDetail

Relation. This field may not always be loaded or used for updates.

Modifiers

This will be used to add/update Modifiers associated with the current detail line

Collection of QuoteDetail

Relation. This field may not always be loaded or used for updates.

Request Formats

application/json, text/json

Sample:
{
  "saleItemID": 1,
  "saleHeaderID": 2,
  "identifier": "T15KHDDiFEmNajGIv7o8aw==",
  "identifierGuid": "1c4a5e4f-e230-4914-8d6a-3188bfba3c6b",
  "plu": 1,
  "pluG_UID": "Tblez4En80SUoaClU5tuxQ==",
  "pluGuid": "cf5eb94d-2781-44f3-94a1-a0a5539b6ec5",
  "accountId": "fUIyADJRzkuKK/mHGqgh7Q==",
  "accountIdGuid": "0032427d-5132-4bce-8a2b-f9871aa821ed",
  "normalPrice": 3,
  "originalSellingPrice": 4,
  "discountPrice": 5,
  "unit": 1,
  "quantity": 6,
  "totalCents": 7,
  "fixedPrice": 1,
  "tranType": 1,
  "processed": true,
  "discountType": 1,
  "operatorDiscount": true,
  "cost": 1,
  "costDecimals": 8,
  "active": true,
  "markdown": true,
  "manualQuantity": true,
  "manualPrice": true,
  "manualMode": true,
  "offline": true,
  "refunded": true,
  "barcode": "sample string 9",
  "keyedSale": true,
  "discountedID": 1,
  "fuelID": 1,
  "serialNumber": "sample string 10",
  "bestOrExpire": "2025-06-14T07:29:44.6952717",
  "bestOrExpireType": true,
  "refundG_UID": "sAoeWky8XEKVT7ao8ZbwQw==",
  "refundGuid": "5a1e0ab0-bc4c-425c-954f-b6a8f196f043",
  "providerName": "sample string 11",
  "campaign": "sample string 12",
  "campaignType": 1,
  "modifiedID": 1,
  "omittedIngredient": true,
  "taxPercent": 1.1,
  "taxAmount": 1.1,
  "refundablePrice": 1.1,
  "showDiscounts": true,
  "orderPrinted": true,
  "note": "sample string 13",
  "operatorG_UID": "+jTuduF7hUaQR9Z9v78o5g==",
  "operatorGuid": "76ee34fa-7be1-4685-9047-d67dbfbf28e6",
  "modifierName": "sample string 14",
  "modifierSetName": "sample string 15",
  "totalValueWasScanned": true,
  "sold": true,
  "campaignPrice": true,
  "scannedValue": 1,
  "campaignName": "sample string 16",
  "comboDiscount": 1,
  "weightEmbedded": true,
  "departmentID": 1,
  "departmentCode": "sample string 17",
  "idempotentVoid": "z1ujA1NJXkC5an7dCBe4iA==",
  "idempotentVoidGuid": "03a35bcf-4953-405e-b96a-7edd0817b888",
  "saleHeaderGuid": "4a1aJeGbXkiSo6q/d2SCkg==",
  "saleHeaderIdentifierGuid": "255aade1-9be1-485e-92a3-aabf77648292",
  "discounts": [
    {
      "$ref": "1"
    },
    {
      "$ref": "1"
    }
  ],
  "modifiers": [
    {
      "$ref": "1"
    },
    {
      "$ref": "1"
    }
  ]
}

application/xml

Sample:

Sample not available.

text/xml

Sample:

Sample not available.

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

Returns a newly added detail record with Discounts and Modifiers if exist.

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml, application/vnd.openxmlformats-officedocument.spreadsheetml.sheet, application/vnd.ms-excel

Sample:

Sample not available.