API - Description - IDMOBILE - Formfill Consent - Response

Support DQE
Support DQE
  • Updated

Formfilling request success

Identification to the operator with user consent

The response is a JSON whose keys are defined below:

KeyDescriptionFormat
status« success »STRING
operatorOperatorSTRING
urlURL of the Operator APISTRING

Response example:

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

 

Formfilling request error

The response is a JSON whose keys are defined below :

KeyDescriptionFormat
status« error »STRING
error_typeError label: details in the following tableSTRING
error_idError code: details in the following tableSTRING(2)

 

Error code details (error_id key) :

error_iderror_typeDescription
01invalid requestThe request is not valid
02invalid licence keyThe license is not valid
04invalid scopeInvalid scope
05missing or empty parameter (user_infos) for this scopeA parameter is missing for the scope called
06bad parameter format (user_infos) is not a valid JSONThe "user_infos" parameter is not a valid json
07missing mandatory key in user informations (phone)The missing "phone" key in the "user_infos" parameter is mandatory for this operator [SFR].
09ineligible phone numberNumber 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 did not work
13operator [Operator Name] not foundThe operator is not found
14operator [Operator Name] not authorized for this licenceYour license is not open on this operator
15operator [Operator Name] not supported yetThe solution is not yet available on the requested solution
16operator [Operator Name] unreachableImpossible to contact the operator
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