POST api/contactlogs
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 |
String length: inclusive between 0 and 75 |
|
| new_account_name | string |
String length: inclusive between 0 and 75 |
|
| new_account_type_id | globally unique identifier |
None. |
|
| new_account_email | string |
String length: inclusive between 0 and 255 |
|
| new_account_mobile | string |
String length: inclusive between 0 and 25 |
|
| new_account_country | string |
String length: inclusive between 0 and 75 |
|
| new_account_source_id | globally unique identifier |
None. |
|
| new_account_source_origin | string |
String length: inclusive between 0 and 255 |
|
| 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": "ea70b802-7625-4494-8c78-03e2ab728070",
"contact_log_id": "96946b78-85c8-4f2e-9188-b6ac8d973a70",
"consulting_id": "d0ab6d26-e4d8-40cd-a25b-5085d050c2f2",
"finance_id": "f6243d6a-9b8e-411e-8c72-7a1abdb47732",
"financial_planning_id": "e43417bf-cbfa-40bf-8fd0-eb418e33d7e5",
"investment_id": "e4a2f805-1ff2-4866-960a-cd2d57add888",
"rental_management_id": "f2f97e41-3147-4d74-bf0d-8c9d82e5e8b5",
"sale_property_id": "caa8ebcf-f3e9-4374-8a84-55d604dd2173",
"sale_id": "fc182f02-f02e-4f38-9ce7-c54f45b12cfe",
"product_sale_id": "dfa5bd16-74db-4aaa-9c68-b898d31a4445",
"tax_id": "ac9588ba-bb14-495e-88ee-f950e67dc115",
"opportunity_id": "0b14af73-7f1b-4672-9a0b-e62a3bd57a56",
"event_registrant_id": "5bf758f8-b5bc-4ef2-ba74-04cebdceaf19",
"campaign_recipient_id": "522be39d-f6b4-44aa-8489-13445b42ad52",
"development_id": "b25f3eef-9bb0-4fb7-8c16-32eeb9fe23fb",
"dms_id": "a80cec11-c46c-41df-a0a3-e84e823cd0cf",
"files": "sample string 1"
},
"CreationType": "entry",
"account_id": "876d7ac2-c7c0-4105-8066-43c2435cf57d",
"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": "ca2b510a-4b16-4358-b6ef-202abab33a3c",
"new_account_email": "sample string 7",
"new_account_mobile": "sample string 8",
"new_account_country": "sample string 9",
"new_account_source_id": "6b187287-1481-4b1b-a75c-aee71263ce88",
"new_account_source_origin": "sample string 10",
"contact_log_type_id": "53219f04-c79a-4056-b63f-ba4d7e180f2e",
"survey_id": "869a472b-6d2c-4905-8fae-2b81ee79ee2a",
"contact_log_status_id": "f3bbcfa2-4eec-455c-b724-1cd437dbf16e",
"subject": "sample string 11",
"subject_response_id": "b8cebb2a-350a-454a-acb9-a20e3b73de54",
"contact_ref_no_entry": true,
"contact_ref_no": "sample string 13",
"visibility": [
"c92b85ab-14e8-4d65-ae65-879cb9848d28",
"5b40a8a7-ae49-4d7b-afff-276c63adf15e"
],
"external_activity": true,
"survey_response": {
"survey_id": "04469e9b-1552-43ce-a94a-2b1a4b4daa2f",
"json": "sample string 2",
"id": "2f24c528-7e1e-420f-8ecd-f7aabadc07c1",
"subscription_id": "9e757b58-cab1-4ddc-aacc-ed2b7448f497",
"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-08-08T15:03:07.6387061+08:00",
"contact_by_id": "525a83c8-b14f-480f-bd5f-44f2bb2eb6dd",
"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": "dc0222a7-baee-465e-abc2-5dcedea4b186",
"subscription_id": "a1d7f028-c052-4fcc-93cb-13e1cfc3719d",
"ts": "QEA="
},
"timesheet_entry_create": {
"new_timesheet_entry_hidden": true,
"new_timesheet_entry": true,
"timesheet_project_fields_hidden": true,
"time_period": 0,
"date": "2026-08-08T15:03:07.6387061+08:00",
"duration": 4.1,
"duration_fields_hidden": true,
"subscription_id": "2efbb2dc-4547-49be-b4c1-a707559c5999",
"type": "sample string 6",
"timesheet_project_id": "913d7491-0b54-4666-a7e0-6db7c13680fe",
"timesheet_project_name": "sample string 7",
"timesheet_task_id": "8040e35f-31ef-4f82-af77-0e505afb3ea3",
"timesheet_task_name": "sample string 8",
"user_id": "sample string 9",
"timezone_id": "sample string 10",
"start": "2026-08-08T15:03:07.6387061+08:00",
"end": "2026-08-08T15:03:07.6387061+08:00",
"reference_no": "sample string 13",
"notes": "sample string 14",
"submitted": true,
"id": "cd6141a6-2618-47f5-b730-031cac266866"
},
"appointment_create": {
"new_appointment_hidden": true,
"new_appointment": true,
"subscription_id": "39e0bde9-58c6-48eb-a2f0-5eb153c24fa1",
"owner_id": "sample string 3",
"organiser": "sample string 4",
"title": "sample string 5",
"appointment_type_id": "c8e43c0b-fec2-44ac-b539-08656e8a2bb4",
"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": "2026-08-08T15:03:07.6387061+08:00",
"start_timezone_id": "sample string 9",
"end": "2026-08-08T15:03:07.6387061+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": "6e0893c3-2e77-4a31-92a6-efabc1884eba"
},
"timesheet_entry_visible": true,
"id": "a4bac4a5-23b2-473d-b818-3178ff401ef2",
"subscription_id": "43ff4ac6-a14b-49a9-9495-75aac36cdd56",
"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">a4bac4a5-23b2-473d-b818-3178ff401ef2</Id>
<SubscriptionId xmlns="http://schemas.datacontract.org/2004/07/CompleteEmpireApp.Api.Models.Base">43ff4ac6-a14b-49a9-9495-75aac36cdd56</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>876d7ac2-c7c0-4105-8066-43c2435cf57d</AccountId>
<AccountName>sample string 1</AccountName>
<Appointment>
<Id xmlns="http://schemas.datacontract.org/2004/07/CompleteEmpireApp.Api.Models.Base">6e0893c3-2e77-4a31-92a6-efabc1884eba</Id>
<AppointmentType>sample string 6</AppointmentType>
<AppointmentTypeId>c8e43c0b-fec2-44ac-b539-08656e8a2bb4</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>
<End>2026-08-08T15:03:07.6387061+08:00</End>
<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>
<Start>2026-08-08T15:03:07.6387061+08:00</Start>
<StartTimeZoneId>sample string 9</StartTimeZoneId>
<SubscriptionId>39e0bde9-58c6-48eb-a2f0-5eb153c24fa1</SubscriptionId>
<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">dc0222a7-baee-465e-abc2-5dcedea4b186</Id>
<SubscriptionId xmlns="http://schemas.datacontract.org/2004/07/CompleteEmpireApp.Api.Models.Base">a1d7f028-c052-4fcc-93cb-13e1cfc3719d</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>525a83c8-b14f-480f-bd5f-44f2bb2eb6dd</ContactById>
<ContactDate>2026-08-08T15:03:07.6387061+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>f3bbcfa2-4eec-455c-b724-1cd437dbf16e</ContactLogStatusId>
<ContactLogTypeId>53219f04-c79a-4056-b63f-ba4d7e180f2e</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>6b187287-1481-4b1b-a75c-aee71263ce88</NewAccountSourceId>
<NewAccountSourceOrigin>sample string 10</NewAccountSourceOrigin>
<NewAccountTypeId>ca2b510a-4b16-4358-b6ef-202abab33a3c</NewAccountTypeId>
<Options>
<AccountId>ea70b802-7625-4494-8c78-03e2ab728070</AccountId>
<CampaignRecipientId>522be39d-f6b4-44aa-8489-13445b42ad52</CampaignRecipientId>
<ConsultingId>d0ab6d26-e4d8-40cd-a25b-5085d050c2f2</ConsultingId>
<ContactLogId>96946b78-85c8-4f2e-9188-b6ac8d973a70</ContactLogId>
<DevelopmentId>b25f3eef-9bb0-4fb7-8c16-32eeb9fe23fb</DevelopmentId>
<DmsId>a80cec11-c46c-41df-a0a3-e84e823cd0cf</DmsId>
<EventRegistrantId>5bf758f8-b5bc-4ef2-ba74-04cebdceaf19</EventRegistrantId>
<Files>sample string 1</Files>
<FinanceId>f6243d6a-9b8e-411e-8c72-7a1abdb47732</FinanceId>
<FinancialPlanningId>e43417bf-cbfa-40bf-8fd0-eb418e33d7e5</FinancialPlanningId>
<InvestmentId>e4a2f805-1ff2-4866-960a-cd2d57add888</InvestmentId>
<OpportunityId>0b14af73-7f1b-4672-9a0b-e62a3bd57a56</OpportunityId>
<ProductSaleId>dfa5bd16-74db-4aaa-9c68-b898d31a4445</ProductSaleId>
<RentalManagementId>f2f97e41-3147-4d74-bf0d-8c9d82e5e8b5</RentalManagementId>
<SaleId>fc182f02-f02e-4f38-9ce7-c54f45b12cfe</SaleId>
<SalePropertyId>caa8ebcf-f3e9-4374-8a84-55d604dd2173</SalePropertyId>
<TaxId>ac9588ba-bb14-495e-88ee-f950e67dc115</TaxId>
</Options>
<Subject>sample string 11</Subject>
<SurveyId>869a472b-6d2c-4905-8fae-2b81ee79ee2a</SurveyId>
<SurveyResponse>
<Id xmlns="http://schemas.datacontract.org/2004/07/CompleteEmpireApp.Api.Models.Base">2f24c528-7e1e-420f-8ecd-f7aabadc07c1</Id>
<SubscriptionId xmlns="http://schemas.datacontract.org/2004/07/CompleteEmpireApp.Api.Models.Base">9e757b58-cab1-4ddc-aacc-ed2b7448f497</SubscriptionId>
<Ts xmlns="http://schemas.datacontract.org/2004/07/CompleteEmpireApp.Api.Models.Base">QEA=</Ts>
<Json>sample string 2</Json>
<SurveyId>04469e9b-1552-43ce-a94a-2b1a4b4daa2f</SurveyId>
</SurveyResponse>
<SurveyResponseId>b8cebb2a-350a-454a-acb9-a20e3b73de54</SurveyResponseId>
<TimesheetEntry>
<Id xmlns="http://schemas.datacontract.org/2004/07/CompleteEmpireApp.Api.Models.Base">cd6141a6-2618-47f5-b730-031cac266866</Id>
<End>2026-08-08T15:03:07.6387061+08:00</End>
<Notes>sample string 14</Notes>
<ReferenceNo>sample string 13</ReferenceNo>
<Start>2026-08-08T15:03:07.6387061+08:00</Start>
<Submitted>true</Submitted>
<SubscriptionId>2efbb2dc-4547-49be-b4c1-a707559c5999</SubscriptionId>
<TimeZoneId>sample string 10</TimeZoneId>
<TimesheetProjectId>913d7491-0b54-4666-a7e0-6db7c13680fe</TimesheetProjectId>
<TimesheetProjectName>sample string 7</TimesheetProjectName>
<TimesheetTaskId>8040e35f-31ef-4f82-af77-0e505afb3ea3</TimesheetTaskId>
<TimesheetTaskName>sample string 8</TimesheetTaskName>
<Type>sample string 6</Type>
<UserId>sample string 9</UserId>
<Date>2026-08-08T15:03:07.6387061+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>c92b85ab-14e8-4d65-ae65-879cb9848d28</d2p1:guid>
<d2p1:guid>5b40a8a7-ae49-4d7b-afff-276c63adf15e</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.