gen_random_string_m
Summary
| API Name | gen_random_string_m |
|---|---|
| Class | system_services_m |
| Update Version | 3.5 |
Description
Generates a random string of letters and/or numbers.
Inputs
| Name | Type | Length | Required | Description | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| client_no | long | 22 | Yes |
Aria-assigned unique identifier indicating the Aria client providing service to this account. |
||||||||
| auth_key | string | 32 | No |
Aria-assigned unique key for authenticating the validity of the requestor. This key is passed with each method call. |
||||||||
| rand_type | string | 1 | No |
Identifies what type of characters are returned in the random string. "A" = letters only. "N" = numbers only. "M" = mixed/alphanumeric (default). Allowed values:
|
||||||||
| rand_length | long | 2 | No |
Identifies how many characters should be in the random string. "6" characters are the default length. This field only excepts numbers between 1 and 99. |
||||||||
| rand_case | string | 1 | No |
Identifies the case of the letters returned in the random string. "U" = upper. "L" = lower. "M" = mixed (default). Allowed values:
|
Outputs
| Name | Type | Length | Required | Description |
|---|---|---|---|---|
| error_code | long | No |
Aria-assigned error identifier. 0 indicates no error. |
|
| error_msg | string | No |
Description of any error that occurred. "OK" if there was no error. |
|
| random_string | string | No |
Random string generated by the API method. |