POST Entity/SaveCommunication
Request Information
URI Parameters
None.
Body Parameters
CommunicationType| Name | Description | Type | Additional information |
|---|---|---|---|
| PBEntityPhoneKey | integer |
None. |
|
| PBEntityKey | integer |
None. |
|
| CommunicationTypeValueId | integer |
None. |
|
| CommunicationTypeDesc | string |
None. |
|
| PhoneNumber | string |
Data type: PhoneNumber Matching regular expression pattern: ^\(?([0-9]{3})\)?[-. ]?([0-9]{3})[-. ]?([0-9]{4})$ |
|
| EmailAddress | string |
None. |
|
| Extension | string |
None. |
|
| WhoLastChanged | string |
None. |
|
| WhenLastChanged | date |
None. |
|
| PhoneNumberFormatted | string |
None. |
|
| LastChanged | string |
None. |
|
| OriginalHash | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"PBEntityPhoneKey": 1,
"PBEntityKey": 2,
"CommunicationTypeValueId": 3,
"CommunicationTypeDesc": "sample string 4",
"PhoneNumber": "sample string 5",
"EmailAddress": "sample string 6",
"Extension": "sample string 7",
"WhoLastChanged": "sample string 8",
"WhenLastChanged": "2025-11-03T00:02:14.160828-06:00",
"PhoneNumberFormatted": "sample string 5",
"LastChanged": "sample string 8 - 11/03/2025",
"OriginalHash": 10
}
application/xml, text/xml
Sample:
<CommunicationType xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/VHCSAPIModels.Models"> <OriginalHash>10</OriginalHash> <CommunicationTypeDesc>sample string 4</CommunicationTypeDesc> <CommunicationTypeValueId>3</CommunicationTypeValueId> <EmailAddress>sample string 6</EmailAddress> <Extension>sample string 7</Extension> <PBEntityKey>2</PBEntityKey> <PBEntityPhoneKey>1</PBEntityPhoneKey> <PhoneNumber>sample string 5</PhoneNumber> <WhenLastChanged>2025-11-03T00:02:14.160828-06:00</WhenLastChanged> <WhoLastChanged>sample string 8</WhoLastChanged> </CommunicationType>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.