HTTP + JSON
The following are sample HTTP requests and responses.
The placeholders shown need to be replaced with actual values.
PATCH /SalesOrders/{InvoiceID}/Historys/{InvoiceHistoryID}/Lines/{InvoiceLineID} HTTP/1.1
Host: api.jiwa.com.au
Accept: application/json
Content-Type: application/json
Content-Length: length
{"InvoiceID":"String","InvoiceHistoryID":"String","InvoiceLineID":"String","ItemNo":0,"CommentLine":false,"QuantityOrdered":0,"QuantityDemand":0,"QuantityThisDel":0,"QuantityBackOrd":0,"Picked":false,"PriceExGst":0,"PriceIncGst":0,"DiscountedPrice":0,"TaxToCharge":0,"TaxRate":{"RecID":"String","TaxID":"String","Description":"String","GSTTaxGroup":"WST","Rate":0,"IsDefaultRate":false,"BASCode":0,"IsDefaultRateInGroup":false,"IsEnabled":false,"LedgerAccount":{"LedgerID":"String","AccountNo":"String","Description":"String"}},"UnitCost":0,"FixSellPrice":false,"FixPrice":false,"UserDefinedFloat1":0,"UserDefinedFloat2":0,"UserDefinedFloat3":0,"ForwardOrderDate":"0001-01-01T00:00:00.0000000","ScheduledDate":"0001-01-01T00:00:00.0000000","LineTotal":0,"Weight":0,"Cubic":0,"QuotedDiscountedPrice":0,"QuotedDiscountPercentage":0,"DiscountedPercentage":0,"DiscountGiven":0,"QuantityDecimalPlaces":0,"QuantityOriginalOrdered":0,"SalesOrderSerialStockSelectionTypes":"e_SalesOrderSerialStockSelectionPrompted","NonInventory":false,"InventoryID":"String","PartNo":"String","Description":"String","CommentText":"String","Aux2":"String","LineLinkID":"String","EDIStoreLocationCode":"String","EDIDCLocationCode":"String","CostCenter":"String","Stage":"String","CustomFieldValues":[{"SettingID":"String","SettingName":"String","Contents":"String","PluginID":"String","PluginName":"String"}],"LineDetails":[{"Cost":0,"DateIn":"0001-01-01T00:00:00.0000000","ExpiryDate":"0001-01-01T00:00:00.0000000","SpecialPrice":0,"Quantity":0,"LineDetailID":"String","BinLocation":"String","SerialNo":"String","SOHID":"String","IN_LogicalID":"String"}],"ShippingLabels":[{"Quantity":0,"UseByDate":"0001-01-01T00:00:00.0000000","LabelNumber":0,"SpareNumeric1":0,"SpareNumeric2":0,"SpareNumeric3":0,"SpareDate1":"0001-01-01T00:00:00.0000000","SpareDate2":"0001-01-01T00:00:00.0000000","SpareDate3":"0001-01-01T00:00:00.0000000","ShippingLabelID":"String","SSCCNumber":"String","BatchNo":"String","Reference":"String","SpareString1":"String","SpareString2":"String","SpareString3":"String","LastSavedDateTime":"0001-01-01T00:00:00.0000000"}],"UnitOfMeasure":{"RecID":"String","InnerUnitOfMeasure":{"RecID":"String","InnerUnitOfMeasure":{"RecID":"String","QuantityInnersPerUnitOfMeasure":0,"IsSell":false,"IsPurchase":false,"ItemNo":0,"LastSavedDateTime":"0001-01-01T00:00:00.0000000","UnitOfMeasureID":"String","Name":"String","PartNo":"String","Barcode":"String"},"QuantityInnersPerUnitOfMeasure":0,"IsSell":false,"IsPurchase":false,"ItemNo":0,"LastSavedDateTime":"0001-01-01T00:00:00.0000000","UnitOfMeasureID":"String","Name":"String","PartNo":"String","Barcode":"String"},"QuantityInnersPerUnitOfMeasure":0,"IsSell":false,"IsPurchase":false,"ItemNo":0,"LastSavedDateTime":"0001-01-01T00:00:00.0000000","UnitOfMeasureID":"String","Name":"String","PartNo":"String","Barcode":"String"},"KitLineType":"e_SalesOrderNormalLine","KitUnits":0,"KitHeaderLineID":"String"}
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length
{"ItemNo":0,"CommentLine":false,"QuantityOrdered":0,"QuantityDemand":0,"QuantityThisDel":0,"QuantityBackOrd":0,"Picked":false,"PriceExGst":0,"PriceIncGst":0,"DiscountedPrice":0,"TaxToCharge":0,"TaxRate":{"RecID":"String","TaxID":"String","Description":"String","GSTTaxGroup":"WST","Rate":0,"IsDefaultRate":false,"BASCode":0,"IsDefaultRateInGroup":false,"IsEnabled":false,"LedgerAccount":{"LedgerID":"String","AccountNo":"String","Description":"String"}},"UnitCost":0,"FixSellPrice":false,"FixPrice":false,"UserDefinedFloat1":0,"UserDefinedFloat2":0,"UserDefinedFloat3":0,"ForwardOrderDate":"0001-01-01T00:00:00.0000000","ScheduledDate":"0001-01-01T00:00:00.0000000","LineTotal":0,"Weight":0,"Cubic":0,"QuotedDiscountedPrice":0,"QuotedDiscountPercentage":0,"DiscountedPercentage":0,"DiscountGiven":0,"QuantityDecimalPlaces":0,"QuantityOriginalOrdered":0,"SalesOrderSerialStockSelectionTypes":"e_SalesOrderSerialStockSelectionPrompted","NonInventory":false,"InvoiceLineID":"String","InventoryID":"String","PartNo":"String","Description":"String","CommentText":"String","Aux2":"String","LineLinkID":"String","EDIStoreLocationCode":"String","EDIDCLocationCode":"String","CostCenter":"String","Stage":"String","CustomFieldValues":[{"SettingID":"String","SettingName":"String","Contents":"String","PluginID":"String","PluginName":"String"}],"LineDetails":[{"Cost":0,"DateIn":"0001-01-01T00:00:00.0000000","ExpiryDate":"0001-01-01T00:00:00.0000000","SpecialPrice":0,"Quantity":0,"LineDetailID":"String","BinLocation":"String","SerialNo":"String","SOHID":"String","IN_LogicalID":"String"}],"ShippingLabels":[{"Quantity":0,"UseByDate":"0001-01-01T00:00:00.0000000","LabelNumber":0,"SpareNumeric1":0,"SpareNumeric2":0,"SpareNumeric3":0,"SpareDate1":"0001-01-01T00:00:00.0000000","SpareDate2":"0001-01-01T00:00:00.0000000","SpareDate3":"0001-01-01T00:00:00.0000000","ShippingLabelID":"String","SSCCNumber":"String","BatchNo":"String","Reference":"String","SpareString1":"String","SpareString2":"String","SpareString3":"String","LastSavedDateTime":"0001-01-01T00:00:00.0000000"}],"UnitOfMeasure":{"RecID":"String","InnerUnitOfMeasure":{"RecID":"String","InnerUnitOfMeasure":{"RecID":"String","QuantityInnersPerUnitOfMeasure":0,"IsSell":false,"IsPurchase":false,"ItemNo":0,"LastSavedDateTime":"0001-01-01T00:00:00.0000000","UnitOfMeasureID":"String","Name":"String","PartNo":"String","Barcode":"String"},"QuantityInnersPerUnitOfMeasure":0,"IsSell":false,"IsPurchase":false,"ItemNo":0,"LastSavedDateTime":"0001-01-01T00:00:00.0000000","UnitOfMeasureID":"String","Name":"String","PartNo":"String","Barcode":"String"},"QuantityInnersPerUnitOfMeasure":0,"IsSell":false,"IsPurchase":false,"ItemNo":0,"LastSavedDateTime":"0001-01-01T00:00:00.0000000","UnitOfMeasureID":"String","Name":"String","PartNo":"String","Barcode":"String"},"KitLineType":"e_SalesOrderNormalLine","KitUnits":0,"KitHeaderLineID":"String"}