JiwaAPI

<back to all web services

GoodsReceivedNoteLinePOSTRequest

Requires Authentication
The following routes are available for this service:
POST/GoodsReceivedNotes/{GRNID}/LinesAppends a line to a goods received note.
GoodsReceivedNoteLinePOSTRequest Parameters:
NameParameterData TypeRequiredDescription
GRNIDpathstringNo
GoodsReceivedNoteLine Parameters:
NameParameterData TypeRequiredDescription
LineIDformstringNo
QuantityOrderedformdecimal?No
QuantityDeliveredformdecimal?No
OrderIDformstringNo
OrderNoformstringNo
OrderLineIDformstringNo
Quantityformdecimal?No
InventoryIDformstringNo
PartNoformstringNo
Aux2formstringNo
DescriptionformstringNo
SupplierPartNoformstringNo
GRNLineTypeformReceivalLineType?No
QuantityDecimalPlacesformint?No
LastSavedDateTimeformDateTime?No
ClassificationIDformstringNo
ClassificationDescriptionformstringNo
TaxAmountformdecimal?No
TaxIDformstringNo
TaxRateformdecimal?No
Costformdecimal?No
CurrencyRateUsedformdecimal?No
PurchasingClassificationIDformstringNo
PurchasingClassificationDescriptionformstringNo
PostedToWIPformbool?No
JobChargeformdecimal?No
UseSerialNoformbool?No
FXCostformdecimal?No
PhysicalItemformbool?No
InventoryExpectedLiability_LedgerAccountIDformstringNo
InventoryExpectedLiability_LedgerAccountNoformstringNo
InventoryExpectedLiability_LedgerAccountDescriptionformstringNo
InventoryExpectedAsset_LedgerAccountIDformstringNo
InventoryExpectedAsset_LedgerAccountNoformstringNo
InventoryExpectedAsset_LedgerAccountDescriptionformstringNo
InventoryDeliveredAsset_LedgerAccountIDformstringNo
InventoryDeliveredAsset_LedgerAccountNoformstringNo
InventoryDeliveredAsset_LedgerAccountDescriptionformstringNo
InventoryValue_LedgerAccountIDformstringNo
InventoryValue_LedgerAccountNoformstringNo
InventoryValue_LedgerAccountDescriptionformstringNo
InventoryDeliveredLiability_LedgerAccountIDformstringNo
InventoryDeliveredLiability_LedgerAccountNoformstringNo
InventoryDeliveredLiability_LedgerAccountDescriptionformstringNo
InventoryWIP_LedgerAccountIDformstringNo
InventoryWIP_LedgerAccountNoformstringNo
InventoryWIP_LedgerAccountDescriptionformstringNo
POLineLastSavedDateTimeformDateTime?No
OrderUnitsformdecimal?No
ItemNoformint?No
IN_Creditor_RecIDformstringNo
IN_SupplierWarehouse_RecIDformstringNo
JobCostingStageIDformstringNo
JobCostingStageNoformstringNo
JobCostingStageNameformstringNo
JobCostingCostCentreIDformstringNo
JobCostingCostCentreNoformstringNo
JobCostingCostCentreNameformstringNo
JobCostingJobIDformstringNo
JobCostingJobNoformstringNo
UnitIncTaxformdecimal?No
LineTotalIncTaxformdecimal?No
FXLineTotalExTaxformdecimal?No
FXDecimalPlacesformint?No
HomeDecimalPlacesformint?No
UseExpiryDateformbool?No
LineDetailsformList<GoodsReceivedNoteLineDetail>No
CustomFieldValuesformList<CustomFieldValue>No
GoodsReceivedNoteLineDetail Parameters:
NameParameterData TypeRequiredDescription
LineDetailIDformstringNo
LinkIDformstringNo
Quantityformdecimal?No
LastSavedDateTimeformDateTime?No
SerialNoformstringNo
BinLocationIDformstringNo
BinLocationDescriptionformstringNo
ExpiryDateformDateTime?No
CustomFieldValue Parameters:
NameParameterData TypeRequiredDescription
SettingIDformstringNo
SettingNameformstringNo
ContentsformstringNo
PluginIDformstringNo
PluginNameformstringNo
GoodsReceivedNoteLine Parameters:
NameParameterData TypeRequiredDescription
LineIDformstringNo
QuantityOrderedformdecimal?No
QuantityDeliveredformdecimal?No
OrderIDformstringNo
OrderNoformstringNo
OrderLineIDformstringNo
Quantityformdecimal?No
InventoryIDformstringNo
PartNoformstringNo
Aux2formstringNo
DescriptionformstringNo
SupplierPartNoformstringNo
GRNLineTypeformReceivalLineType?No
QuantityDecimalPlacesformint?No
LastSavedDateTimeformDateTime?No
ClassificationIDformstringNo
ClassificationDescriptionformstringNo
TaxAmountformdecimal?No
TaxIDformstringNo
TaxRateformdecimal?No
Costformdecimal?No
CurrencyRateUsedformdecimal?No
PurchasingClassificationIDformstringNo
PurchasingClassificationDescriptionformstringNo
PostedToWIPformbool?No
JobChargeformdecimal?No
UseSerialNoformbool?No
FXCostformdecimal?No
PhysicalItemformbool?No
InventoryExpectedLiability_LedgerAccountIDformstringNo
InventoryExpectedLiability_LedgerAccountNoformstringNo
InventoryExpectedLiability_LedgerAccountDescriptionformstringNo
InventoryExpectedAsset_LedgerAccountIDformstringNo
InventoryExpectedAsset_LedgerAccountNoformstringNo
InventoryExpectedAsset_LedgerAccountDescriptionformstringNo
InventoryDeliveredAsset_LedgerAccountIDformstringNo
InventoryDeliveredAsset_LedgerAccountNoformstringNo
InventoryDeliveredAsset_LedgerAccountDescriptionformstringNo
InventoryValue_LedgerAccountIDformstringNo
InventoryValue_LedgerAccountNoformstringNo
InventoryValue_LedgerAccountDescriptionformstringNo
InventoryDeliveredLiability_LedgerAccountIDformstringNo
InventoryDeliveredLiability_LedgerAccountNoformstringNo
InventoryDeliveredLiability_LedgerAccountDescriptionformstringNo
InventoryWIP_LedgerAccountIDformstringNo
InventoryWIP_LedgerAccountNoformstringNo
InventoryWIP_LedgerAccountDescriptionformstringNo
POLineLastSavedDateTimeformDateTime?No
OrderUnitsformdecimal?No
ItemNoformint?No
IN_Creditor_RecIDformstringNo
IN_SupplierWarehouse_RecIDformstringNo
JobCostingStageIDformstringNo
JobCostingStageNoformstringNo
JobCostingStageNameformstringNo
JobCostingCostCentreIDformstringNo
JobCostingCostCentreNoformstringNo
JobCostingCostCentreNameformstringNo
JobCostingJobIDformstringNo
JobCostingJobNoformstringNo
UnitIncTaxformdecimal?No
LineTotalIncTaxformdecimal?No
FXLineTotalExTaxformdecimal?No
FXDecimalPlacesformint?No
HomeDecimalPlacesformint?No
UseExpiryDateformbool?No
LineDetailsformList<GoodsReceivedNoteLineDetail>No
CustomFieldValuesformList<CustomFieldValue>No

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

