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/outbound/users/{user}'
A typical Mail2Fax user with only a user specific cost center and a few personalization values
{ "email": "john.smith@retarus.com", "personalization": { "department": "Sales", "title": "Sales Representative" }, "general": { "client": "default", "profile": "default" }, "fax": { "costCenter": "Sales-USA" } }
curl -i -X PUT \
'https://developers.retarus.com/_mock/fax/fax-config-api/outbound/users/{user}' \
-H 'Content-Type: application/json' \
-d '{
"personalization": {
"department": "Sales",
"title": "Sales Representative"
},
"general": {
"client": "default",
"profile": "default",
"active": true
},
"fax": {
"costCenter": "Sales-USA"
}
}'
{ "code": 401, "message": "Credentials are required to access this resource." }
curl -i -X DELETE \
-u <username>:<password> \
'https://developers.retarus.com/_mock/fax/fax-config-api/outbound/users/{user}'
{ "code": 401, "message": "Credentials are required to access this resource." }
curl -i -X PATCH \
-u <username>:<password> \
'https://developers.retarus.com/_mock/fax/fax-config-api/outbound/users/{user}' \
-H 'Content-Type: application/json-patch+json' \
-d '{
"path": "/fax",
"value": {
"costCenter": "Retarus-Sales-USA"
},
"op": "add"
}'
{ "code": 401, "message": "Credentials are required to access this resource." }
curl -i -X GET \
-u <username>:<password> \
'https://developers.retarus.com/_mock/fax/fax-config-api/outbound/users?client=string&fuzzy=string&limit=100&offset=0&profile=string&search=string&template=string'
[ { "email": "john.smith@retarus.com", "personalization": { … }, "general": { … }, "fax": { … } }, { "email": "max.mustermann@retarus.de", "personalization": { … }, "general": { … }, "fax": { … } } ]