Delete Paperless Document Example Request

DELETE {{base_url}}/api/paperlessdocuments/:version/DocumentId/ShipperNumber

This HTTP DELETE request allows a user to provide their ShipperNumber along with a DocumentId in order to remove a previously uploaded and pushed document.

Note: Your UPS Shipper Account Number must be enabled to upload forms created offline.

HEADERS

KeyDatatypeRequiredDescription
transIdnullAn identifier unique to the request. Length 32
transactionSrcstringAn identifier of the client/source application that is making the request.Length 512
ShipperNumberstringAn identifier of the client/source application that is making the request.Length 512
DocumentIdnullDocumentId representing uploaded document to Forms History. Only one DocumentID will be accepted for delete request.
Content-Typestring

RESPONSES

status: OK

{"DeleteResponse":{"Response":{"ResponseStatus":{"Code":"1","Description":"Success"},"TransactionReference":{"CustomerContext":"Your Customer Context"}}}}