HTTP + CSV

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

POST /GoodsReceivedNotes/{GRNID}/Lines HTTP/1.1 
Host: api.jiwa.com.au 
Accept: text/csv
Content-Type: text/csv
Content-Length: length

{"GRNID":"String","QuantityOrdered":0,"QuantityDelivered":0,"OrderID":"String","OrderNo":"String","OrderLineID":"String","Quantity":0,"InventoryID":"String","PartNo":"String","Aux2":"String","Description":"String","SupplierPartNo":"String","GRNLineType":"Unknown","QuantityDecimalPlaces":0,"LastSavedDateTime":"0001-01-01T00:00:00.0000000","ClassificationID":"String","ClassificationDescription":"String","TaxAmount":0,"TaxID":"String","TaxRate":0,"Cost":0,"CurrencyRateUsed":0,"PurchasingClassificationID":"String","PurchasingClassificationDescription":"String","PostedToWIP":false,"JobCharge":0,"UseSerialNo":false,"FXCost":0,"PhysicalItem":false,"InventoryExpectedLiability_LedgerAccountID":"String","InventoryExpectedLiability_LedgerAccountNo":"String","InventoryExpectedLiability_LedgerAccountDescription":"String","InventoryExpectedAsset_LedgerAccountID":"String","InventoryExpectedAsset_LedgerAccountNo":"String","InventoryExpectedAsset_LedgerAccountDescription":"String","InventoryDeliveredAsset_LedgerAccountID":"String","InventoryDeliveredAsset_LedgerAccountNo":"String","InventoryDeliveredAsset_LedgerAccountDescription":"String","InventoryValue_LedgerAccountID":"String","InventoryValue_LedgerAccountNo":"String","InventoryValue_LedgerAccountDescription":"String","InventoryDeliveredLiability_LedgerAccountID":"String","InventoryDeliveredLiability_LedgerAccountNo":"String","InventoryDeliveredLiability_LedgerAccountDescription":"String","InventoryWIP_LedgerAccountID":"String","InventoryWIP_LedgerAccountNo":"String","InventoryWIP_LedgerAccountDescription":"String","POLineLastSavedDateTime":"0001-01-01T00:00:00.0000000","OrderUnits":0,"ItemNo":0,"IN_Creditor_RecID":"String","IN_SupplierWarehouse_RecID":"String","JobCostingStageID":"String","JobCostingStageNo":"String","JobCostingStageName":"String","JobCostingCostCentreID":"String","JobCostingCostCentreNo":"String","JobCostingCostCentreName":"String","JobCostingJobID":"String","JobCostingJobNo":"String","UnitIncTax":0,"LineTotalIncTax":0,"FXLineTotalExTax":0,"FXDecimalPlaces":0,"HomeDecimalPlaces":0,"UseExpiryDate":false,"LineDetails":[{"LineDetailID":"String","LinkID":"String","Quantity":0,"LastSavedDateTime":"0001-01-01T00:00:00.0000000","SerialNo":"String","BinLocationID":"String","BinLocationDescription":"String","ExpiryDate":"0001-01-01T00:00:00.0000000"}],"CustomFieldValues":[{"SettingID":"String","SettingName":"String","Contents":"String","PluginID":"String","PluginName":"String"}]}
HTTP/1.1 200 OK
Content-Type: text/csv
Content-Length: length

