Account Management
Entities
Actions
Account Management
Entities
Actions
Validate allows you to validate Email Addresses, Postcodes, URL's, Telephone Numbers and dates to check they are syntactically correct.
Input one or more dates alongside a desired format and identify whether or not they are valid by scoring them TRUE or FALSE. e.g.
Date Time | Format | Output |
---|---|---|
01-01-2020 | dd-MM-yyyy | TRUE |
40-01-2020 | dd-MM-yyyy | FALSE |
01-20-2020 | dd-MM-yyyy | FALSE |
Input one or more Email Addresses and identify whether or not they are valid by scoring them TRUE or FALSE. e.g.
Output | |
---|---|
example@example.com | TRUE |
example@@example.com | FALSE |
example@example..com | FALSE |
Input one or more Postcodes alongside their respective country identifiers and identify whether or not they are valid by scoring them TRUE or FALSE. e.g.
Postcode | Country Identifier - ISO 2 | Output |
---|---|---|
PO13 9FU | GB | TRUE |
PO.13 9F.U | GB | FALSE |
P-O-1-3-9-F-U | GB | FALSE |
Input one or more Telephone Numbers alongside their respective country identifiers and identify whether or not they are valid by scoring them TRUE or FALSE. e.g.
Telephone | Country Identifier - ISO 2 | Output |
---|---|---|
07511111111 | GB | TRUE |
0751111111 | GB | FALSE |
075111111111 | GB | FALSE |
Input one or more URL Addresses and identify whether or not they are valid by scoring them TRUE or FALSE. e.g.
URL Address | Output |
---|---|
microsoft.com | TRUE |
microsoft,,com | FALSE |
microsoft.,com | FALSE |
NOTE: When entering a Domain in the input field, make sure it does not have a path attached to it e.g. 'microsoft.com' not 'microsoft.com/page'.
The DQ.VALIDATE_EMAIL function validates an email.
Parameters:
email (string), email to be validated
returns (boolean), true if valid
The DQ.VALIDATE_POSTCODE function validates a postcode.
Parameters:
postcode (string), postcode to be validated
country (string), country identifier, preferred format is ISO2, otherwise the service will attempt to derive country from the input
returns (boolean), true if valid
The DQ.VALIDATE_URL_ADDRESS function validates a URL address.
Parameters:
url (string), URL to be validated
returns (boolean), true if valid
The DQ.VALIDATE_TELEPHONE function validates a telephone number.
Parameters:
telephone (string), telephone to be validated
country (string), country identifier, preferred format is ISO2, otherwise the service will attempt to derive country from the input
returns (boolean), true if valid
The DQ.VALIDATE_DATETIME function validates a datetime in a given format.
Parameters:
datetime (string), datetime to be validated
format (string), format of datetime, from list:
returns (boolean), true if valid