API - Description - Phone - GET

Support DQE
Support DQE
  • Updated

There is one API available for Phone:

  • /TEL/: provides the validation of the phone number

Header:

https://{SERVER_ADDRESS}/TEL/?Pays={COUNTRY_CODE}&Tel={TEL}&Format={FORMAT}&Status=Y&TimeOut={TIME}&Separator={SYMBOL}&Licence={LICENCE_CODE} 

Simply replace the items in braces with your information:

ParameterExpected value typeValue descriptionMandatory/Optional
Server address{SERVER_ADDRESS}Address of the DQE server that will process the dataMandatory
Licence{LICENCE_CODE}Number assigned to you as your license codeMandatory
Pays{COUNTRY_CODE}ISO country code (3 letters)Mandatory
Tel{TEL}Phone number to validateMandatory
Format{FORMAT}Desired formatting level (see table below)Optional
StatusY

In the case of a level 2 verification on a French mobile phone.

Fill in the "Y" value to obtain 2 additional output fields: "Status" and "LabelStatus" > see details here: Level 2 verification

Optional
TimeOut{TIME}

Maximum query time for data verification.

Expected value will be seconds.

Example: 500ms --> 0.5s 

Optional
Separator{SYMBOL}Expected value can be "-" or "."Optional

 

The values to be returned in the "format" field are defined in the table below

ValueDescription
0Phone number without spaces
1Phone number with a space every two digits
2Phone number in the format: +YY X XX XX XX XX (YY = country code)
3Phone number in the format: +YY XXXXXXXXX (YY = country code)
4Phone number in the format: +YY (0) XXXXXXXXX (YY = country code)
5Phone number in the format: +YYXXXXXXXXX (YY = country code)
6Phone number in the format: +YY (0) X XX XX XX XX (YY = country code)
7Phone number in the format: XX.XX.XX.XX.XX (Specifically for France)
8Phone number in the format: +YY.X.XX.XX.XX.XX
9Phone number in the format: YYXXXXXXXXX 

Related to

Was this article helpful?

0 out of 0 found this helpful