Details
-
Type: Improvement
-
Status: Done/Fixed
-
Priority: Trivial
-
Resolution: Fixed/Completed
-
Affects Version/s: 4.3.4
-
Fix Version/s: 4.5
-
Component/s: CiviCRM API
-
Labels:None
-
Documentation Required?:None
-
Funding Source:Core Team Funds
Description
The API does not allow the user to create addresses with no contact_id parameter - leave contact_id NULL. However this is necessary to create addresses that will be used in events via civicrm_loc_block table.
Alternately the API for creating the LocationBlock entity could allow passing parameters for address and phone fields directly rather than the foreign keys it now allows.