POST associations({associationId})/Communications
this method inserts a Communication Entry Resource
Request Information
Parameters
Name | Description | Additional information |
---|---|---|
associationId | association of interest |
Define this parameter in the request URI. |
communicationEntryResource | communication info to insert |
Define this parameter in the request body. |
Request body formats
application/json, text/json
Sample:
{ "BaseMemberFirstname": "sample string 1", "BaseMemberLastname": "sample string 2", "BaseMemberRepresentativeId": 1, "BaseStaffFirstname": "sample string 3", "BaseStaffLastname": "sample string 4", "BaseStaffRepresentativeId": 1, "BodySize": 1, "Category": "sample string 5", "CategoryId": 1, "CommunicationTypeId": 1, "ContactDate": "2024-11-21T11:21:51.4643565-06:00", "Content": "sample string 6", "CorrespondenceContactDate": "2024-11-21T11:21:51.4643565-06:00", "FollowUpMemberFirstname": "sample string 7", "FollowUpMemberLastname": "sample string 8", "FollowUpMemberRepresentativeId": 1, "FollowupNotes": "sample string 9", "FollowUpStaffFirstname": "sample string 10", "FollowUpStaffLastname": "sample string 11", "FollowUpStaffRepresentativeId": 1, "FollowupTitle": "sample string 12", "Id": 1, "InsertFlags": 1, "IsHtml": true, "IsStandard": true, "LastChildEntry": "2024-11-21T11:21:51.4643565-06:00", "MemberId": 1, "NumberOfChildEntries": 1, "RecipientCount": 1, "Subject": "sample string 13" }
application/xml, text/xml
Sample:
<CommunicationEntryResource xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MicroNet.WebAPI.Classes.Resources"> <BaseMemberFirstname>sample string 1</BaseMemberFirstname> <BaseMemberLastname>sample string 2</BaseMemberLastname> <BaseMemberRepresentativeId>1</BaseMemberRepresentativeId> <BaseStaffFirstname>sample string 3</BaseStaffFirstname> <BaseStaffLastname>sample string 4</BaseStaffLastname> <BaseStaffRepresentativeId>1</BaseStaffRepresentativeId> <BodySize>1</BodySize> <Category>sample string 5</Category> <CategoryId>1</CategoryId> <CommunicationTypeId>1</CommunicationTypeId> <ContactDate>2024-11-21T11:21:51.4643565-06:00</ContactDate> <Content>sample string 6</Content> <CorrespondenceContactDate>2024-11-21T11:21:51.4643565-06:00</CorrespondenceContactDate> <FollowUpMemberFirstname>sample string 7</FollowUpMemberFirstname> <FollowUpMemberLastname>sample string 8</FollowUpMemberLastname> <FollowUpMemberRepresentativeId>1</FollowUpMemberRepresentativeId> <FollowUpStaffFirstname>sample string 10</FollowUpStaffFirstname> <FollowUpStaffLastname>sample string 11</FollowUpStaffLastname> <FollowUpStaffRepresentativeId>1</FollowUpStaffRepresentativeId> <FollowupNotes>sample string 9</FollowupNotes> <FollowupTitle>sample string 12</FollowupTitle> <Id>1</Id> <InsertFlags>Correspondence_Emails</InsertFlags> <IsHtml>true</IsHtml> <IsStandard>true</IsStandard> <LastChildEntry>2024-11-21T11:21:51.4643565-06:00</LastChildEntry> <MemberId>1</MemberId> <NumberOfChildEntries>1</NumberOfChildEntries> <RecipientCount>1</RecipientCount> <Subject>sample string 13</Subject> </CommunicationEntryResource>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
inserted data
Response body formats
application/json, text/json
Sample:
{ "BaseMemberFirstname": "sample string 1", "BaseMemberLastname": "sample string 2", "BaseMemberRepresentativeId": 1, "BaseStaffFirstname": "sample string 3", "BaseStaffLastname": "sample string 4", "BaseStaffRepresentativeId": 1, "BodySize": 1, "Category": "sample string 5", "CategoryId": 1, "CommunicationTypeId": 1, "ContactDate": "2024-11-21T11:21:51.4643565-06:00", "Content": "sample string 6", "CorrespondenceContactDate": "2024-11-21T11:21:51.4643565-06:00", "FollowUpMemberFirstname": "sample string 7", "FollowUpMemberLastname": "sample string 8", "FollowUpMemberRepresentativeId": 1, "FollowupNotes": "sample string 9", "FollowUpStaffFirstname": "sample string 10", "FollowUpStaffLastname": "sample string 11", "FollowUpStaffRepresentativeId": 1, "FollowupTitle": "sample string 12", "Id": 1, "InsertFlags": 1, "IsHtml": true, "IsStandard": true, "LastChildEntry": "2024-11-21T11:21:51.4643565-06:00", "MemberId": 1, "NumberOfChildEntries": 1, "RecipientCount": 1, "Subject": "sample string 13" }
application/xml, text/xml
Sample:
<CommunicationEntryResource xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MicroNet.WebAPI.Classes.Resources"> <BaseMemberFirstname>sample string 1</BaseMemberFirstname> <BaseMemberLastname>sample string 2</BaseMemberLastname> <BaseMemberRepresentativeId>1</BaseMemberRepresentativeId> <BaseStaffFirstname>sample string 3</BaseStaffFirstname> <BaseStaffLastname>sample string 4</BaseStaffLastname> <BaseStaffRepresentativeId>1</BaseStaffRepresentativeId> <BodySize>1</BodySize> <Category>sample string 5</Category> <CategoryId>1</CategoryId> <CommunicationTypeId>1</CommunicationTypeId> <ContactDate>2024-11-21T11:21:51.4643565-06:00</ContactDate> <Content>sample string 6</Content> <CorrespondenceContactDate>2024-11-21T11:21:51.4643565-06:00</CorrespondenceContactDate> <FollowUpMemberFirstname>sample string 7</FollowUpMemberFirstname> <FollowUpMemberLastname>sample string 8</FollowUpMemberLastname> <FollowUpMemberRepresentativeId>1</FollowUpMemberRepresentativeId> <FollowUpStaffFirstname>sample string 10</FollowUpStaffFirstname> <FollowUpStaffLastname>sample string 11</FollowUpStaffLastname> <FollowUpStaffRepresentativeId>1</FollowUpStaffRepresentativeId> <FollowupNotes>sample string 9</FollowupNotes> <FollowupTitle>sample string 12</FollowupTitle> <Id>1</Id> <InsertFlags>Correspondence_Emails</InsertFlags> <IsHtml>true</IsHtml> <IsStandard>true</IsStandard> <LastChildEntry>2024-11-21T11:21:51.4643565-06:00</LastChildEntry> <MemberId>1</MemberId> <NumberOfChildEntries>1</NumberOfChildEntries> <RecipientCount>1</RecipientCount> <Subject>sample string 13</Subject> </CommunicationEntryResource>