D2lvalenceElixir.Utils.Service.get_all_grade_values_for_user_in_org

You're seeing just the function get_all_grade_values_for_user_in_org, go back to D2lvalenceElixir.Utils.Service module for more information.
Link to this function

get_all_grade_values_for_user_in_org(user_context, org_unit_id, user_id, options \\ [])

View Source

Specs

get_all_grade_values_for_user_in_org(
  %D2lvalenceElixir.Auth.D2LUserContext{
    anonymous: term(),
    app_id: term(),
    app_key: term(),
    encrypt_requests: term(),
    host: term(),
    scheme: term(),
    server_skew: term(),
    user_id: term(),
    user_key: term()
  },
  integer(),
  integer(),
  serializers: map(),
  ver: String.t(),
  body: list()
) ::
  {:error, String.t()}
  | {:ok,
     [
       %D2lvalenceElixir.Data.GradeValueComputable{
         displayed_grade: term(),
         grade_object_identifier: term(),
         grade_object_name: term(),
         grade_object_type: term(),
         grade_object_type_name: term(),
         points_denominator: term(),
         points_numerator: term(),
         weighted_denominator: term(),
         weighted_numerator: term()
       }
       | %D2lvalenceElixir.Data.GradeValue{
           displayed_grade: term(),
           grade_object_identifier: term(),
           grade_object_name: term(),
           grade_object_type: term(),
           grade_object_type_name: term()
         }
     ]}

Get all the grades from the user.

Returns

{:error, cause} when an error is caused.

{:ok, list(%D2lvalenceElixir.Data.GradeValueComputable{}| %D2lvalenceElixir.Data.GradeValue{})} The result contains the information of the grade objects.

Options

version: version of the component to verify. If not specified, will get the version of the component. serializers: Map of availaber serializers. application/json recommended. body: Options to pass to the body of the request.