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/numbers?active=true&assigned=true&cost-center=string&inherit=false&prefix=string'
Array of numbers and their settings
The display number is used in the meta provided to the user or application, and in reporting. If it is null, the actual number will be used.
If the number should be active or not. If it is not active, when the number is called the repsonse will be wrong number.
[ { "number": "+498955281201", "displayNumber": "+4980012345678", "profile": "Fax2FTP Orders", "ftp": { … } }, { "number": "+498955281919", "profile": "Fax2FTP Orders", "ftp": {} }, { "number": "+33187166310", "profile": "Fax2WS Lab Reports", "webservice": {} }, { "number": "+12012051606", "profile": "Fax2Mail USA", "email": { … } }, { "number": "+12012051606", "comments": "Sales fax number USA - New York Office", "costCenter": "USA - Sales", "profile": "Fax2Mail USA", "email": { … } }, { "number": "+498955281919" } ]
curl -i -X GET \
-u <username>:<password> \
'https://developers.retarus.com/_mock/fax/fax-config-api/inbound/numbers/{number}?inherit=false'
Inbound fax number configuration for the specififed number.
The display number is used in the meta provided to the user or application, and in reporting. If it is null, the actual number will be used.
If the number should be active or not. If it is not active, when the number is called the repsonse will be wrong number.
{ "number": "0049/89/208076-5001", "profile": "FaxToEmail", "email": { "recipients": [ … ] } }
A list of recipient email addresses, for now
The display number is used in the meta provided to the user or application, and in reporting. If it is null, the actual number will be used.
curl -i -X PUT \
-u <username>:<password> \
'https://developers.retarus.com/_mock/fax/fax-config-api/inbound/numbers/{number}' \
-H 'Content-Type: application/json' \
-d '{
"email": {
"recipients": [
"john.smith@acme.com"
]
}
}'
{ "code": 401, "message": "Credentials are required to access this resource." }