POST api/contactlogs/create
Request Information
URI Parameters
None.
Body Parameters
ContactLogCreateModel| Name | Description | Type | Additional information |
|---|---|---|---|
| contact_log_options | ContactLogCreateOptionsModel |
None. |
|
| CreationType | string |
None. |
|
| account_id | globally unique identifier |
None. |
|
| account_name | string |
None. |
|
| account_email | string |
None. |
|
| account_cc | Collection of string |
None. |
|
| new_account_fields_hidden | boolean |
None. |
|
| auto_account_id | boolean |
None. |
|
| new_account_id | string |
None. |
|
| new_account_name | string |
None. |
|
| new_account_type_id | globally unique identifier |
None. |
|
| new_account_email | string |
None. |
|
| new_account_mobile | string |
None. |
|
| new_account_country | string |
None. |
|
| new_account_source_id | globally unique identifier |
None. |
|
| new_account_source_origin | string |
None. |
|
| contact_log_type_id | globally unique identifier |
None. |
|
| survey_id | globally unique identifier |
None. |
|
| contact_log_status_id | globally unique identifier |
None. |
|
| subject | string |
None. |
|
| subject_response_id | globally unique identifier |
None. |
|
| contact_ref_no_entry | boolean |
None. |
|
| contact_ref_no | string |
None. |
|
| visibility | Collection of globally unique identifier |
None. |
|
| external_activity | boolean |
None. |
|
| survey_response | SurveyResponseModel |
None. |
|
| contact_log_entry_create | ContactLogEntryCreateModel |
None. |
|
| timesheet_entry_create | TimesheetEntryCreateModel |
None. |
|
| appointment_create | AppointmentCreateModel |
None. |
|
| timesheet_entry_visible | boolean |
None. |
|
| id | globally unique identifier |
None. |
|
| subscription_id | globally unique identifier |
None. |
|
| ts | Collection of byte |
None. |
Request Formats
application/json, text/json
Sample:
{
"contact_log_options": {
"account_id": "d71cd7be-33d4-475e-8461-a68cc12750db",
"contact_log_id": "dfef3279-321b-4c3c-a112-29c5e2d5613d",
"consulting_id": "3bc2e4e5-ca16-4278-b41c-e7d217ead6b3",
"finance_id": "dc00db0a-37da-421f-aed2-925912364762",
"financial_planning_id": "bc30a410-f959-4d4a-b7ab-10534511d84a",
"investment_id": "114d8f12-d8d7-4515-8e12-dcd3c9880fd0",
"rental_management_id": "ba30d57c-70f9-42a5-a34a-fedd4517de69",
"sale_property_id": "d903804e-feba-4de9-abbe-d990be9ba4bd",
"sale_id": "e85d3bd8-b226-47cb-b87b-6dc90ff1a7a8",
"product_sale_id": "eea2a086-e4c2-46bd-8b5c-90228799faba",
"tax_id": "b0f0ab0d-57ab-4946-8746-b7308ee54b7a",
"opportunity_id": "3c4ada92-1a17-45c6-98ee-f32ad45955f8",
"event_registrant_id": "eaf24f59-208a-4390-9653-1d34e20cc6bb",
"campaign_recipient_id": "e6fe9884-9e99-4997-9e67-b3b89d5b218a",
"development_id": "b30c5421-2c41-40d9-a276-f8b29f2e3948",
"dms_id": "37c0d2fb-8fe3-432f-8823-db81b490abc8",
"files": "sample string 1"
},
"CreationType": "entry",
"account_id": "4ef61996-a643-427d-8fe8-a55b80bd63bb",
"account_name": "sample string 1",
"account_email": "sample string 2",
"account_cc": [
"sample string 1",
"sample string 2"
],
"new_account_fields_hidden": true,
"auto_account_id": true,
"new_account_id": "sample string 5",
"new_account_name": "sample string 6",
"new_account_type_id": "279d9551-e926-43a3-82b8-24eea84a7c74",
"new_account_email": "sample string 7",
"new_account_mobile": "sample string 8",
"new_account_country": "sample string 9",
"new_account_source_id": "42d1d22c-b08c-40c5-bb87-098348417659",
"new_account_source_origin": "sample string 10",
"contact_log_type_id": "8d3cd06f-14f7-4dba-aaf6-54442d9ffd7b",
"survey_id": "16c9e280-c9b6-42a7-8ebb-6f32faab4350",
"contact_log_status_id": "629ce332-27f4-4bf2-ae73-1b2af32f199c",
"subject": "sample string 11",
"subject_response_id": "acd01db4-5773-4597-b473-8f7cd0b80457",
"contact_ref_no_entry": true,
"contact_ref_no": "sample string 13",
"visibility": [
"f65296d5-ff41-418f-b985-69ce22e3dd73",
"a59815b2-ae1f-4f5b-9295-b329e6b4f327"
],
"external_activity": true,
"survey_response": {
"survey_id": "9160f598-45a6-498d-aec8-37fc3412468e",
"json": "sample string 2",
"id": "d30154bf-bf6d-4681-b1a6-89c9cdb580f2",
"subscription_id": "ab35379c-bc64-4994-b653-9de2b3967cc7",
"ts": "QEA="
},
"contact_log_entry_create": {
"dms_external_upload_link_url": "sample string 1",
"dms_external_download_link_url": "sample string 2",
"contact_date": "2026-02-09T19:52:12.2824539+08:00",
"contact_by_id": "9a08e4d3-958d-4ac0-9fde-bfad0b38a324",
"contact_by": "sample string 4",
"contact_method": "sample string 5",
"contact_duration": 6.1,
"notes": "sample string 7",
"template_name": "sample string 8",
"to": [
{
"value": "sample string 1",
"text": "sample string 2"
},
{
"value": "sample string 1",
"text": "sample string 2"
}
],
"cc": [
{
"value": "sample string 1",
"text": "sample string 2"
},
{
"value": "sample string 1",
"text": "sample string 2"
}
],
"bcc": [
{
"value": "sample string 1",
"text": "sample string 2"
},
{
"value": "sample string 1",
"text": "sample string 2"
}
],
"send": true,
"id": "12525d29-103d-4ae1-b5b1-37adaed910ad",
"subscription_id": "8094895d-72cc-444a-9525-72320b1851a3",
"ts": "QEA="
},
"timesheet_entry_create": {
"new_timesheet_entry_hidden": true,
"new_timesheet_entry": true,
"timesheet_project_fields_hidden": true,
"time_period": 0,
"date": "2026-02-09T19:52:12.2824539+08:00",
"duration": 4.1,
"duration_fields_hidden": true,
"subscription_id": "d4a65e47-4c21-4f0e-bd5c-1b17d925cead",
"type": "sample string 6",
"timesheet_project_id": "6b485266-8252-4182-a0f6-277bfe55e583",
"timesheet_project_name": "sample string 7",
"timesheet_task_id": "c1d50d43-aec5-4b4a-96f7-7df3e7ba62ca",
"timesheet_task_name": "sample string 8",
"user_id": "sample string 9",
"timezone_id": "sample string 10",
"start": "2026-02-09T19:52:12.2824539+08:00",
"end": "2026-02-09T19:52:12.2824539+08:00",
"reference_no": "sample string 13",
"notes": "sample string 14",
"id": "60d11465-10dd-4caa-b029-0f22d8cd1062"
},
"appointment_create": {
"new_appointment_hidden": true,
"new_appointment": true,
"owner_id": "sample string 3",
"organiser": "sample string 4",
"title": "sample string 5",
"appointment_type_id": "056ae701-0ead-45aa-a535-1101a31f753b",
"appointment_type": "sample string 6",
"attendees": [
{
"value": "sample string 1",
"text": "sample string 2"
},
{
"value": "sample string 1",
"text": "sample string 2"
}
],
"attendees_as_string": "sample string 7",
"start_date": "2026-02-09T19:52:12.2824539+08:00",
"start_timezone_id": "sample string 9",
"end_date": "2026-02-09T19:52:12.2824539+08:00",
"end_timezone_id": "sample string 11",
"is_all_day": true,
"reminder_minutes_before_start": 1,
"priority": "sample string 13",
"location": "sample string 14",
"notes": "sample string 15",
"send_invite": true,
"id": "52e578f3-7369-4715-b817-f151066b79f7",
"subscription_id": "1f43e600-ca6b-4597-abb7-1ca081010608",
"ts": "QEA="
},
"timesheet_entry_visible": true,
"id": "cf759c68-8a75-42e1-b1ec-e1286cff61a1",
"subscription_id": "6d151207-7445-40c2-bf3d-d30e6672bf13",
"ts": "QEA="
}
application/xml, text/xml
Sample:
<ContactLogCreateModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CompleteEmpireApp.Api.Models">
<Id xmlns="http://schemas.datacontract.org/2004/07/CompleteEmpireApp.Api.Models.Base">cf759c68-8a75-42e1-b1ec-e1286cff61a1</Id>
<SubscriptionId xmlns="http://schemas.datacontract.org/2004/07/CompleteEmpireApp.Api.Models.Base">6d151207-7445-40c2-bf3d-d30e6672bf13</SubscriptionId>
<Ts xmlns="http://schemas.datacontract.org/2004/07/CompleteEmpireApp.Api.Models.Base">QEA=</Ts>
<AccountCc xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:string>sample string 1</d2p1:string>
<d2p1:string>sample string 2</d2p1:string>
</AccountCc>
<AccountEmail>sample string 2</AccountEmail>
<AccountId>4ef61996-a643-427d-8fe8-a55b80bd63bb</AccountId>
<AccountName>sample string 1</AccountName>
<Appointment>
<Id xmlns="http://schemas.datacontract.org/2004/07/CompleteEmpireApp.Api.Models.Base">52e578f3-7369-4715-b817-f151066b79f7</Id>
<SubscriptionId xmlns="http://schemas.datacontract.org/2004/07/CompleteEmpireApp.Api.Models.Base">1f43e600-ca6b-4597-abb7-1ca081010608</SubscriptionId>
<Ts xmlns="http://schemas.datacontract.org/2004/07/CompleteEmpireApp.Api.Models.Base">QEA=</Ts>
<AppointmentType>sample string 6</AppointmentType>
<AppointmentTypeId>056ae701-0ead-45aa-a535-1101a31f753b</AppointmentTypeId>
<Attendees xmlns:d3p1="http://schemas.datacontract.org/2004/07/CompleteEmpireApp.Api.Models.Base">
<d3p1:SelectListItem>
<d3p1:Text>sample string 2</d3p1:Text>
<d3p1:Value>sample string 1</d3p1:Value>
</d3p1:SelectListItem>
<d3p1:SelectListItem>
<d3p1:Text>sample string 2</d3p1:Text>
<d3p1:Value>sample string 1</d3p1:Value>
</d3p1:SelectListItem>
</Attendees>
<AttendeesAsString>sample string 7</AttendeesAsString>
<EndDateUtc>2026-02-09T19:52:12.2824539+08:00</EndDateUtc>
<EndTimeZoneId>sample string 11</EndTimeZoneId>
<IsAllDay>true</IsAllDay>
<Location>sample string 14</Location>
<Notes>sample string 15</Notes>
<Organiser>sample string 4</Organiser>
<OwnerId>sample string 3</OwnerId>
<Priority>sample string 13</Priority>
<ReminderMinutesBeforeStart>1</ReminderMinutesBeforeStart>
<SendInvite>true</SendInvite>
<StartDateUtc>2026-02-09T19:52:12.2824539+08:00</StartDateUtc>
<StartTimeZoneId>sample string 9</StartTimeZoneId>
<Title>sample string 5</Title>
<NewAppointment>true</NewAppointment>
<NewAppointmentHidden>true</NewAppointmentHidden>
</Appointment>
<AutoAccountId>true</AutoAccountId>
<ContactLogEntry>
<Id xmlns="http://schemas.datacontract.org/2004/07/CompleteEmpireApp.Api.Models.Base">12525d29-103d-4ae1-b5b1-37adaed910ad</Id>
<SubscriptionId xmlns="http://schemas.datacontract.org/2004/07/CompleteEmpireApp.Api.Models.Base">8094895d-72cc-444a-9525-72320b1851a3</SubscriptionId>
<Ts xmlns="http://schemas.datacontract.org/2004/07/CompleteEmpireApp.Api.Models.Base">QEA=</Ts>
<Bcc xmlns:d3p1="http://schemas.datacontract.org/2004/07/CompleteEmpireApp.Api.Models.Base">
<d3p1:SelectListItem>
<d3p1:Text>sample string 2</d3p1:Text>
<d3p1:Value>sample string 1</d3p1:Value>
</d3p1:SelectListItem>
<d3p1:SelectListItem>
<d3p1:Text>sample string 2</d3p1:Text>
<d3p1:Value>sample string 1</d3p1:Value>
</d3p1:SelectListItem>
</Bcc>
<Cc xmlns:d3p1="http://schemas.datacontract.org/2004/07/CompleteEmpireApp.Api.Models.Base">
<d3p1:SelectListItem>
<d3p1:Text>sample string 2</d3p1:Text>
<d3p1:Value>sample string 1</d3p1:Value>
</d3p1:SelectListItem>
<d3p1:SelectListItem>
<d3p1:Text>sample string 2</d3p1:Text>
<d3p1:Value>sample string 1</d3p1:Value>
</d3p1:SelectListItem>
</Cc>
<ContactBy>sample string 4</ContactBy>
<ContactById>9a08e4d3-958d-4ac0-9fde-bfad0b38a324</ContactById>
<ContactDate>2026-02-09T19:52:12.2824539+08:00</ContactDate>
<ContactDuration>6.1</ContactDuration>
<ContactMethod>sample string 5</ContactMethod>
<DmsExternalDownloadLinkUrl>sample string 2</DmsExternalDownloadLinkUrl>
<DmsExternalUploadLinkUrl>sample string 1</DmsExternalUploadLinkUrl>
<Notes>sample string 7</Notes>
<Send>true</Send>
<TemplateName>sample string 8</TemplateName>
<To xmlns:d3p1="http://schemas.datacontract.org/2004/07/CompleteEmpireApp.Api.Models.Base">
<d3p1:SelectListItem>
<d3p1:Text>sample string 2</d3p1:Text>
<d3p1:Value>sample string 1</d3p1:Value>
</d3p1:SelectListItem>
<d3p1:SelectListItem>
<d3p1:Text>sample string 2</d3p1:Text>
<d3p1:Value>sample string 1</d3p1:Value>
</d3p1:SelectListItem>
</To>
</ContactLogEntry>
<ContactLogStatusId>629ce332-27f4-4bf2-ae73-1b2af32f199c</ContactLogStatusId>
<ContactLogTypeId>8d3cd06f-14f7-4dba-aaf6-54442d9ffd7b</ContactLogTypeId>
<ContactRefNo>sample string 13</ContactRefNo>
<ContactRefNoEntry>true</ContactRefNoEntry>
<ExternalActivity>true</ExternalActivity>
<NewAccountCountry>sample string 9</NewAccountCountry>
<NewAccountEmail>sample string 7</NewAccountEmail>
<NewAccountFieldsHidden>true</NewAccountFieldsHidden>
<NewAccountId>sample string 5</NewAccountId>
<NewAccountMobile>sample string 8</NewAccountMobile>
<NewAccountName>sample string 6</NewAccountName>
<NewAccountSourceId>42d1d22c-b08c-40c5-bb87-098348417659</NewAccountSourceId>
<NewAccountSourceOrigin>sample string 10</NewAccountSourceOrigin>
<NewAccountTypeId>279d9551-e926-43a3-82b8-24eea84a7c74</NewAccountTypeId>
<Options>
<AccountId>d71cd7be-33d4-475e-8461-a68cc12750db</AccountId>
<CampaignRecipientId>e6fe9884-9e99-4997-9e67-b3b89d5b218a</CampaignRecipientId>
<ConsultingId>3bc2e4e5-ca16-4278-b41c-e7d217ead6b3</ConsultingId>
<ContactLogId>dfef3279-321b-4c3c-a112-29c5e2d5613d</ContactLogId>
<DevelopmentId>b30c5421-2c41-40d9-a276-f8b29f2e3948</DevelopmentId>
<DmsId>37c0d2fb-8fe3-432f-8823-db81b490abc8</DmsId>
<EventRegistrantId>eaf24f59-208a-4390-9653-1d34e20cc6bb</EventRegistrantId>
<Files>sample string 1</Files>
<FinanceId>dc00db0a-37da-421f-aed2-925912364762</FinanceId>
<FinancialPlanningId>bc30a410-f959-4d4a-b7ab-10534511d84a</FinancialPlanningId>
<InvestmentId>114d8f12-d8d7-4515-8e12-dcd3c9880fd0</InvestmentId>
<OpportunityId>3c4ada92-1a17-45c6-98ee-f32ad45955f8</OpportunityId>
<ProductSaleId>eea2a086-e4c2-46bd-8b5c-90228799faba</ProductSaleId>
<RentalManagementId>ba30d57c-70f9-42a5-a34a-fedd4517de69</RentalManagementId>
<SaleId>e85d3bd8-b226-47cb-b87b-6dc90ff1a7a8</SaleId>
<SalePropertyId>d903804e-feba-4de9-abbe-d990be9ba4bd</SalePropertyId>
<TaxId>b0f0ab0d-57ab-4946-8746-b7308ee54b7a</TaxId>
</Options>
<Subject>sample string 11</Subject>
<SurveyId>16c9e280-c9b6-42a7-8ebb-6f32faab4350</SurveyId>
<SurveyResponse>
<Id xmlns="http://schemas.datacontract.org/2004/07/CompleteEmpireApp.Api.Models.Base">d30154bf-bf6d-4681-b1a6-89c9cdb580f2</Id>
<SubscriptionId xmlns="http://schemas.datacontract.org/2004/07/CompleteEmpireApp.Api.Models.Base">ab35379c-bc64-4994-b653-9de2b3967cc7</SubscriptionId>
<Ts xmlns="http://schemas.datacontract.org/2004/07/CompleteEmpireApp.Api.Models.Base">QEA=</Ts>
<Json>sample string 2</Json>
<SurveyId>9160f598-45a6-498d-aec8-37fc3412468e</SurveyId>
</SurveyResponse>
<SurveyResponseId>acd01db4-5773-4597-b473-8f7cd0b80457</SurveyResponseId>
<TimesheetEntry>
<Id xmlns="http://schemas.datacontract.org/2004/07/CompleteEmpireApp.Api.Models.Base">60d11465-10dd-4caa-b029-0f22d8cd1062</Id>
<End>2026-02-09T19:52:12.2824539+08:00</End>
<Notes>sample string 14</Notes>
<ReferenceNo>sample string 13</ReferenceNo>
<Start>2026-02-09T19:52:12.2824539+08:00</Start>
<SubscriptionId>d4a65e47-4c21-4f0e-bd5c-1b17d925cead</SubscriptionId>
<TimeZoneId>sample string 10</TimeZoneId>
<TimesheetProjectId>6b485266-8252-4182-a0f6-277bfe55e583</TimesheetProjectId>
<TimesheetProjectName>sample string 7</TimesheetProjectName>
<TimesheetTaskId>c1d50d43-aec5-4b4a-96f7-7df3e7ba62ca</TimesheetTaskId>
<TimesheetTaskName>sample string 8</TimesheetTaskName>
<Type>sample string 6</Type>
<UserId>sample string 9</UserId>
<Date>2026-02-09T19:52:12.2824539+08:00</Date>
<Duration>4.1</Duration>
<DurationFieldsHidden>true</DurationFieldsHidden>
<NewTimesheetEntry>true</NewTimesheetEntry>
<NewTimesheetEntryHidden>true</NewTimesheetEntryHidden>
<TimePeriod>Start</TimePeriod>
<TimesheetProjectFieldsHidden>true</TimesheetProjectFieldsHidden>
</TimesheetEntry>
<TimesheetEntryVisible>true</TimesheetEntryVisible>
<Visibility xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:guid>f65296d5-ff41-418f-b985-69ce22e3dd73</d2p1:guid>
<d2p1:guid>a59815b2-ae1f-4f5b-9295-b329e6b4f327</d2p1:guid>
</Visibility>
</ContactLogCreateModel>
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.