QbXML for Querying for Deleted Objects

From ConsoliBYTE Wiki
(Difference between revisions)
Jump to: navigation, search
Consolibyte (Talk | contribs)
(Created page with "You can query for objects that have been deleted like this: == Example Request == <pre> <?xml version="1.0" encoding="utf-8"?> <?qbxml version="9.0"?> <QBXML> <QBXMLMsgsRq ...")

Latest revision as of 18:57, 22 October 2012

You can query for objects that have been deleted like this:

Example Request

<?xml version="1.0" encoding="utf-8"?>
<?qbxml version="9.0"?>
<QBXML>
	<QBXMLMsgsRq onError="stopOnError">
		<TxnDeletedQueryRq>
		
			<!-- TxnDelType may have one of the following values: ARRefundCreditCard, Bill, BillPaymentCheck, BillPaymentCreditCard, BuildAssembly, Charge, Check, CreditCardCharge, CreditCardCredit, CreditMemo, Deposit, Estimate, InventoryAdjustment, Invoice, ItemReceipt, JournalEntry, PayrollLiabilityAdjustment [PRIVATE], PayrollPriorPayment [PRIVATE], PayrollYearToDateAdjustment [PRIVATE], PurchaseOrder, ReceivePayment, SalesOrder, SalesReceipt, SalesTaxPaymentCheck, TimeTracking, TransferInventory, VehicleMileage, VendorCredit -->
			
			<TxnDelType>Invoice</TxnDelType>
			<TxnDelType>ReceivePayment</TxnDelType>
		</TxnDeletedQueryRq>
	</QBXMLMsgsRq>
</QBXML>

Example Response

todo