JiwaAPI

<back to all web services

SalesQuoteLinePATCHRequest

Requires Authentication
The following routes are available for this service:
PATCH/SalesQuotes/{QuoteID}/Historys/{QuoteHistoryID}/Lines/{QuoteLineID}Updates a sales Quote line.
SalesQuoteLinePATCHRequest Parameters:
NameParameterData TypeRequiredDescription
QuoteIDpathstringNo
QuoteHistoryIDpathstringNo
QuoteLineIDpathstringNo
SalesQuoteLine Parameters:
NameParameterData TypeRequiredDescription
ItemNoformint?No
QuoteLineIDformstringNo
InventoryIDformstringNo
PartNoformstringNo
DescriptionformstringNo
CommentLineformbool?No
CommentTextformstringNo
QuantityOrderedformdecimal?No
PriceExGstformdecimal?No
PriceIncGstformdecimal?No
DiscountedPriceformdecimal?No
TaxToChargeformdecimal?No
TaxRateformdecimal?No
UnitCostformdecimal?No
LineLinkIDformstringNo
FixSellPriceformbool?No
UserDefinedFloat1formdecimal?No
UserDefinedFloat2formdecimal?No
UserDefinedFloat3formdecimal?No
LineTotalformdecimal?No
Weightformdecimal?No
Cubicformdecimal?No
DiscountedPercentageformdecimal?No
DiscountGivenformdecimal?No
QuantityDecimalPlacesformdecimal?No
QuantityOriginalOrderedformdecimal?No
NonInventoryformbool?No
CustomFieldValuesformList<CustomFieldValue>No
KitLineTypeformSalesQuoteKitLineTypesEnum?No
KitUnitsformdecimal?No
KitHeaderLineIDformstringNo
CustomFieldValue Parameters:
NameParameterData TypeRequiredDescription
SettingIDformstringNo
SettingNameformstringNo
ContentsformstringNo
PluginIDformstringNo
PluginNameformstringNo
SalesQuoteLine Parameters:
NameParameterData TypeRequiredDescription
ItemNoformint?No
QuoteLineIDformstringNo
InventoryIDformstringNo
PartNoformstringNo
DescriptionformstringNo
CommentLineformbool?No
CommentTextformstringNo
QuantityOrderedformdecimal?No
PriceExGstformdecimal?No
PriceIncGstformdecimal?No
DiscountedPriceformdecimal?No
TaxToChargeformdecimal?No
TaxRateformdecimal?No
UnitCostformdecimal?No
LineLinkIDformstringNo
FixSellPriceformbool?No
UserDefinedFloat1formdecimal?No
UserDefinedFloat2formdecimal?No
UserDefinedFloat3formdecimal?No
LineTotalformdecimal?No
Weightformdecimal?No
Cubicformdecimal?No
DiscountedPercentageformdecimal?No
DiscountGivenformdecimal?No
QuantityDecimalPlacesformdecimal?No
QuantityOriginalOrderedformdecimal?No
NonInventoryformbool?No
CustomFieldValuesformList<CustomFieldValue>No
KitLineTypeformSalesQuoteKitLineTypesEnum?No
KitUnitsformdecimal?No
KitHeaderLineIDformstringNo

To override the Content-type in your clients, use the HTTP Accept Header, append the .json suffix or ?format=json

To embed the response in a jsonp callback, append ?callback=myCallback

HTTP + JSON

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

PATCH /SalesQuotes/{QuoteID}/Historys/{QuoteHistoryID}/Lines/{QuoteLineID} HTTP/1.1 
Host: api.jiwa.com.au 
Accept: application/json
Content-Type: application/json
Content-Length: length

{"QuoteID":"String","QuoteHistoryID":"String","QuoteLineID":"String","ItemNo":0,"InventoryID":"String","PartNo":"String","Description":"String","CommentLine":false,"CommentText":"String","QuantityOrdered":0,"PriceExGst":0,"PriceIncGst":0,"DiscountedPrice":0,"TaxToCharge":0,"TaxRate":0,"UnitCost":0,"LineLinkID":"String","FixSellPrice":false,"UserDefinedFloat1":0,"UserDefinedFloat2":0,"UserDefinedFloat3":0,"LineTotal":0,"Weight":0,"Cubic":0,"DiscountedPercentage":0,"DiscountGiven":0,"QuantityDecimalPlaces":0,"QuantityOriginalOrdered":0,"NonInventory":false,"CustomFieldValues":[{"SettingID":"String","SettingName":"String","Contents":"String","PluginID":"String","PluginName":"String"}],"KitLineType":"e_SalesQuoteNormalLine","KitUnits":0,"KitHeaderLineID":"String"}
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length

{"ItemNo":0,"QuoteLineID":"String","InventoryID":"String","PartNo":"String","Description":"String","CommentLine":false,"CommentText":"String","QuantityOrdered":0,"PriceExGst":0,"PriceIncGst":0,"DiscountedPrice":0,"TaxToCharge":0,"TaxRate":0,"UnitCost":0,"LineLinkID":"String","FixSellPrice":false,"UserDefinedFloat1":0,"UserDefinedFloat2":0,"UserDefinedFloat3":0,"LineTotal":0,"Weight":0,"Cubic":0,"DiscountedPercentage":0,"DiscountGiven":0,"QuantityDecimalPlaces":0,"QuantityOriginalOrdered":0,"NonInventory":false,"CustomFieldValues":[{"SettingID":"String","SettingName":"String","Contents":"String","PluginID":"String","PluginName":"String"}],"KitLineType":"e_SalesQuoteNormalLine","KitUnits":0,"KitHeaderLineID":"String"}