Addresses

The following operations are available for this resource.

Http Verb Operation
Get CRM/Addresses/{addressId} Get details of an address using addressId as a URL query parameter. Returns 404 Not Found if an address with the specified Id is not found.
GET Method: Get, URL: CRM/Addresses/{addressId} Test

Get details of an address using addressId as a URL query parameter. Returns 404 Not Found if an address with the specified Id is not found.

GetAll CRM/Addresses?constituentId={constituentId}&includeAffiliations={includeAffiliations}&primaryOnly={primaryOnly}&includeFromAffiliations={includeFromAffiliations} Get details of all the addresses for the specified constituent id and all its visible affiliation's addresses as well. To exclude addresses of the visible affiliations pass includeAffiliations=false. To get only the primary addresses, pass primaryOnly=true.
GET Method: GetAll, URL: CRM/Addresses?constituentId={constituentId}&includeAffiliations={includeAffiliations}&primaryOnly={primaryOnly}&includeFromAffiliations={includeFromAffiliations} Test

Get details of all the addresses for the specified constituent id and all its visible affiliation's addresses as well. To exclude addresses of the visible affiliations pass includeAffiliations=false. To get only the primary addresses, pass primaryOnly=true.

Create CRM/Addresses Create a new address for a Constituent by sending an XML or JSON representation of an Address object using HTTP POST.
POST Method: Create, URL: CRM/Addresses Test

Create a new address for a Constituent by sending an XML or JSON representation of an Address object using HTTP POST.

Update CRM/Addresses/{addressId} Update an address for a Constituent by sending an XML or JSON representation of an existing Address object using HTTP PUT.
PUT Method: Update, URL: CRM/Addresses/{addressId} Test

Update an address for a Constituent by sending an XML or JSON representation of an existing Address object using HTTP PUT.

Delete CRM/Addresses/{addressId} Delete an address along with all the phones attached to the address. Primary address for a Constituent cannot be deleted.
DELETE Method: Delete, URL: CRM/Addresses/{addressId} Test

Delete an address along with all the phones attached to the address. Primary address for a Constituent cannot be deleted.