POST Contacts/CommunicationMethod?validateOnly={validateOnly}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
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:51:11.480258+00:00", "stopDateUtc": "2024-12-04T07:51:11.480258+00:00", "value": "sample string 5", "subValue": "sample string 6", "sortOrder": 7, "partialData": 1, "recordState": 1, "created": { "dateUtc": "2024-12-04T07:51:11.480258+00:00", "userName": "sample string 2", "summary": "sample string 2 on 12/4/2024 7:51:11 AM" }, "lastUpdated": { "dateUtc": "2024-12-04T07:51:11.480258+00:00", "userName": "sample string 2", "summary": "sample string 2 on 12/4/2024 7:51: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:51:11.480258+00:00</DateUtc> <UserName>sample string 2</UserName> </Created> <EntityID>2</EntityID> <IsPrimary>true</IsPrimary> <LastUpdated> <DateUtc>2024-12-04T07:51:11.480258+00:00</DateUtc> <UserName>sample string 2</UserName> </LastUpdated> <PartialData>FullData</PartialData> <RecordState>Active</RecordState> <SortOrder>7</SortOrder> <StartDateUtc>2024-12-04T07:51:11.480258+00:00</StartDateUtc> <StopDateUtc>2024-12-04T07:51:11.480258+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͖��&��wHe���D���X��h<ADUOƂ#q��.�;v����?��|��C��k4�6�^��Y��@��Q����v��u �F. ���`"���dwԀ�e�r��-_�J(!�˚˪>�\qc"v'^u��2H�w�e�ЅgV����ǣ��hF�;4A� �2��m.�7�&�y�2�m>P{0������s9�y�q�{,&�\� �g5�����V'�u����������8���)���}����9fj|�
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. |