anchor.diff:  
   kz_resource_info(ResourceId, AccountId, Context) ->
       API_String = case kz_current_context_superadmin(Context) of
  -        'true' -> <<?V2/binary, ?RESOURCES/binary, <<"/">>/binary, (z_convert:to_binary(ResourceId, Context))/binary>>; 
  -        'false' -> <<?V2/binary, ?ACCOUNTS/binary, AccountId/binary, ?RESOURCES/binary, <<"/">>/binary, (z_convert:to_binary(ResourceId, Context))/binary>>
  +        'true' -> <<?V2/binary, ?RESOURCES/binary, "/", (z_convert:to_binary(ResourceId, Context))/binary>>; 
  +        'false' -> <<?V2/binary, ?ACCOUNTS/binary, AccountId/binary, ?RESOURCES/binary, "/", (z_convert:to_binary(ResourceId, Context))/binary>>
       end,
       crossbar_account_request('get', API_String, [], Context).
       
  
positive.code:                     z_render:growl(?__("Callflow saved", Context), Context)
              end;
          Id ->
              API_String = <<?V1/binary, ?ACCOUNTS(Context)/binary, ?CALLFLOWS/binary, <<"/">>/binary, (z_convert:to_binary(Id))/binary>>,
              case crossbar_account_request('post', API_String, ?MK_DATABAG(z_context:get_session('current_callflow', Context)), Context) of
                  <<>> -> z_render:growl_error(?__("Something wrong happened.", Context), Context);
                  _ ->
  
negative.code:     Account_Id = z_context:get_session('kazoo_account_id', Context),
      case Account_Id =:= 'undefined' orelse DeviceId =:= 'undefoned' of
          'false' -> 
              API_String = <<?V1/binary, ?ACCOUNTS/binary, Account_Id/binary, ?DEVICES/binary, "/", (z_convert:to_binary(DeviceId))/binary>>,
              crossbar_account_request('get', API_String, [], Context);
          'true' -> []
      end.
  