GetTokensByRangeDateWithCustomData()
GetTokensByRangeDateWithCustomData() returns all tokens created between a specific date range.
Syntax
public String[] GetTokensByRangeDateWithCustomData (String naeUser, String naePassword, String dbUser, String dbPswd, String tableName, String customData, Calendar startDate, Calendar endDate, int columnIdentifier)
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 the customData values in the token vault. |
startDate | calendar | A valid date starting from which the tokens are required. |
endDate | calendar | A valid date till which the tokens are required. |
columnIdentifier | integer | The particular column which is required as a criterion for searching tokens. Valid value can be either creation date or last accessed date. |
Returned Value
A string array of the tokens.