getByTokenProperty()
getByTokenProperty() API gets an array of tokens for a specified tokenProperty.
Syntax
public String[] getByTokenProperty (String tableName, TokenProperty tokenProperty)
Request Parameters
| Parameters | Data Types | Descriptions | 
|---|---|---|
| table | string | This is the Token Vault name and it must be in CAPITAL LETTERS. | 
| tokenProperty | tokenproperty | The TokenProperty criteria on the basis of which tokens are fetched. | 
Returned values
Returned string array of tokens.
Exception
Throws TokenException: 
- If table or other parameters are missing or invalid. 
- If there is a problem with connecting or using the Key Manager or the database.