PATCH api/v2/contact/{contactId}/email
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
contactId | integer |
Required |
Body Parameters
EmailAddressName | Description | Type | Additional information |
---|---|---|---|
EmailID | integer |
None. |
|
RefType | ObjectTypes |
None. |
|
RefID | integer |
None. |
|
NameOption | NameOptions |
None. |
|
string |
None. |
||
EmailType | EmailTypes |
None. |
|
EmailTypeName | string |
None. |
|
IsPrimary | boolean |
None. |
|
IsSecondary | boolean |
None. |
|
UseInMailMatrix | boolean |
None. |
|
IsDeleted | boolean |
None. |
|
DateCreated | date |
None. |
|
CreatedBy | integer |
None. |
|
LastModified | date |
None. |
|
ModifiedBy | integer |
None. |
Request Formats
application/json, text/json
Sample:
{ "EmailID": 1, "RefType": 0, "RefID": 1, "NameOption": 0, "Email": "sample string 2", "EmailType": 0, "EmailTypeName": "Personal", "IsPrimary": true, "IsSecondary": true, "UseInMailMatrix": true, "IsDeleted": true, "DateCreated": "2025-05-20T10:00:10.0785676-07:00", "CreatedBy": 1, "LastModified": "2025-05-20T10:00:10.0785676-07:00", "ModifiedBy": 1 }
application/xml, text/xml
Sample:
<EmailAddress xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CaliberAPI"> <CreatedBy>1</CreatedBy> <DateCreated>2025-05-20T10:00:10.0785676-07:00</DateCreated> <Email>sample string 2</Email> <EmailID>1</EmailID> <EmailType>Personal</EmailType> <IsDeleted>true</IsDeleted> <IsPrimary>true</IsPrimary> <IsSecondary>true</IsSecondary> <LastModified>2025-05-20T10:00:10.0785676-07:00</LastModified> <ModifiedBy>1</ModifiedBy> <NameOption>Contact1</NameOption> <RefID>1</RefID> <RefType>Division</RefType> <UseInMailMatrix>true</UseInMailMatrix> </EmailAddress>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
HttpResponseMessageName | Description | Type | Additional information |
---|---|---|---|
Version | Version |
None. |
|
Content | HttpContent |
None. |
|
StatusCode | HttpStatusCode |
None. |
|
ReasonPhrase | string |
None. |
|
Headers | Collection of Object |
None. |
|
RequestMessage | HttpRequestMessage |
None. |
|
IsSuccessStatusCode | boolean |
None. |