The following operations are available for this resource.
Http Verb | Operation | ||
---|---|---|---|
GET | Method: Get, URL: CRM/Internal/AddressDetails/{addressId} | Test | |
Get details of an address and all the phones attached to it. |
|||
GET | Method: GetAll, URL: CRM/Internal/AddressDetails?constituentId={constituentId}&includeAffiliations={includeAffiliations}&includeFromAffiliations={includeFromAffiliations} | Test | |
Get details of all the addresses and the phones attached to them of the constituent id. To exclude addresses and the phones of the visible affiliations pass includeAffiliations=false. |
|||
GET | Method: GetConstituentMiniSnapshot, URL: CRM/Internal/ConstituentMiniSnapshot/{constituentId} | Test | |
Get constituent details along with primary address, primary salutation, primary electronic address, primary & general phones. |
|||
POST | Method: Create, URL: CRM/Internal/AddressDetails | Test | |
Create a new address along with the phones and attach all the phones to the address. By default first phone is of phone type 1, second phone is of phone type 2 and third phone is of phone type 3. |
|||
PUT | Method: Update, URL: CRM/Internal/AddressDetails/{addressId} | Test | |
Update an address and phones. If the entire information about a phone is added newly then create a new phone. If the phone number of a phone is not given then delete that phone. |