REST service to maintain Retarus Email Continuity mailboxes and control failover routing
REST service to maintain Retarus Email Continuity mailboxes and control failover routing
curl -i -X GET \
-u <username>:<password> \
'https://developers.retarus.com/_mock/seg/email-continuity-api/{CUSTOMER}/{USER}'
OK
{ "id": "string", "timestamp": "string", "user": { "customer": "44444", "domain": "domain.com", "user": "customer@domain.com", "displayName": "R. Meyer", "givenName": "Robert", "surName": "Meyer", "language": "de_DE", "timezone": "Europe/Berlin", "department": "Sales", "costcenter": "01", "phone": "+49 30 67242-33", "mobile": "+49 175 424222", "failoverGroups": [ … ], "status": { … } } }
curl -i -X PUT \
-u <username>:<password> \
'https://developers.retarus.com/_mock/seg/email-continuity-api/{CUSTOMER}/{USER}?mailNotification=true' \
-H 'Content-Type: application/json' \
-d '{
"displayName": "R. Meyer",
"givenName": "Robert",
"surName": "Meyer",
"language": "de_DE",
"timezone": "Europe/Berlin",
"department": "Sales",
"costcenter": "01",
"phone": "+49 30 67242-33",
"mobile": "+49 175 424222",
"failoverGroups": [
"emea",
"germany"
]
}'
{ "id": "string", "timestamp": "string" }
curl -i -X PATCH \
-u <username>:<password> \
'https://developers.retarus.com/_mock/seg/email-continuity-api/{CUSTOMER}/{USER}' \
-H 'Content-Type: application/json' \
-d '{
"displayName": "R. Meyer",
"givenName": "Robert",
"surName": "Meyer",
"language": "de_DE",
"timezone": "Europe/Berlin",
"department": "Sales",
"costcenter": "01",
"phone": "+49 30 67242-33",
"mobile": "+49 175 424222",
"failoverGroups": [
"emea",
"germany"
]
}'
{ "id": "string", "timestamp": "string" }
curl -i -X DELETE \
-u <username>:<password> \
'https://developers.retarus.com/_mock/seg/email-continuity-api/{CUSTOMER}/{USER}'
{ "id": "string", "timestamp": "string" }