JiwaAPI

<back to all web services

GoodsReceivedNotePATCHRequest

Requires Authentication
The following routes are available for this service:
PATCH/GoodsReceivedNotes/{GRNID}Updates a GRN.
GoodsReceivedNotePATCHRequest Parameters:
NameParameterData TypeRequiredDescription
GRNIDpathstringNo
GoodsReceivedNote Parameters:
NameParameterData TypeRequiredDescription
GRNIDformstringNo
CreditorIDformstringNo
CreditorAccountNoformstringNo
CreditorNameformstringNo
LastSavedDateTimeformDateTime?No
SlipNoformstringNo
SlipDateformDateTime?No
StatusformStatuses?No
Freightformdecimal?No
Dutyformdecimal?No
Invoicedformbool?No
PI_MainIDformstringNo
Insuranceformdecimal?No
LogicalWarehouseIDformstringNo
LogicalWarehouseDescriptionformstringNo
PhysicalWarehouseIDformstringNo
PhysicalWarehouseDescriptionformstringNo
TaxTotalformdecimal?No
FreightTaxIDformstringNo
FreightTaxRateformdecimal?No
FreightTaxAmountformdecimal?No
DutyTaxIDformstringNo
DutyTaxRateformdecimal?No
DutyTaxAmountformdecimal?No
InsuranceTaxIDformstringNo
InsuranceTaxRateformdecimal?No
InsuranceTaxAmountformdecimal?No
ReferenceformstringNo
TotalGrossformdecimal?No
TotalNetformdecimal?No
TotalFxformdecimal?No
FreightIncformdecimal?No
DutyIncformdecimal?No
InsuranceIncformdecimal?No
InventoryTotalQuantityformdecimal?No
InventoryTotalQuantityDecimalPlacesformdecimal?No
LinesformList<GoodsReceivedNoteLine>No
PurchaseOrdersformList<GoodsReceivedNotePurchaseOrderReceived>No
CustomFieldValuesformList<CustomFieldValue>No
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
GoodsReceivedNotePurchaseOrderReceived Parameters:
NameParameterData TypeRequiredDescription
PurchaseOrderReceivedIDformstringNo
OrderIDformstringNo
OrderNoformstringNo
OrderTypeformPurchaseOrderType?No
OrderedDateformDateTime?No
FreightTaxIDformstringNo
Freightformdecimal?No
FreightTaxAmountformdecimal?No
DutyTaxIDformstringNo
Dutyformdecimal?No
DutyTaxAmountformdecimal?No
InsuranceTaxIDformstringNo
Insuranceformdecimal?No
InsuranceTaxAmountformdecimal?No
GoodsReceivedNote Parameters:
NameParameterData TypeRequiredDescription
GRNIDformstringNo
CreditorIDformstringNo
CreditorAccountNoformstringNo
CreditorNameformstringNo
LastSavedDateTimeformDateTime?No
SlipNoformstringNo
SlipDateformDateTime?No
StatusformStatuses?No
Freightformdecimal?No
Dutyformdecimal?No
Invoicedformbool?No
PI_MainIDformstringNo
Insuranceformdecimal?No
LogicalWarehouseIDformstringNo
LogicalWarehouseDescriptionformstringNo
PhysicalWarehouseIDformstringNo
PhysicalWarehouseDescriptionformstringNo
TaxTotalformdecimal?No
FreightTaxIDformstringNo
FreightTaxRateformdecimal?No
FreightTaxAmountformdecimal?No
DutyTaxIDformstringNo
DutyTaxRateformdecimal?No
DutyTaxAmountformdecimal?No
InsuranceTaxIDformstringNo
InsuranceTaxRateformdecimal?No
InsuranceTaxAmountformdecimal?No
ReferenceformstringNo
TotalGrossformdecimal?No
TotalNetformdecimal?No
TotalFxformdecimal?No
FreightIncformdecimal?No
DutyIncformdecimal?No
InsuranceIncformdecimal?No
InventoryTotalQuantityformdecimal?No
InventoryTotalQuantityDecimalPlacesformdecimal?No
LinesformList<GoodsReceivedNoteLine>No
PurchaseOrdersformList<GoodsReceivedNotePurchaseOrderReceived>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.

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

