It is possible to perform bulk operations on the status reports through a POST on the /{custNr}/fax/reports endpoint. The required parameters are:
- the type of action to be performed
- A list of Job IDs on which the operation should be performed
Status reports are available for up to 30 days or until deleted.
The maximum number of jobs per POST request is set to 1000.
Please note: This endpoint should only be used with a data center specific URL. This endpoint could return an error about unknown job IDs depending on the data center the request is processed by.
Security
httpBasicAuth
Array of jobIds to delete from the API.
Defines the action to be performed on all jobs whose Job ID is provided in the jobIds list
Possible options are:
- DELETE: Bulk delete the requested jobs
- GET: Bulk get the requested jobs
Both options are case insensitive.
- Mock serverhttps://developers.retarus.com/_mock/fax/fax4a-api/{custNr}/fax/reports
- Retarus data center in Germanyhttps://faxws.de1.retarus.com/rest/v1/{custNr}/fax/reports
- Retarus data center in Germanyhttps://faxws.de2.retarus.com/rest/v1/{custNr}/fax/reports
- High availability URL for German data centershttps://faxws-ha.de.retarus.com/rest/v1/{custNr}/fax/reports
- Retarus data center in USAhttps://faxws.us1.retarus.com/rest/v1/{custNr}/fax/reports
- Retarus data center in USAhttps://faxws.us2.retarus.com/rest/v1/{custNr}/fax/reports
- High availability URL for US data centershttps://faxws-ha.us.retarus.com/rest/v1/{custNr}/fax/reports
- Retarus data center in Switzerlandhttps://faxws.ch1.retarus.com/rest/v1/{custNr}/fax/reports
- Retarus data center in Singaporehttps://faxws.sg1.retarus.com/rest/v1/{custNr}/fax/reports
- Get the status for multiple fax jobs
- Delete the status for multiple fax jobs
curl -i -X POST \
-u '<username>:<password>' \
'https://developers.retarus.com/_mock/fax/fax4a-api/{custNr}/fax/reports' \
-H 'Content-Type: application/json' \
-d '{
"action": "GET",
"jobIds": [
"FJJ5Y09UM505ZZBIELCRYC",
"FJJ5WA23UO05ZZBIEL0JY5",
"FJJ5WA0FWM05ZZBIELZPE4",
"FJJ5Y07H3805ZZBIELBAPL",
"FJJ5WA25VB0BRN8TPSGGVY",
"FJJ5WA253505ZZBIELEKRC",
"FJJ5WA24GI0BRN8TPSWAVM"
]
}'Response
{ "reports": [ { … }, { … }, { … }, { … }, { … }, { … }, { … } ] }