PUT Contacts/CommunicationMethod/{contactID}/{communicationMethodID}?validateOnly={validateOnly}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
contactID | integer |
Required |
|
communicationMethodID | integer |
Required |
|
validateOnly | boolean |
Default value is False |
Body Parameters
CommunicationMethodDTOName | Description | Type | Additional information |
---|---|---|---|
CommunicationMethodID | integer |
None. |
|
EntityID | integer |
None. |
|
CommunicationMethodTypeEntryID | integer |
None. |
|
Type | CommunicationMethodType |
None. |
|
StartDateUtc | date |
None. |
|
StopDateUtc | date |
None. |
|
Value | string |
None. |
|
SubValue | string |
None. |
|
SortOrder | integer |
None. |
|
PartialData | PartialDataType |
None. |
|
RecordState | RecordState |
None. |
|
Created | AuditDataDTO |
None. |
|
LastUpdated | AuditDataDTO |
None. |
|
Summary | string |
None. |
|
CommunicationMethodTypeEntryValue | string |
None. |
|
IsPrimary | boolean |
None. |
Request Formats
application/json, text/json
Sample:
{ "communicationMethodID": 1, "entityID": 2, "communicationMethodTypeEntryID": 3, "type": 1, "startDateUtc": "2024-12-04T07:49:11.4084045+00:00", "stopDateUtc": "2024-12-04T07:49:11.4084045+00:00", "value": "sample string 5", "subValue": "sample string 6", "sortOrder": 7, "partialData": 1, "recordState": 1, "created": { "dateUtc": "2024-12-04T07:49:11.4084045+00:00", "userName": "sample string 2", "summary": "sample string 2 on 12/4/2024 7:49:11 AM" }, "lastUpdated": { "dateUtc": "2024-12-04T07:49:11.4084045+00:00", "userName": "sample string 2", "summary": "sample string 2 on 12/4/2024 7:49:11 AM" }, "summary": "sample string 5 xsample string 6", "communicationMethodTypeEntryValue": "sample string 8", "isPrimary": true }
application/xml, text/xml
Sample:
<CommunicationMethodDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ProcuraGroup.Models"> <CommunicationMethodID>1</CommunicationMethodID> <CommunicationMethodTypeEntryID>3</CommunicationMethodTypeEntryID> <CommunicationMethodTypeEntryValue>sample string 8</CommunicationMethodTypeEntryValue> <Created> <DateUtc>2024-12-04T07:49:11.4084045+00:00</DateUtc> <UserName>sample string 2</UserName> </Created> <EntityID>2</EntityID> <IsPrimary>true</IsPrimary> <LastUpdated> <DateUtc>2024-12-04T07:49:11.4084045+00:00</DateUtc> <UserName>sample string 2</UserName> </LastUpdated> <PartialData>FullData</PartialData> <RecordState>Active</RecordState> <SortOrder>7</SortOrder> <StartDateUtc>2024-12-04T07:49:11.4084045+00:00</StartDateUtc> <StopDateUtc>2024-12-04T07:49:11.4084045+00:00</StopDateUtc> <SubValue>sample string 6</SubValue> <Type>Phone</Type> <Value>sample string 5</Value> </CommunicationMethodDTO>
application/x-www-form-urlencoded
Sample:
Sample not available.
application/x-compressed-json
Sample:
� ͒AN�0E�b͖�:ơ�;��`Q@�e��X��h<ADUOƂ#q��.�;v����?��|��C�5�֖^��]�*����ű�M�ڛ@8�\@Y��Di��n��9+Ō� _(y���\��:�\qC$��%^u��:Hڷ�e�ЅgV ����Q�r0#�=�����&7�m�<R&u�6 �=���d�N�)����O=+�\· ���]��P@�m[�_p~U�mz�}��O��)��}�v���F��
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. |