GET | /Shipments/{ShipmentID}/Lines | Retrieves a list of shipment lines. |
---|
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
ShipmentID | path | string | No |
To override the Content-type in your clients, use the HTTP Accept Header, append the .xml suffix or ?format=xml
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
GET /Shipments/{ShipmentID}/Lines HTTP/1.1 Host: api.jiwa.com.au Accept: application/xml
HTTP/1.1 200 OK Content-Type: application/xml Content-Length: length <ArrayOfShipmentLine xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/JiwaFinancials.Jiwa.JiwaServiceModel.LandedCost.Shipments"> <ShipmentLine> <_x003C_CreditorAccountNo_x003E_k__BackingField>String</_x003C_CreditorAccountNo_x003E_k__BackingField> <_x003C_CreditorID_x003E_k__BackingField>String</_x003C_CreditorID_x003E_k__BackingField> <_x003C_CreditorName_x003E_k__BackingField>String</_x003C_CreditorName_x003E_k__BackingField> <_x003C_FXLineTotalExTax_x003E_k__BackingField>0</_x003C_FXLineTotalExTax_x003E_k__BackingField> <_x003C_FXOrderedCost_x003E_k__BackingField>0</_x003C_FXOrderedCost_x003E_k__BackingField> <_x003C_FXRate_x003E_k__BackingField>0</_x003C_FXRate_x003E_k__BackingField> <_x003C_FXUnitCostExTax_x003E_k__BackingField>0</_x003C_FXUnitCostExTax_x003E_k__BackingField> <_x003C_InventoryDescription_x003E_k__BackingField>String</_x003C_InventoryDescription_x003E_k__BackingField> <_x003C_InventoryID_x003E_k__BackingField>String</_x003C_InventoryID_x003E_k__BackingField> <_x003C_InventoryPartNo_x003E_k__BackingField>String</_x003C_InventoryPartNo_x003E_k__BackingField> <_x003C_ItemNo_x003E_k__BackingField>0</_x003C_ItemNo_x003E_k__BackingField> <_x003C_LandedCostLineTotal_x003E_k__BackingField>0</_x003C_LandedCostLineTotal_x003E_k__BackingField> <_x003C_LandedCost_x003E_k__BackingField>0</_x003C_LandedCost_x003E_k__BackingField> <_x003C_LineID_x003E_k__BackingField>String</_x003C_LineID_x003E_k__BackingField> <_x003C_LineTotalExTax_x003E_k__BackingField>0</_x003C_LineTotalExTax_x003E_k__BackingField> <_x003C_LineTotalIncTax_x003E_k__BackingField>0</_x003C_LineTotalIncTax_x003E_k__BackingField> <_x003C_OrderedCost_x003E_k__BackingField>0</_x003C_OrderedCost_x003E_k__BackingField> <_x003C_PurchaseOrderLineID_x003E_k__BackingField>String</_x003C_PurchaseOrderLineID_x003E_k__BackingField> <_x003C_PurchaseOrderLineOrderID_x003E_k__BackingField>String</_x003C_PurchaseOrderLineOrderID_x003E_k__BackingField> <_x003C_PurchaseOrderLineOrderLineNo_x003E_k__BackingField>String</_x003C_PurchaseOrderLineOrderLineNo_x003E_k__BackingField> <_x003C_PurchaseOrderLineOrderNo_x003E_k__BackingField>String</_x003C_PurchaseOrderLineOrderNo_x003E_k__BackingField> <_x003C_PurchaseOrderLineQuantityDelivered_x003E_k__BackingField>String</_x003C_PurchaseOrderLineQuantityDelivered_x003E_k__BackingField> <_x003C_PurchaseOrderLineQuantity_x003E_k__BackingField>String</_x003C_PurchaseOrderLineQuantity_x003E_k__BackingField> <_x003C_QuantityOrdered_x003E_k__BackingField>0</_x003C_QuantityOrdered_x003E_k__BackingField> <_x003C_QuantityThisShipment_x003E_k__BackingField>0</_x003C_QuantityThisShipment_x003E_k__BackingField> <_x003C_SHInvoicesInvoiceNo_x003E_k__BackingField>String</_x003C_SHInvoicesInvoiceNo_x003E_k__BackingField> <_x003C_SHInvoicesRecID_x003E_k__BackingField>String</_x003C_SHInvoicesRecID_x003E_k__BackingField> <_x003C_TaxAmount_x003E_k__BackingField>0</_x003C_TaxAmount_x003E_k__BackingField> <_x003C_TaxRate_x003E_k__BackingField xmlns:d3p1="http://schemas.datacontract.org/2004/07/JiwaFinancials.Jiwa.JiwaServiceModel.Tax"> <d3p1:_x003C_BASCode_x003E_k__BackingField>0</d3p1:_x003C_BASCode_x003E_k__BackingField> <d3p1:_x003C_Description_x003E_k__BackingField>String</d3p1:_x003C_Description_x003E_k__BackingField> <d3p1:_x003C_GSTTaxGroup_x003E_k__BackingField>WST</d3p1:_x003C_GSTTaxGroup_x003E_k__BackingField> <d3p1:_x003C_IsDefaultRateInGroup_x003E_k__BackingField>false</d3p1:_x003C_IsDefaultRateInGroup_x003E_k__BackingField> <d3p1:_x003C_IsDefaultRate_x003E_k__BackingField>false</d3p1:_x003C_IsDefaultRate_x003E_k__BackingField> <d3p1:_x003C_IsEnabled_x003E_k__BackingField>false</d3p1:_x003C_IsEnabled_x003E_k__BackingField> <d3p1:_x003C_LedgerAccount_x003E_k__BackingField xmlns:d4p1="http://schemas.datacontract.org/2004/07/JiwaFinancials.Jiwa.JiwaServiceModel.GeneralLedger"> <d4p1:_x003C_AccountNo_x003E_k__BackingField>String</d4p1:_x003C_AccountNo_x003E_k__BackingField> <d4p1:_x003C_Description_x003E_k__BackingField>String</d4p1:_x003C_Description_x003E_k__BackingField> <d4p1:_x003C_LedgerID_x003E_k__BackingField>String</d4p1:_x003C_LedgerID_x003E_k__BackingField> </d3p1:_x003C_LedgerAccount_x003E_k__BackingField> <d3p1:_x003C_Rate_x003E_k__BackingField>0</d3p1:_x003C_Rate_x003E_k__BackingField> <d3p1:_x003C_RecID_x003E_k__BackingField>String</d3p1:_x003C_RecID_x003E_k__BackingField> <d3p1:_x003C_TaxID_x003E_k__BackingField>String</d3p1:_x003C_TaxID_x003E_k__BackingField> </_x003C_TaxRate_x003E_k__BackingField> <_x003C_UnitCostExTax_x003E_k__BackingField>0</_x003C_UnitCostExTax_x003E_k__BackingField> <_x003C_UnitCostIncTax_x003E_k__BackingField>0</_x003C_UnitCostIncTax_x003E_k__BackingField> </ShipmentLine> </ArrayOfShipmentLine>