API - Description - IDMOBILE - Formfill Consent - Response

Support DQE
Support DQE
  • Updated

Formfilling request success response

Identification to the operator with user consent

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

KeyDescriptionFormat
statussuccessSTRING
operatorOperator.STRING
urlURL of the operator API.STRING

Response example:

{
  "status": "success",
  "operator": "Orange",
  "url": "https://api.operator/openidconnect/fr"
}

Formfilling request error response

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

KeyDescriptionFormat
statuserrorSTRING
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.
05missing or empty parameter (user_infos) for this scopeA parameter is missing for the requested scope.
06bad parameter format (user_infos) is not a valid JSONThe user_infos parameter is not valid JSON.
07missing mandatory key in user informations (phone)The phone key is mandatory in the user_infos parameter for this operator.
09ineligible phone numberThe phone number is not eligible for the solution.
10invalid phone numberThe phone number does not exist.
11phone number is emptyThe phone number is empty.
12phone check failedThe operator verification failed.
13operator [Operator Name] not foundThe operator could not be found.
14operator [Operator Name] not authorized for this licenceYour licence is not authorized for this operator.
15operator [Operator Name] not supported yetThe solution is not yet available for this operator.
16operator [Operator Name] unreachableThe operator could not be contacted.
17scope not supported by this operator [Operator Name] yetThis scope is not supported by the operator.
30invalid or expired tokenThe token has expired.

Response example:

{
  "status": "error",
  "error_type": "invalid phone number",
  "error_id": "10"
}

Related to

Was this article helpful?

0 out of 0 found this helpful