anchor.diff:      end,
       case AccountId =:= 'undefined' of
           'false' -> 
  -            API_String = <<?V1/binary, ?ACCOUNTS/binary, ?TO_BIN(AccountId)/binary>>,
  +            API_String = <<?V1/binary, ?ACCOUNTS/binary, AccountId/binary>>,
               crossbar_account_request('post', API_String,  {[{<<"data">>, NewDoc}]}, Context);
           'true' -> []
       end.
  
positive.code:     service_plans(AccountId, Context).
  
  service_plans(AccountId, Context) ->
      API_String = <<?V2/binary, ?ACCOUNTS/binary, ?TO_BIN(AccountId)/binary, ?SERVICE_PLANS/binary>>,
      crossbar_account_request('get', API_String, [], Context).
  
  available_service_plans(Context) ->
  
negative.code:     available_service_plans(AccountId, Context).
  
  available_service_plans(AccountId, Context) ->
      API_String = <<?V2/binary, ?ACCOUNTS/binary, AccountId/binary, ?SERVICE_PLANS/binary, ?AVAILABLE/binary>>,
      crossbar_account_request('get', API_String, [], Context).
  
  current_service_plans(Context) ->
  