def combine_uri_parameters(resource_uri_parameters, action_uri_parameters):
    """Combine the URI parameters of the given action and resource

    Combine URI parameters of the current action and resource. In case 
    of a parameter being defined in both the resource and the action, 
    list only that of the action.

    Arguments:
    resource_uri_parameters -- URI parameters of the given resource
    action_uri_parameters -- URI parameters of the given action 
    """
    uri_parameters = []


    # Append to the result list all the URI parameters from the resource 
    # which are not redefined in the action.
    for resource_uri_parameter in resource_uri_parameters:
        parameter_overwritten_in_action = False
        for action_uri_parameter in action_uri_parameters:
            if resource_uri_parameter["name"] == action_uri_parameter["name"]:
                parameter_overwritten_in_action = True

        if not parameter_overwritten_in_action:
            uri_parameters.append(resource_uri_parameter)

    # Append all the parameters from the action to the result list.
    uri_parameters.extend(action_uri_parameters)

    return uri_parameters