get_user_id_from_acct_no_m Sample Call and Response
This example retrieves the user ID associated with a specified account number, based on the method definition in plsql_m_r73.yml.
This example includes every field the method accepts, since the method takes only one identifying argument beyond the required envelope and authentication fields.
Sample call
{
"rest_call": "get_user_id_from_acct_no_m",
"output_format": "json",
"client_no": 10023,
"auth_key": "a1b2c3d4e5f6g7h8i9j0k1l2m3n4o5p6",
"acct_no": 3300481
}
The envelope fields rest_call and output_format are added by the REST layer and are not part of the method’s own documented arguments. The account is identified with acct_no rather than its alternative, client_acct_id.
Sample response
{
"error_code": 0,
"error_msg": "OK",
"error_details": "",
"user_id": "acme.jsmith"
}
An error_code of zero and an error_msg of OK indicate that the call succeeded. The user_id field returns the requested account’s user ID. This method returns a single value rather than a repeatable array, so there is no list to illustrate with additional entries.