POST api/quote/{id}/details
Create a new Quote Detail i.e. add a product to Quote
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id |
Guid Identifier of Quote Header record |
globally unique identifier |
Required |
Body Parameters
Quote Detail record
QuoteDetail| Name | Description | Type | Additional 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
{
"saleItemID": 1,
"saleHeaderID": 2,
"identifier": "OyLGyE8jgU+CGJJvWPLmgg==",
"identifierGuid": "c8c6223b-234f-4f81-8218-926f58f2e682",
"plu": 1,
"pluG_UID": "e1ptBmz5tkCOF5fxxmlJJw==",
"pluGuid": "066d5a7b-f96c-40b6-8e17-97f1c6694927",
"accountId": "Q5zziuyqzEGqXk5wprFadg==",
"accountIdGuid": "8af39c43-aaec-41cc-aa5e-4e70a6b15a76",
"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": "2026-06-03T18:36:51.9516208",
"bestOrExpireType": true,
"refundG_UID": "IpxpbsL8U0i3LT7KZvsIYg==",
"refundGuid": "6e699c22-fcc2-4853-b72d-3eca66fb0862",
"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": "MgyLFRlet0uLMowEr7yDrQ==",
"operatorGuid": "158b0c32-5e19-4bb7-8b32-8c04afbc83ad",
"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": "v8OT7WG2kEqITTWYpLHCvQ==",
"idempotentVoidGuid": "ed93c3bf-b661-4a90-884d-3598a4b1c2bd",
"saleHeaderGuid": "EXpPpAKWJ0eHwK6oe6Bzhw==",
"saleHeaderIdentifierGuid": "a44f7a11-9602-4727-87c0-aea87ba07387",
"discounts": [
{
"$ref": "1"
},
{
"$ref": "1"
}
],
"modifiers": [
{
"$ref": "1"
},
{
"$ref": "1"
}
]
}
application/xml
Sample not available.
text/xml
Sample not available.
application/x-www-form-urlencoded
Sample not available.
Response Information
Resource Description
Returns a newly added detail record with Discounts and Modifiers if exist.
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml, application/vnd.openxmlformats-officedocument.spreadsheetml.sheet, application/vnd.ms-excel
Sample not available.