The fax configuration API allows you to administer:
- Mail to Fax
- Fax to Email
- Fax to FTP
- Fax to Webservice
The fax configuration API allows you to administer:
curl -i -X GET \
-u <username>:<password> \
'https://developers.retarus.com/_mock/fax/fax-config-api/inbound/profiles?inherit=false&name=string&serviceType=Fax2Mail'
[ { "name": "Fax2FTP Orders", "serviceType": "Fax2FTP" }, { "name": "Fax2WS Lab Reports", "serviceType": "Fax2WS" }, { "name": "Fax2Mail USA", "serviceType": "Fax2Mail" } ]
curl -i -X GET \
-u <username>:<password> \
'https://developers.retarus.com/_mock/fax/fax-config-api/inbound/profiles/{profile}?inherit=false'
{ "name": "FaxToEmail-USA", "serviceType": "Fax2Mail" }
curl -i -X PUT \
-u <username>:<password> \
'https://developers.retarus.com/_mock/fax/fax-config-api/inbound/profiles/{profile}' \
-H 'Content-Type: application/json' \
-d '{
"serviceType": "Fax2Mail"
}'
{ "name": "FaxToEmail-USA", "serviceType": "Fax2Mail" }
curl -i -X DELETE \
-u <username>:<password> \
'https://developers.retarus.com/_mock/fax/fax-config-api/inbound/profiles/{profile}'
{ "code": 401, "message": "Credentials are required to access this resource." }