HTTP + CSV
The following are sample HTTP requests and responses.
The placeholders shown need to be replaced with actual values.
POST /SalesQuotes HTTP/1.1
Host: api.jiwa.com.au
Accept: text/csv
Content-Type: text/csv
Content-Length: length
{"Type":"String","SystemSettings":{"Cat1Description":"String","Cat2Description":"String","Cat3Description":"String","Cat4Description":"String","Cat5Description":"String","DisplayProductUpSellPopUp":false,"MoneyDecimalPlaces":0,"SalesOrdersMoneyDecimalPlaces":0,"SalesOrdersMoneyFormatStr":"String","MoneyFormatStr":"String","ComponentsForeColour":0,"KitRoundingForeColour":0,"KitForeColour":0,"NonInventoryForeColour":0,"DefaultQuantity":0,"GroupedCaption2":"String","AllowInvoiceNumberOverride":false,"AllowPriceOverride":false,"AllowOtherOverrides":false,"AllowManualPartNoEntry":false,"AllowNonInventoryItems":false,"AllowTaxRateOverrides":false,"IncludeValueOfBackOrdersInCreditLimitCheck":false,"PrintInvoicesWithZeroQuantityDel":false,"InvoicePrinterCopies":0,"PrintToScreen":false,"AllowModificationOfPrintedUnprocessedInvoices":false,"CheckForDuplicateOrderNos":false,"UseDefaultSalesPerson":false,"DefaultInvoiceTypeIsWholesale":false,"LinkSELECT":"String","LinkTITLE":"String","LinkDESC":"String","LinkKEY":"String","LinkID":"String","AllowKitComponentOverride":false,"PostTendered":false,"AllowInitDateEdit":false,"UseZeroCreditLimit":false,"CollectJobCostCode":false,"IgnoreBackOrderAllocations":false,"UsePicking":false,"ShowOnlyUsersDebtors":false,"AllowSaveToOrderWhenDebtorOnHold":false,"AddFreightToAllSnapshots":false,"DontChangePickPrices":false,"AutoKitPricing":false,"InvoicesFromQuotesUseActivateDate":false,"GrabSOHFromDefaultBin":false,"UseTaxExemption":false,"ValidateABN":false,"CompensateTaxRounding":false,"UseBranching":false,"InvoiceTypeDescription1":"String","InvoiceTypeDescription2":"String","AllowInvoiceTypeChange":false,"AllowForwardOrders":false,"AllowActiveOrders":false,"DocketNumHeader":"String","CreditNoteHeader":"String","BuildPaymentReferenceFromDebtor":false,"QuoteNoDescription":"String","ShortDateFormat":"String","ManualPrintSelection":false,"UseDirectTaxIfSellPriceIncTax":false,"JobCodeSeparator":"String","UseKitRoundingPart":false,"KitRoundingPartID":"String","DiscountPercentDecimalPlaces":0,"DefaultQuoteExpiryDays":0,"AllowDocumentManipulationOnClosedQuote":false,"DefaultDocumentTypeKey":"String","DefaultNoteTypeKey":"String","CopySalesQuoteIncludesNotes":false,"CopySalesQuoteIncludesDocuments":false,"DontApplyDebtorDiscounts":false,"UserTodoOnly":false,"DoNotReadSOHLevelsForQuotes":false},"QuoteNo":"String","LogicalID":"String","LogicalWarehouseDescription":"String","PhysicalWarehouseDescription":"String","StaffID":"String","StaffUserName":"String","StaffTitle":"String","StaffFirstName":"String","StaffSurname":"String","BranchID":"String","BranchName":"String","BranchDescription":"String","InitiatedDate":"0001-01-01T00:00:00.0000000","InvoiceInitDate":"0001-01-01T00:00:00.0000000","OrderNo":"String","TaxExemptionNo":"String","SOReference":"String","SalesQuoteType":"e_SalesQuoteNormalSalesOrder","OrderType":"e_SalesQuoteOrderTypeReserveOrder","Status":"e_SalesQuoteEntered","BillType":"e_SalesQuoteShipAndBill","ExpectedDeliveryDate":"0001-01-01T00:00:00.0000000","DebtorID":"String","DebtorAccountNo":"String","DebtorName":"String","DebtorEmailAddress":"String","DebtorContactName":"String","DeliveryAddressee":"String","DeliveryAddress1":"String","DeliveryAddress2":"String","DeliveryAddressSuburb":"String","DeliveryAddressState":"String","DeliveryAddressContactName":"String","DeliveryAddressPostcode":"String","DeliveryAddressCountry":"String","DeliveryAddressNotes":"String","DeliveryAddressCourierDetails":"String","DropShipment":false,"Cartage1ExGst":0,"Cartage1GstRate":0,"Cartage1Gst":0,"Cartage2ExGst":0,"Cartage2GstRate":0,"Cartage2Gst":0,"Cartage3ExGst":0,"Cartage3GstRate":0,"Cartage3Gst":0,"CustomFieldValues":[{"SettingID":"String","SettingName":"String","Contents":"String","PluginID":"String","PluginName":"String"}],"Notes":[{"NoteID":"String","NoteType":{"NoteTypeID":"String","Description":"String","DefaultType":false,"ItemNo":0},"LineNo":0,"LastSavedDateTime":"0001-01-01T00:00:00.0000000","LastModifiedByStaffID":"String","LastModifiedByStaffUsername":"String","LastModifiedByStaffTitle":"String","LastModifiedByStaffFirstName":"String","LastModifiedByStaffSurname":"String","NoteText":"String"}],"Documents":[{"DocumentID":"String","DocumentType":{"DocumentTypeID":"String","Description":"String","DefaultType":false,"ItemNo":0},"FileID":"String","PhysicalFileName":"String","FullPhysicalFileName":"String","Description":"String","LastSavedDateTime":"0001-01-01T00:00:00.0000000","LastModifiedByStaffID":"String","LastModifiedByStaffUsername":"String","LastModifiedByStaffTitle":"String","LastModifiedByStaffFirstName":"String","LastModifiedByStaffSurname":"String","FileBinary":"AA=="}],"Lines":[{"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"}],"Histories":[{"QuoteHistoryID":"String","HistoryNo":0,"SalesStage":{"SalesStageID":"String","LastSavedDateTime":"0001-01-01T00:00:00.0000000","ItemNo":0,"Description":"String","PercentComplete":0,"IsDefault":false,"IsEnabled":false},"CartageCharge1":{"ExTaxAmount":0,"TaxAmount":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"}}},"CartageCharge2":{"ExTaxAmount":0,"TaxAmount":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"}}},"CartageCharge3":{"ExTaxAmount":0,"TaxAmount":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"}}},"OpportunityStatusReason":{"OpportunityStatusReasonID":"String","Description":"String","Note":"String","StatusType":"OnGoing"},"Ref":"String","LastModifiedBy":"String","HistoryTotal":0,"RecordDate":"0001-01-01T00:00:00.0000000","ExpiryDate":"0001-01-01T00:00:00.0000000","ExpiryDays":0,"DocketPrinted":false,"DelAddress1":"String","DelAddress2":"String","DelAddress3":"String","DelAddress4":"String","PostCode":"String","DeliveryAddressCountry":"String","Notes":"String","CourierDetails":"String","FreightForwardAddress1":"String","FreightForwardAddress2":"String","FreightForwardAddress3":"String","FreightForwardAddress4":"String","FreightForwardAddressCountry":"String","FreightForwardNotes":"String","InvoicePrinted":false,"DelContactName":"String","ExpectedCloseDate":"0001-01-01T00:00:00.0000000","OpportunityStatus":"OnGoing","OpportunityNote":"String","InvoiceEmailed":false,"DropShipment":false,"DeliveryAddressee":"String"}],"CashSales":{"Name":"String","Company":"String","Address1":"String","Address2":"String","Address3":"String","Address4":"String","PostCode":"String","Phone":"String","Fax":"String","ContactName":"String"},"JobCosting":{"GSTApplicable":false,"JobCostID":"String","JobCostNo":"String","Description":"String"}}
HTTP/1.1 200 OK
Content-Type: text/csv
Content-Length: length
{"Type":"String","SystemSettings":{"Cat1Description":"String","Cat2Description":"String","Cat3Description":"String","Cat4Description":"String","Cat5Description":"String","DisplayProductUpSellPopUp":false,"MoneyDecimalPlaces":0,"SalesOrdersMoneyDecimalPlaces":0,"SalesOrdersMoneyFormatStr":"String","MoneyFormatStr":"String","ComponentsForeColour":0,"KitRoundingForeColour":0,"KitForeColour":0,"NonInventoryForeColour":0,"DefaultQuantity":0,"GroupedCaption2":"String","AllowInvoiceNumberOverride":false,"AllowPriceOverride":false,"AllowOtherOverrides":false,"AllowManualPartNoEntry":false,"AllowNonInventoryItems":false,"AllowTaxRateOverrides":false,"IncludeValueOfBackOrdersInCreditLimitCheck":false,"PrintInvoicesWithZeroQuantityDel":false,"InvoicePrinterCopies":0,"PrintToScreen":false,"AllowModificationOfPrintedUnprocessedInvoices":false,"CheckForDuplicateOrderNos":false,"UseDefaultSalesPerson":false,"DefaultInvoiceTypeIsWholesale":false,"LinkSELECT":"String","LinkTITLE":"String","LinkDESC":"String","LinkKEY":"String","LinkID":"String","AllowKitComponentOverride":false,"PostTendered":false,"AllowInitDateEdit":false,"UseZeroCreditLimit":false,"CollectJobCostCode":false,"IgnoreBackOrderAllocations":false,"UsePicking":false,"ShowOnlyUsersDebtors":false,"AllowSaveToOrderWhenDebtorOnHold":false,"AddFreightToAllSnapshots":false,"DontChangePickPrices":false,"AutoKitPricing":false,"InvoicesFromQuotesUseActivateDate":false,"GrabSOHFromDefaultBin":false,"UseTaxExemption":false,"ValidateABN":false,"CompensateTaxRounding":false,"UseBranching":false,"InvoiceTypeDescription1":"String","InvoiceTypeDescription2":"String","AllowInvoiceTypeChange":false,"AllowForwardOrders":false,"AllowActiveOrders":false,"DocketNumHeader":"String","CreditNoteHeader":"String","BuildPaymentReferenceFromDebtor":false,"QuoteNoDescription":"String","ShortDateFormat":"String","ManualPrintSelection":false,"UseDirectTaxIfSellPriceIncTax":false,"JobCodeSeparator":"String","UseKitRoundingPart":false,"KitRoundingPartID":"String","DiscountPercentDecimalPlaces":0,"DefaultQuoteExpiryDays":0,"AllowDocumentManipulationOnClosedQuote":false,"DefaultDocumentTypeKey":"String","DefaultNoteTypeKey":"String","CopySalesQuoteIncludesNotes":false,"CopySalesQuoteIncludesDocuments":false,"DontApplyDebtorDiscounts":false,"UserTodoOnly":false,"DoNotReadSOHLevelsForQuotes":false},"LastSavedDateTime":"0001-01-01T00:00:00.0000000","QuoteID":"String","QuoteNo":"String","LogicalID":"String","LogicalWarehouseDescription":"String","PhysicalWarehouseDescription":"String","StaffID":"String","StaffUserName":"String","StaffTitle":"String","StaffFirstName":"String","StaffSurname":"String","BranchID":"String","BranchName":"String","BranchDescription":"String","InitiatedDate":"0001-01-01T00:00:00.0000000","InvoiceInitDate":"0001-01-01T00:00:00.0000000","OrderNo":"String","TaxExemptionNo":"String","SOReference":"String","SalesQuoteType":"e_SalesQuoteNormalSalesOrder","OrderType":"e_SalesQuoteOrderTypeReserveOrder","Status":"e_SalesQuoteEntered","BillType":"e_SalesQuoteShipAndBill","ExpectedDeliveryDate":"0001-01-01T00:00:00.0000000","DebtorID":"String","DebtorAccountNo":"String","DebtorName":"String","DebtorEmailAddress":"String","DebtorContactName":"String","DeliveryAddressee":"String","DeliveryAddress1":"String","DeliveryAddress2":"String","DeliveryAddressSuburb":"String","DeliveryAddressState":"String","DeliveryAddressContactName":"String","DeliveryAddressPostcode":"String","DeliveryAddressCountry":"String","DeliveryAddressNotes":"String","DeliveryAddressCourierDetails":"String","DropShipment":false,"Cartage1ExGst":0,"Cartage1GstRate":0,"Cartage1Gst":0,"Cartage2ExGst":0,"Cartage2GstRate":0,"Cartage2Gst":0,"Cartage3ExGst":0,"Cartage3GstRate":0,"Cartage3Gst":0,"CustomFieldValues":[{"SettingID":"String","SettingName":"String","Contents":"String","PluginID":"String","PluginName":"String"}],"Notes":[{"NoteID":"String","NoteType":{"NoteTypeID":"String","Description":"String","DefaultType":false,"ItemNo":0},"LineNo":0,"LastSavedDateTime":"0001-01-01T00:00:00.0000000","LastModifiedByStaffID":"String","LastModifiedByStaffUsername":"String","LastModifiedByStaffTitle":"String","LastModifiedByStaffFirstName":"String","LastModifiedByStaffSurname":"String","NoteText":"String"}],"Documents":[{"DocumentID":"String","DocumentType":{"DocumentTypeID":"String","Description":"String","DefaultType":false,"ItemNo":0},"FileID":"String","PhysicalFileName":"String","FullPhysicalFileName":"String","Description":"String","LastSavedDateTime":"0001-01-01T00:00:00.0000000","LastModifiedByStaffID":"String","LastModifiedByStaffUsername":"String","LastModifiedByStaffTitle":"String","LastModifiedByStaffFirstName":"String","LastModifiedByStaffSurname":"String","FileBinary":"AA=="}],"Lines":[{"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"}],"Histories":[{"QuoteHistoryID":"String","HistoryNo":0,"SalesStage":{"SalesStageID":"String","LastSavedDateTime":"0001-01-01T00:00:00.0000000","ItemNo":0,"Description":"String","PercentComplete":0,"IsDefault":false,"IsEnabled":false},"CartageCharge1":{"ExTaxAmount":0,"TaxAmount":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"}}},"CartageCharge2":{"ExTaxAmount":0,"TaxAmount":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"}}},"CartageCharge3":{"ExTaxAmount":0,"TaxAmount":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"}}},"OpportunityStatusReason":{"OpportunityStatusReasonID":"String","Description":"String","Note":"String","StatusType":"OnGoing"},"Ref":"String","LastModifiedBy":"String","HistoryTotal":0,"RecordDate":"0001-01-01T00:00:00.0000000","ExpiryDate":"0001-01-01T00:00:00.0000000","ExpiryDays":0,"DocketPrinted":false,"DelAddress1":"String","DelAddress2":"String","DelAddress3":"String","DelAddress4":"String","PostCode":"String","DeliveryAddressCountry":"String","Notes":"String","CourierDetails":"String","FreightForwardAddress1":"String","FreightForwardAddress2":"String","FreightForwardAddress3":"String","FreightForwardAddress4":"String","FreightForwardAddressCountry":"String","FreightForwardNotes":"String","InvoicePrinted":false,"DelContactName":"String","ExpectedCloseDate":"0001-01-01T00:00:00.0000000","OpportunityStatus":"OnGoing","OpportunityNote":"String","InvoiceEmailed":false,"DropShipment":false,"DeliveryAddressee":"String"}],"CashSales":{"Name":"String","Company":"String","Address1":"String","Address2":"String","Address3":"String","Address4":"String","PostCode":"String","Phone":"String","Fax":"String","ContactName":"String"},"JobCosting":{"GSTApplicable":false,"JobCostID":"String","JobCostNo":"String","Description":"String"}}