Success
The JSON response is a dictionary containing the "suggest" key. The value in this key is an array of all suggested email addresses:
| Key | Description | Type |
| Instance | Number passed as a parameter during the call returned in the answer | STRING(3) |
| syntaxe | OK or KO | STRING(2) |
| suggest | List of suggested email addresses | STRING(1024) |
Example :
{
"Instance": "0",
"suggest": ["ttesta@", "testat@", "t.testa@", "testbtesta@", "ttestb@", "testatestb@", "testa.testb@", "testb.testa@", "testb-testa@", "testa-testb@", "t-testa@", "testa-t@"],
"syntaxe": "ok"
}
Error
| Error type | Request | Response type |
| Missing “Licence” parameter | https://{SERVER_ADDRESS}/MAILSUGGEST/?Nom=laurent&Prenom=dupont&Email=lau&Instance=0&Pays=FRA | 400 Bad Request Error |
| Empty “Licence” parameter | https://{SERVER_ADDRESS}/MAILSUGGEST/?Nom=laurent&Prenom=dupont&Email=lau&Instance=0&Pays=FRA&Licence= | 400 Bad Request Error |
| Incorrect Licence number (expired, out of scope, nonexistent) | https://{SERVER_ADDRESS}/MAILSUGGEST/?Nom=laurent&Prenom=dupont&Email=lau&Instance=0&Pays=FRA&Licence={INCORRECT_LICENCE_CODE} | Empty response |
Related to