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:

KeyDescriptionType
InstanceNumber passed as a parameter during the call returned in the answerSTRING(3)
syntaxeOK or KOSTRING(2)
suggestList of suggested email addressesSTRING(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 typeRequestResponse type
Missing “Licence” parameterhttps://{SERVER_ADDRESS}/MAILSUGGEST/?Nom=laurent&Prenom=dupont&Email=lau&Instance=0&Pays=FRA400 Bad Request Error
Empty “Licence” parameterhttps://{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