{"GRNID":"String","CreditorID":"String","CreditorAccountNo":"String","CreditorName":"String","LastSavedDateTime":"0001-01-01T00:00:00.0000000","SlipNo":"String","SlipDate":"0001-01-01T00:00:00.0000000","Status":"Activated","Freight":0,"Duty":0,"Invoiced":false,"PI_MainID":"String","Insurance":0,"LogicalWarehouseID":"String","LogicalWarehouseDescription":"String","PhysicalWarehouseID":"String","PhysicalWarehouseDescription":"String","TaxTotal":0,"FreightTaxID":"String","FreightTaxRate":0,"FreightTaxAmount":0,"DutyTaxID":"String","DutyTaxRate":0,"DutyTaxAmount":0,"InsuranceTaxID":"String","InsuranceTaxRate":0,"InsuranceTaxAmount":0,"Reference":"String","TotalGross":0,"TotalNet":0,"TotalFx":0,"FreightInc":0,"DutyInc":0,"InsuranceInc":0,"InventoryTotalQuantity":0,"InventoryTotalQuantityDecimalPlaces":0,"Lines":[{"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"}]}],"PurchaseOrders":[{"PurchaseOrderReceivedID":"String","OrderID":"String","OrderNo":"String","OrderType":"DefaultOrderType","OrderedDate":"0001-01-01T00:00:00.0000000","FreightTaxID":"String","Freight":0,"FreightTaxAmount":0,"DutyTaxID":"String","Duty":0,"DutyTaxAmount":0,"InsuranceTaxID":"String","Insurance":0,"InsuranceTaxAmount":0}],"CustomFieldValues":[{"SettingID":"String","SettingName":"String","Contents":"String","PluginID":"String","PluginName":"String"}]}
HTTP/1.1 200 OK
Content-Type: text/csv
Content-Length: length

{"GRNID":"String","CreditorID":"String","CreditorAccountNo":"String","CreditorName":"String","LastSavedDateTime":"0001-01-01T00:00:00.0000000","SlipNo":"String","SlipDate":"0001-01-01T00:00:00.0000000","Status":"Activated","Freight":0,"Duty":0,"Invoiced":false,"PI_MainID":"String","Insurance":0,"LogicalWarehouseID":"String","LogicalWarehouseDescription":"String","PhysicalWarehouseID":"String","PhysicalWarehouseDescription":"String","TaxTotal":0,"FreightTaxID":"String","FreightTaxRate":0,"FreightTaxAmount":0,"DutyTaxID":"String","DutyTaxRate":0,"DutyTaxAmount":0,"InsuranceTaxID":"String","InsuranceTaxRate":0,"InsuranceTaxAmount":0,"Reference":"String","TotalGross":0,"TotalNet":0,"TotalFx":0,"FreightInc":0,"DutyInc":0,"InsuranceInc":0,"InventoryTotalQuantity":0,"InventoryTotalQuantityDecimalPlaces":0,"Lines":[{"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"}]}],"PurchaseOrders":[{"PurchaseOrderReceivedID":"String","OrderID":"String","OrderNo":"String","OrderType":"DefaultOrderType","OrderedDate":"0001-01-01T00:00:00.0000000","FreightTaxID":"String","Freight":0,"FreightTaxAmount":0,"DutyTaxID":"String","Duty":0,"DutyTaxAmount":0,"InsuranceTaxID":"String","Insurance":0,"InsuranceTaxAmount":0}],"CustomFieldValues":[{"SettingID":"String","SettingName":"String","Contents":"String","PluginID":"String","PluginName":"String"}]}