get_reg_uss_config_params_m Sample Call and Response
This example retrieves a named set of global application configuration parameters used to customize a registration or User Self Service application, based on the plsql_m_r73.yml definition file for release seventy-three.
This method takes a single required identifier, so this example includes every field that the method accepts as an argument. Unlike get_reg_uss_params_m, which returns session-specific parameter values, this method returns configuration values that apply globally to a named set, independent of any single user session.
Sample call
{
"rest_call": "get_reg_uss_config_params_m",
"output_format": "json",
"client_no": 92310,
"auth_key": "a1b2c3d4e5f6a7b8c9d0e1f2a3b4c5d6",
"set_name": "checkout_page_defaults"
}
The rest_call and output_format fields form the envelope that the REST layer adds to every call. The set_name field is a client-defined identifier for a set of global application configuration parameters, and this example uses “checkout_page_defaults” as the identifier for a set of configuration values that govern a client's checkout page.
Sample response
{
"error_code": 0,
"error_msg": "OK",
"out_reg_uss_config_params": [
{
"param_name": "default_currency",
"param_val": "usd"
},
{
"param_name": "require_cvv",
"param_val": "true"
},
{
"param_name": "max_login_attempts",
"param_val": "5"
}
]
}
An error_code value of zero and an error_msg value of “OK” indicate that the call succeeded. The out_reg_uss_config_params array holds one name-value pair per configuration parameter in the named set; this example shows three representative entries, and a real set could hold more or fewer parameters. The error_details field is left out because it is marked nonpublic in the shared param_defaults block.