get https://{hostname}/api/v1/work/result_code_profiles
This operation returns all result code profiles without associated assignments if no parameter is specified or a particular result code profile with assignments if a name is provided, including both active and inactive profiles.