getCustomTokenProperty()
getCustomTokenProperty() returns an array of customTokenProperty for the specified tokens. If the customTokenProperty exists, it is returned, else the API returns the null value.
Request URL
http://localhost:8080/tmrest/SafeNetTokenManager/getCustomTokenProperty
Method
POST
Request Parameters
| Parameters | Descriptions |
|---|---|
| naeUser | A Key Manager user with access to the AES and HMAC keys. |
| naePassword | The Key Manager user’s password. |
| dbUser (optional) | A database user with access to the token table. |
| dbPassword (optional) | The database user’s password. |
| tokens | An array of tokens. |
| tableName | This is the Token Vault name and it must be in CAPITAL LETTERS. |
Returned Values
String array of customTokenProperty.
Example
{
"naeUser":"admin",
"naePassword":"xxxx",
"dbUser":"user",
"dbPassword":"xxxx",
"tokens":["7385035416","7527608087","7583710920"],
"tableName":"TEST_TABLE"
}
Result
{
customTokenProperty: [3]
0:"abc123testproperty"
1:"abc123testproperty1"
2:"abc123testproperty2"
}