anchor.diff:  					= lists:keyfind("type", 1, AcctUsageList)
   	end.
   
  -get_resource() ->
  -	[{userdata, [{doc,"Get resource inventory
  -			with given resource inventory reference"}]}].
  -
  -get_resource(Config) ->
  +get_tariff_resource() ->
  +	[{userdata, [{doc,"Get tariff resource with given resource
  +			inventory reference"}]}].
  +
  +get_tariff_resource(Config) ->
   	Schema = "/resourceInventoryManagement/v1/schema/"
   			"resourceInventoryManagement#/definitions/resource",
  +	ResourceRelID = ocs:generate_identity(),
   	Resource = #resource{class_type = "LogicalResource", base_type = "Resource",
  -			schema = Schema, description = "tariff resource", category = "tariff",
  -			start_date = erlang:system_time(?MILLISECOND),
  +			schema = Schema, description = "tariff row resource", category = "tariff",
  +			start_date = erlang:system_time(?MILLISECOND), state = "Active",
   			end_date = erlang:system_time(?MILLISECOND) + 2678400000,
  -			state = "Active", related = fill_related(2),
  -			specification = #specification_ref{id = random_string(10),
  -					href = random_string(25), name = "tariff spec"},
  +			related = [#resource_rel{id = ResourceRelID,
  +					href = "/resourceInventoryManagement/v1/resource/"
  +					++ ResourceRelID, type = "contained", name = "example"}],
  +			specification = #specification_ref{id = "2", name = "tariff spec",
  +					href = "/resourceCatalogManagement/v2/resourceSpecification/2"},
   			characteristic  = [#resource_char{name = "prefix", value = "125"},
   					#resource_char{name = "description", value = "test"},
   					#resource_char{name = "rate", value = 250}]},
  
positive.code: 	{array, Objects} = mochijson:decode(ResponseBody),
  	true = length(Objects) >= 2.
  
  post_resource() ->
  	[{userdata, [{doc,"Add resource in rest interface"}]}].
  
  post_resource(Config) ->
  	HostUrl = ?config(host_url, Config),
  	CollectionUrl = HostUrl ++ "/resourceInventoryManagement/v1/resource/",
  	Name = "Tariff",
  
negative.code: 	PolicyRow = #resource{name = "PolicyRow", description = "Policy Row",
  			category = "Policy", class_type = "LogicalResource",
  			base_type = "Resource", related = [#resource_rel{id = PolicyTableId,
  					href = "/resourceInventoryManagement/v1/resource/"
  					++ PolicyTableId, name = "PolicyTable", type = "contained"}],
  			specification = #specification_ref{id = "4",
  					href = "/resourceCatalogManagement/v2/resourceSpecification/4",
  