API - Description - Email - SUGGEST - Response

Support DQE
Support DQE
  • Updated

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 France International
Instance Number passed as a parameter during the call returned in the answer STRING(3) STRING(3)
syntaxe OK or KO STRING(2) STRING(2)
suggest List of suggested email addresses STRING(1024) 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

Was this article helpful?

0 out of 0 found this helpful