Resend batch
Resubmit a batch. Usually used to resubmit failed faxes only, to give them another try.
POST /outbound/batches/{id}/resend[?reference={string}&sendAlsoOK={boolean}]
Arguments
Name (bold if mandatory | Type | Comments | Default |
---|---|---|---|
id | Number | The ID of the batch to be resubmitted. | None, mandatory. |
reference | String | String to display within the control panel and to return in queries. | Null |
*sendAlsoOK | Boolean | Also resubmit faxes that succeeded? (true will cause duplicates on the receiving end). |
false |
Response
If successful, the HTTP Location header contains the URI of the newly-created batch resource, e.g. Location: https://rest.interfax.net/outbound/batches/854759652
.
Sample Call
Raw HTTP
POST /outbound/batches/280101975/resend?sendAlsoOK=true HTTP/1.1
Authorization: Basic dXNlcm5hbWU6cGFzc3dvcmQ=
Host: rest.interfax.net
Location: https://rest.interfax.net/outbound/batches/280103726
cURL
curl "https://rest.interfax.net/outbound/batches/280101975/resend?sendAlsoOK=true" ^
-X POST ^
-H content-length:0 ^
-u username:password