anchor.diff:  					{"subscriptionId", {array, format_subs_ids(SubscriberIds)}},
   					{"serviceRating",
   							{array, lists:flatten(ServiceRating)}}]},
  -	Path = NrfUri ++ ?BASE_URI,
  +	Path = get_option(nrf_uri) ++ ?BASE_URI,
   	ContentType = "application/json",
   	RequestBody = mochijson:encode(Body),
   	Headers = [{"accept", "application/json"}, {"content_type", "application/json"}],
  
positive.code: %% @doc POST ECUR rating data to a Nrf Rating Server.
  post_request_ecur(SubscriberIds, SvcContextId,
  		SessionId, MSCC, Location, Destination, initial) ->
  	{ok, NrfUri} = application:get_env(ocs, nrf_uri),
  	Path = NrfUri ++ ?BASE_URI,
  	ServiceRating = initial_service_rating(MSCC, binary_to_list(SvcContextId),
  			Location, Destination),
  	post_request_ecur1(SubscriberIds, SessionId, ServiceRating, Path);
  post_request_ecur(SubscriberIds, SvcContextId,
  		SessionId, MSCC, Location, Destination, final) ->
  	{_, NrfUri} = application:get_env(ocs, nrf_uri),
  	Path = NrfUri ++ get_ref(SessionId) ++ "/" ++ "release",
  	ServiceRating = final_service_rating(MSCC, binary_to_list(SvcContextId),
  			Location, Destination),
  	post_request_ecur1(SubscriberIds, SessionId, ServiceRating, Path).
  
negative.code: 			undefined
  	end.
  
  -spec get_option(Option) -> Result 
  	when
  		Option :: atom(),
  		NrfUri :: term().
  %% @doc Get the Nrf endpoint uri.
  get_option(Option) -> 
  	Options = case application:get_env(ocs, diameter) of
  		{ok, [{acct,[{_, _, Oplist}]}]} ->
  			Oplist;
  		{ok, [{auth,[{_, _, Oplist}]}]} ->
  			Oplist;
  		{ok, [{acct,[{_, _, Oplist}]}, {auth,[{_, _, []}]}]} ->
  			Oplist;
  		{ok, [{auth,[{_, _, []}]}, {acct,[{_, _, Oplist}]}]} ->
  			Oplist;
  	end,
  	case lists:keyfind(Option, 1, Options) of
  		{Option, Uri} ->
  		false ->
  			undefined
  	end. 
  
  