Location Nomination
A new place nomination, sent with Locations.nominateLocation. Field requirements mirror the server contract: name, addressLine1, city, stateProvince, postalCode must be non-empty and locationTypeId must be a real type id (see getLocationTypes).
When the member picked a place from searchPlaces, copy the PlaceSuggestion: its placeId into googlePlaceId, its coordinates into latitude / longitude and its address into the address fields. In Swift, pass every argument (nil for the optional ones).
There is deliberately no brand id (the server resolves the brand from the nominated place) and no submitter id (the server takes it from the session).
Constructors
Properties
Address line 1, max 200 chars.
Optional address line 2.
Optional contact name.
Optional ISO country code.
Whether the member already attends this place.
Optional description.
Optional canonical place id from searchPlaces, so the nomination is stored against the real place instead of a typed name.
Optional category id, from getLocationCategories.
Id of the place type, from getLocationTypes.
Optional manager name.
Optional phone extension.
Postal code, max 20 chars.
State or province, max 50 chars.
Optional website URL.