{"LineID":"String","QuantityOrdered":0,"QuantityDelivered":0,"OrderID":"String","OrderNo":"String","OrderLineID":"String","Quantity":0,"InventoryID":"String","PartNo":"String","Aux2":"String","Description":"String","SupplierPartNo":"String","GRNLineType":"Unknown","QuantityDecimalPlaces":0,"LastSavedDateTime":"0001-01-01T00:00:00.0000000","ClassificationID":"String","ClassificationDescription":"String","TaxAmount":0,"TaxID":"String","TaxRate":0,"Cost":0,"CurrencyRateUsed":0,"PurchasingClassificationID":"String","PurchasingClassificationDescription":"String","PostedToWIP":false,"JobCharge":0,"UseSerialNo":false,"FXCost":0,"PhysicalItem":false,"InventoryExpectedLiability_LedgerAccountID":"String","InventoryExpectedLiability_LedgerAccountNo":"String","InventoryExpectedLiability_LedgerAccountDescription":"String","InventoryExpectedAsset_LedgerAccountID":"String","InventoryExpectedAsset_LedgerAccountNo":"String","InventoryExpectedAsset_LedgerAccountDescription":"String","InventoryDeliveredAsset_LedgerAccountID":"String","InventoryDeliveredAsset_LedgerAccountNo":"String","InventoryDeliveredAsset_LedgerAccountDescription":"String","InventoryValue_LedgerAccountID":"String","InventoryValue_LedgerAccountNo":"String","InventoryValue_LedgerAccountDescription":"String","InventoryDeliveredLiability_LedgerAccountID":"String","InventoryDeliveredLiability_LedgerAccountNo":"String","InventoryDeliveredLiability_LedgerAccountDescription":"String","InventoryWIP_LedgerAccountID":"String","InventoryWIP_LedgerAccountNo":"String","InventoryWIP_LedgerAccountDescription":"String","POLineLastSavedDateTime":"0001-01-01T00:00:00.0000000","OrderUnits":0,"ItemNo":0,"IN_Creditor_RecID":"String","IN_SupplierWarehouse_RecID":"String","JobCostingStageID":"String","JobCostingStageNo":"String","JobCostingStageName":"String","JobCostingCostCentreID":"String","JobCostingCostCentreNo":"String","JobCostingCostCentreName":"String","JobCostingJobID":"String","JobCostingJobNo":"String","UnitIncTax":0,"LineTotalIncTax":0,"FXLineTotalExTax":0,"FXDecimalPlaces":0,"HomeDecimalPlaces":0,"UseExpiryDate":false,"LineDetails":[{"LineDetailID":"String","LinkID":"String","Quantity":0,"LastSavedDateTime":"0001-01-01T00:00:00.0000000","SerialNo":"String","BinLocationID":"String","BinLocationDescription":"String","ExpiryDate":"0001-01-01T00:00:00.0000000"}],"CustomFieldValues":[{"SettingID":"String","SettingName":"String","Contents":"String","PluginID":"String","PluginName":"String"}]}