API - Description - IDMOBILE - Formfill Retrieval - Response

Support DQE
Support DQE
  • Updated

Formfilling success response

The response is a JSON object whose keys are defined below:

KeyDescriptionFormat
statussuccess: indicates that the information was successfully retrieved.STRING
scopeContains the scope previously sent.STRING
code_nameContains the code name previously sent.STRING
formfillingReturned if formfilling was sent in the scope field. Contains all the keys described in the table below.JSON OBJECT

Elements of the formfilling key if the requested scope includes formfilling:

KeyDescriptionFormat
phone_numberPhone number.STRING(10)
family_nameLast name.STRING
nameFirst name and last name.STRING
localeNative language.STRING(3)
genderGender: M for male and F for female.STRING
updated_atDate of the last information update.DATE
birthdateBirth date.DATE
birthplaceBirth department.STRING
given_nameFirst name.STRING
addressContains all the keys described in the following table.JSON OBJECT
emailComplete email.STRING
email_domainEmail domain.STRING
email_accountEmail username.STRING
subscriber_msisdnPhone number used for the contract subscription.STRING(10)
subCustomer identifier in the operator database.STRING

Elements of the address key:

KeyDescriptionFormat
countryCountry of the address in full.STRING
postal_codePostal code.STRING(8)
formattedComplete postal address. \n and \r correspond to line breaks.STRING
street_addressStreet type and street name.STRING(38)
numberStreet number.STRING
localityCity.STRING(38)

Example:

{
  "status": "success",
  "scope": "matching,formfilling",
  "code_name": "",
  "formfilling": {
    "phone_number": "",
    "family_name": "",
    "name": " -",
    "locale": "fr-FR",
    "gender": "M",
    "email_domain": ".com",
    "updated_at": "-08-09",
    "birthdate": "-08-30",
    "birthplace": "-08-30",
    "given_name": "",
    "address": {
      "locality": "",
      "country": "",
      "number": "",
      "formatted": "",
      "postal_code": "",
      "street_address": ""
    },
    "email_account": "",
    "email": "",
    "subscriber_msisdn": "",
    "sub": ""
  }
}

Formfilling pending response

The response is a JSON object whose keys are defined below:

KeyDescriptionFormat
statuspending: indicates that DQE is waiting for the operator response.STRING
scopeContains formfilling and/or matching.STRING

Example:

{
  "status": "pending",
  "scope": "formfilling"
}

Formfilling error response

The response is a JSON object whose keys are defined below:

KeyDescriptionFormat
statuserror: indicates that the request failed.STRING
error_typeError label. Details are provided in the table below.STRING
error_idError code. Details are provided in the table below.STRING(2)

Error code details:

Error IDError typeDescription
01invalid requestThe request is not valid.
02invalid licence keyThe licence is not valid.
04invalid scopeInvalid scope.
18failed to retrieve data from operatorNo data was received after OTP validation.
20OTP incorrectOTP validation was not completed.
21access deniedOTP validation was declined.
30invalid or expired tokenThe token has expired.
99internal server errorServer error.

Example:

{
  "status": "error",
  "error_type": "internal server error",
  "error_id": "99"
}

Related to

Was this article helpful?

0 out of 0 found this helpful