editContactType

Updates Contact Type for all contacts on a record to newtype when the existing Contact Type is equal to the existingType.

Version

1.5

Parameters

Parameter Type Description
existingType string Existing contact type.
newType string New contact type.
capId (optional) CapIDModel Record ID object.

Notes

getApplication( ), getParent( ), createChild( ) functions each returns a record ID object that can be used in the capId parameter