Add an Address to a Participant
post
/public/v1/participants/{participant}/addressesA participant's first address must be primary, and a participant has at most one postal
address. Send lat and lng together, or neither to have them looked up from the address.
Adding a primary address turns the current primary into an other address. Set
update_future_supports to also move the participant's future supports at the old primary
address to the new one, which changes the state their public holidays are matched on.
participantstringrequiredThe participant UUID
Body
application/jsonaddress_1stringrequiredmax length 255stateenum<string>requiredAvailable options:ACTNSWNTQLDSATASVICWApostcodenumberrequiredaddress_2string | nullmax length 255suburbstringrequiredmax length 255latnumber | nulllngnumber | nulltraditional_place_namestring | nullmax length 255detailsstring | nullmax length 255typeenum<string>requiredAvailable options:otherpostalprimarylabelstring | nullmax length 255update_future_supportsboolean
Response
201application/jsonParticipantAddressResource
dataobjectrequired▶Show 15 child attributesHide child attributes
idstringrequiredExample:a1d2d3r4-e5s6-47s8-9a0b-1c2d3e4f5a6btypeenum<string> | nullrequiredA replaced primary address is kept as
other, so filter on this rather than assuming one row per type.Available options:otherpostalprimarylabelstring | nullrequiredExample:Previous Primary Addressaddress_1stringrequiredExample:12 Harbour View Driveaddress_2string | nullrequiredExample:Unit 4address_3string | nullrequiredExample:Building Bsuburbstring | nullrequiredExample:Lavender Baystateenum<string>requiredAvailable options:ACTNSWNTQLDSATASVICWApostcodestringrequiredExample:2060countrystringrequiredExample:Australialatstring | nullrequiredExample:-33.8447lngstring | nullrequiredExample:151.2094traditional_place_namestring | nullrequiredExample:Gadigal Countrydetailsstring | nullrequiredExample:Enter via the side gateformattedstringrequiredExample:Gadigal Country, 12 Harbour View Drive, Unit 4, Building B, Lavender Bay, NSW, 2060
401Unauthenticated403Authorization error404Not found422Validation error