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 HEAD \
-u <username>:<password> \
'https://developers.retarus.com/_mock/seg/email-continuity-api/{CUSTOMER}?access=false&activation=false&failover=false&group=emea%2Cgermany'
{ "id": "string", "timestamp": "string", "status": 403, "message": "Forbidden" }
curl -i -X GET \
-u <username>:<password> \
'https://developers.retarus.com/_mock/seg/email-continuity-api/{CUSTOMER}?access=false&activation=false&failover=false&group=emea%2Cgermany&offset=0&size=1000'
OK
{ "id": "string", "timestamp": "string", "offset": 0, "size": 0, "filter": { "activation": true, "access": true, "failover": true }, "total": 0, "count": 0, "users": [ { … } ] }
curl -i -X PUT \
-u <username>:<password> \
'https://developers.retarus.com/_mock/seg/email-continuity-api/{CUSTOMER}?mailNotification=true' \
-H 'Content-Type: application/json' \
-d '[
{
"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": [
"emea",
"germany"
]
}
]'
{ "id": "string", "timestamp": "string", "count": 0, "users": [ "customer@domain.com" ] }
curl -i -X PATCH \
-u <username>:<password> \
'https://developers.retarus.com/_mock/seg/email-continuity-api/{CUSTOMER}' \
-H 'Content-Type: application/json' \
-d '[
{
"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": [
"emea",
"germany"
]
}
]'
{ "id": "string", "timestamp": "string", "count": 0, "users": [ "customer@domain.com" ] }
curl -i -X DELETE \
-u <username>:<password> \
'https://developers.retarus.com/_mock/seg/email-continuity-api/{CUSTOMER}' \
-H 'Content-Type: application/json' \
-d '[
"customer@domain.com"
]'
{ "id": "string", "timestamp": "string", "count": 0, "users": [ "customer@domain.com" ] }