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": "zO8nWlGZDEi4G1sHqC4JHw==",
"identifierGuid": "5a27efcc-9951-480c-b81b-5b07a82e091f",
"plu": 1,
"pluG_UID": "Jd/oDLGRQUyB9ub37XlvWA==",
"pluGuid": "0ce8df25-91b1-4c41-81f6-e6f7ed796f58",
"accountId": "BgfYLcaKSE2z+cCfPQ2qYg==",
"accountIdGuid": "2dd80706-8ac6-4d48-b3f9-c09f3d0daa62",
"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-04-03T06:18:49.7583389",
"bestOrExpireType": true,
"refundG_UID": "u2xnancEO0G51egJYrP5cw==",
"refundGuid": "6a676cbb-0477-413b-b9d5-e80962b3f973",
"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": "7STActsInkCzZNk8qgjBXQ==",
"operatorGuid": "72c024ed-08db-409e-b364-d93caa08c15d",
"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": "T8CCftyIhUCnujE3J0y8QQ==",
"idempotentVoidGuid": "7e82c04f-88dc-4085-a7ba-3137274cbc41",
"saleHeaderGuid": "zEoR2Dq1q0yAqZp9EL5fYA==",
"saleHeaderIdentifierGuid": "d8114acc-b53a-4cab-80a9-9a7d10be5f60",
"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.