The following operations are available for this resource.
Http Verb | Operation | ||
---|---|---|---|
GET | Method: Generate, URL: CRM/Salutations/Generate?constituentId={constituentId}&constituentTypeId={constituentTypeId}&formulaId={formulaId}&maxLength={maxLength}&fname1={fname1}&mname1={mname1}&lname1={lname1}&prefix1={prefix1}&suffix1={suffix1}&status1={status1}&gender1={gender1}&fname2={fname2}&mname2={mname2}&lname2={lname2}&prefix2={prefix2}&suffix2={suffix2}&status2={status2}&gender2={gender2}&lnameGroup={lnameGroup} | Test | |
Generates values for the fields required for the salutation, last name and sort name using the values passed as query parameters. If you pass in value for 'constituentId' there is no need to pass values for any other parameters. Even if it is passed they are ignored. If value for constituentId is not passed, values for other parameters should be passed. In this case values for either 'constituentTypeId' or 'formulaId' should be passed. |
|||
GET | Method: Get, URL: CRM/Salutations/{salutationId} | Test | |
Get details of a salutation. |
|||
GET | Method: GetAll, URL: CRM/Salutations?constituentId={constituentId}&includeAffiliations={includeAffiliations}&defaultOnly={defaultOnly}&includeFromAffiliations={includeFromAffiliations} | Test | |
Get details of all the salutations for the specified constituent id and all its visible affiliation's salutations as well. To exclude salutations of the visible affiliations pass includeAffiliations=false.To fetch default salutations alone pass defaultOnly=true. |
|||
POST | Method: Create, URL: CRM/Salutations | Test | |
Create a new salutation. |
|||
PUT | Method: Update, URL: CRM/Salutations/{salutationId} | Test | |
Update a salutation. |
|||
DELETE | Method: Delete, URL: CRM/Salutations/{salutationId} | Test | |
Delete a salutation. |