Aborting a Fax Entry
HTTP Request Line |
DELETE /ffws/v1/ofax/FAXKEY HTTP/1.1 DELETE /ffws/v1/ofax/FAXKEY/ENTRYKEY HTTP/1.1 |
|
HTTP Response Status Codes |
202 Accepted OK |
An abort has been sent. The fax entry will be aborted if possible. |
400 Bad Request |
The fax specified could not be aborted. The user may not be the owner of the fax or the fax could not be found. |
Example
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 | GET /ffws/v1/ofax HTTP/1.1 content-type: application/xml authorization: Basic YWRtaW46YWRtaW4= ----------------------------------- HTTP/1.1 200 OK content-type: application/xml <? xml version=”1.0” encoding=”UTF-8”?> < response > < message >Success</ message > < fax_entry > < state >aborted</ state > < schedule_message >Fax aborted by user</ schedule_message > < created >2008-08-01 08:43:29</ created > < stime >2008-08-01 08:52:29</ stime > < try_number >1</ try_number > < agent >FFWS</ agent > < cover_page > < enabled >true</ enabled > < subject >Test Subject</ subject > < comments >Test Message</ comments > </ cover_page > < sender > < username >admin</ username > < name >Sender Name</ name > < organization >Sender Org</ organization > < phone_number >218-555-3333</ phone_number > < fax_number >-218-555-3334</ fax_number > < email_address >sender@Example.com</ email_address > </ sender > < recipient > < name >Rcpt 1 Name</ name > < organization >Rcpt 1 Org</ organization > < fax_number >218-555-3335</ fax_number > < phone_number >218-555-3336</ phone_number > </ recipient > < max_tries >3</ max_tries > < priority >3</ priority > < try_interval >30</ try_interval > < receipt >failure</ receipt > < receipt_attachment >none</ receipt_attachment > < pages >1</ pages > </ fax_entry > </ response > |