Purchase_Delete Schema
Documentation | {..} JSON | XML |
Mandatory field | Optional field |
Delete Purchase
Header
Document header container
MessageType
string
Enumerated value: Request
Enumerated value: Response
DeviceID
ID of the calling device where applicable. Use for mobile devices such as I-Phones and Android units
string
Minimum length: 0
Maximum length: 100
SubmissionNumber
string
A unique reference used for each API request. The Submission Number is seeded within the Authentication MD5 Value to prevent cloning.
Authentication
Account number, and an MD5 hash "Account number, API Key and Submission Number"
AccNumber
MD5Value
ApplicationID
Unique identiifier for the application making the request. Mandoatory from 10th Dec 2013
string
Minimum length: 1
Maximum length: 100
Body
PurchaseDetails
Iterate Purcases (Referenced by Purchase IDs) for deletion.
PurchaseIDs
PurchaseID
50int
DeleteAssociatedPayments
boolean
Describes the action to be taken against any associated payments. If False the payments will be converted to credits. If no value supplied will assume True and delete payments.
Endpoint: https://api.quickfile.co.uk/1_2/purchase/delete
Example Request:
We had a problem retrieving a JSON sample for this method, please retry later
Example Response:
Example Request:
We had a problem retrieving an XML sample for this method, please retry later
Example Response:
Other Purchase Methods |
---|
Create a new purchase invoice record
|
Delete an existing purchase invoice
|
Retrieve an existing purchase invoice
|
Search for a purchase invoices based on specific search parameters
|