PUT api/quote/{id}/detail/{guid}
Updates an existing Quote detail
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id |
Guid Identifier of Quote Header record |
globally unique identifier |
Required |
| guid |
Guid Identifier of Quote Detail 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": "Rs7MKbbD1UW/cOidWYYR2w==",
"identifierGuid": "29ccce46-c3b6-45d5-bf70-e89d598611db",
"plu": 1,
"pluG_UID": "iL7XLHUymkirPWutqTH+Jw==",
"pluGuid": "2cd7be88-3275-489a-ab3d-6bada931fe27",
"accountId": "cNS7LFF+dk2ecFhssZcH/Q==",
"accountIdGuid": "2cbbd470-7e51-4d76-9e70-586cb19707fd",
"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:22:54.3211073",
"bestOrExpireType": true,
"refundG_UID": "VJsIpM39xEGpPB6Nyz1NhA==",
"refundGuid": "a4089b54-fdcd-41c4-a93c-1e8dcb3d4d84",
"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": "9BmL1Ck2K0iO1lnlpAAJ3w==",
"operatorGuid": "d48b19f4-3629-482b-8ed6-59e5a40009df",
"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": "7Z183F86CU+O65wBlvcE+w==",
"idempotentVoidGuid": "dc7c9ded-3a5f-4f09-8eeb-9c0196f704fb",
"saleHeaderGuid": "00AS1ioCmE256dZOdbGbsg==",
"saleHeaderIdentifierGuid": "d61240d3-022a-4d98-b9e9-d64e75b19bb2",
"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 an updated 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.