GetTokensByDateWithCustomData()
GetTokensByDateWithCustomData() returns all the tokens created on or before a given date.
Syntax
public String[] GetTokensByDateWithCustomData (String naeUser, String naePassword, String dbUser, String dbPswd, String tableName, String customData, Calendar calendarDate)
Request Parameters
| Parameters | Data Types | Descriptions | 
|---|---|---|
| naeUser | string | A Key Manager user with access to the AES and HMAC keys. | 
| naePassword | string | The Key Manager user’s password. | 
| dbUser | string | A database user with access to the token table. | 
| dbPswd | string | The database user’s password. | 
| tableName | string | This is the Token Vault name and it must be in CAPITAL LETTERS. | 
| customData | string | Customer-specific data. Note: For MySQL, if the customData parameter is null or empty, then the GetTokensByDateWithCustomData() API returns results for all customData values in the token vault. | 
| calendarDate | calendar | A valid date. | 
Returned Value
A string array of the tokens.