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": "0e41ceae-8a44-41e6-bce5-b5a185164456",
"contact_log_id": "18dcfb41-6919-4ae2-9c6c-4c252afe9a9e",
"consulting_id": "3359a82d-d019-4c95-b754-8135de8c8f10",
"finance_id": "654b28a6-0ed7-4b5c-9e4b-b4bad277f2ca",
"financial_planning_id": "171f5956-b5b4-4553-bf85-e60058884988",
"investment_id": "f286c01c-1251-4f27-b2ef-fafc88d672e0",
"rental_management_id": "9aa2f551-4185-4038-87d6-28a33f619e3d",
"sale_property_id": "c27efe40-4080-4932-9b7b-fd5948c9cecd",
"sale_id": "553d17e4-7b4f-4b13-8a59-b4bf02cb36da",
"product_sale_id": "e5b60ec2-2776-43d3-b233-24c5e0fec603",
"tax_id": "ae97148c-a5c5-4c0b-93b7-ebb9961ca694",
"opportunity_id": "4bf3226f-cdcc-42d4-9fa8-2e29c647f176",
"event_registrant_id": "9b772a94-0a4f-4eec-b5d4-7785ae805c77",
"campaign_recipient_id": "cdfe6b75-0998-4d0a-8641-d94f37d5e007",
"development_id": "243dec5b-7e16-4175-b9de-1b8fbcc5792b",
"dms_id": "78ecca6c-d640-44a9-bbc5-9bbefe8b3739",
"files": "sample string 1"
},
"CreationType": "entry",
"account_id": "c2541a24-7303-44ac-9705-3a3960590afb",
"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": "f032c309-c0b0-4bde-9d53-db1a4c852865",
"new_account_email": "sample string 7",
"new_account_mobile": "sample string 8",
"new_account_country": "sample string 9",
"new_account_source_id": "39e4a0d8-9890-4002-aa7f-6f053c5841a4",
"new_account_source_origin": "sample string 10",
"contact_log_type_id": "bd7813a0-4a2e-4a0a-8c27-e9970176c59a",
"survey_id": "1b011f51-cfa2-4346-b58b-e136d306d12c",
"contact_log_status_id": "3d6ff719-80e1-44f9-9118-eeb0d3a7b8a0",
"subject": "sample string 11",
"subject_response_id": "6efed6df-0c7b-4cbb-b42e-b42b4e31e7e3",
"contact_ref_no_entry": true,
"contact_ref_no": "sample string 13",
"visibility": [
"2c748a8c-b6df-4ae2-b8ba-0b1e5f795f87",
"22c22a5a-516f-4f7e-9ddb-337463fc0839"
],
"external_activity": true,
"survey_response": {
"survey_id": "4f85e936-23f7-4249-a57b-eaf848b066d5",
"json": "sample string 2",
"id": "58ceac49-b09f-4275-9d87-674af6ff7d81",
"subscription_id": "1b8c7377-1ec3-4f1c-a0a9-215d8f3e4392",
"ts": "QEA="
},
"contact_log_entry_create": {
"dms_external_upload_link_url": "sample string 1",
"dms_external_download_link_url": "sample string 2",
"contact_date": "2025-12-08T19:48:43.238114+08:00",
"contact_by_id": "f2ea7632-a454-454f-b576-8e0bdbe772eb",
"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": "8ac50075-36b9-40f4-b1d8-97c638d0fb5f",
"subscription_id": "be7a152c-beaf-47c3-b8a9-e686c6c2f516",
"ts": "QEA="
},
"timesheet_entry_create": {
"new_timesheet_entry_hidden": true,
"new_timesheet_entry": true,
"timesheet_project_fields_hidden": true,
"time_period": 0,
"date": "2025-12-08T19:48:43.2536799+08:00",
"duration": 4.1,
"duration_fields_hidden": true,
"type": "sample string 6",
"project_id": "7edaa924-2e18-410c-8957-67b53be09a52",
"project_name": "sample string 7",
"task_id": "111f6b59-5675-4c99-a468-beea4a029c64",
"task_name": "sample string 8",
"user_id": "sample string 9",
"timezone_id": "sample string 10",
"start_date": "2025-12-08T19:48:43.2536799+08:00",
"start_date_utc": "2025-12-08T19:48:43.2536799+08:00",
"end_date": "2025-12-08T19:48:43.2536799+08:00",
"end_date_utc": "2025-12-08T19:48:43.2536799+08:00",
"notes": "sample string 15",
"id": "c237854f-9a88-4915-9da0-d541b3ea1d77",
"subscription_id": "b6c92a0d-f60f-4f98-8846-7c4ec7419f65",
"ts": "QEA="
},
"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": "0fda55e1-612b-47b5-9df9-2688e2175d47",
"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": "2025-12-08T19:48:43.2536799+08:00",
"start_timezone_id": "sample string 9",
"end_date": "2025-12-08T19:48:43.2536799+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": "bcd61ee8-8f4b-4780-99f7-cef6b0def20c",
"subscription_id": "7841f23c-7ccf-4fe0-a144-aff9a8c652c8",
"ts": "QEA="
},
"timesheet_entry_visible": true,
"id": "45a05070-c762-4aa3-b443-138095db3ef4",
"subscription_id": "25e3348a-c8e3-425a-a492-21ce26a09834",
"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">45a05070-c762-4aa3-b443-138095db3ef4</Id>
<SubscriptionId xmlns="http://schemas.datacontract.org/2004/07/CompleteEmpireApp.Api.Models.Base">25e3348a-c8e3-425a-a492-21ce26a09834</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>c2541a24-7303-44ac-9705-3a3960590afb</AccountId>
<AccountName>sample string 1</AccountName>
<Appointment>
<Id xmlns="http://schemas.datacontract.org/2004/07/CompleteEmpireApp.Api.Models.Base">bcd61ee8-8f4b-4780-99f7-cef6b0def20c</Id>
<SubscriptionId xmlns="http://schemas.datacontract.org/2004/07/CompleteEmpireApp.Api.Models.Base">7841f23c-7ccf-4fe0-a144-aff9a8c652c8</SubscriptionId>
<Ts xmlns="http://schemas.datacontract.org/2004/07/CompleteEmpireApp.Api.Models.Base">QEA=</Ts>
<AppointmentType>sample string 6</AppointmentType>
<AppointmentTypeId>0fda55e1-612b-47b5-9df9-2688e2175d47</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>2025-12-08T19:48:43.2536799+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>2025-12-08T19:48:43.2536799+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">8ac50075-36b9-40f4-b1d8-97c638d0fb5f</Id>
<SubscriptionId xmlns="http://schemas.datacontract.org/2004/07/CompleteEmpireApp.Api.Models.Base">be7a152c-beaf-47c3-b8a9-e686c6c2f516</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>f2ea7632-a454-454f-b576-8e0bdbe772eb</ContactById>
<ContactDate>2025-12-08T19:48:43.238114+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>3d6ff719-80e1-44f9-9118-eeb0d3a7b8a0</ContactLogStatusId>
<ContactLogTypeId>bd7813a0-4a2e-4a0a-8c27-e9970176c59a</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>39e4a0d8-9890-4002-aa7f-6f053c5841a4</NewAccountSourceId>
<NewAccountSourceOrigin>sample string 10</NewAccountSourceOrigin>
<NewAccountTypeId>f032c309-c0b0-4bde-9d53-db1a4c852865</NewAccountTypeId>
<Options>
<AccountId>0e41ceae-8a44-41e6-bce5-b5a185164456</AccountId>
<CampaignRecipientId>cdfe6b75-0998-4d0a-8641-d94f37d5e007</CampaignRecipientId>
<ConsultingId>3359a82d-d019-4c95-b754-8135de8c8f10</ConsultingId>
<ContactLogId>18dcfb41-6919-4ae2-9c6c-4c252afe9a9e</ContactLogId>
<DevelopmentId>243dec5b-7e16-4175-b9de-1b8fbcc5792b</DevelopmentId>
<DmsId>78ecca6c-d640-44a9-bbc5-9bbefe8b3739</DmsId>
<EventRegistrantId>9b772a94-0a4f-4eec-b5d4-7785ae805c77</EventRegistrantId>
<Files>sample string 1</Files>
<FinanceId>654b28a6-0ed7-4b5c-9e4b-b4bad277f2ca</FinanceId>
<FinancialPlanningId>171f5956-b5b4-4553-bf85-e60058884988</FinancialPlanningId>
<InvestmentId>f286c01c-1251-4f27-b2ef-fafc88d672e0</InvestmentId>
<OpportunityId>4bf3226f-cdcc-42d4-9fa8-2e29c647f176</OpportunityId>
<ProductSaleId>e5b60ec2-2776-43d3-b233-24c5e0fec603</ProductSaleId>
<RentalManagementId>9aa2f551-4185-4038-87d6-28a33f619e3d</RentalManagementId>
<SaleId>553d17e4-7b4f-4b13-8a59-b4bf02cb36da</SaleId>
<SalePropertyId>c27efe40-4080-4932-9b7b-fd5948c9cecd</SalePropertyId>
<TaxId>ae97148c-a5c5-4c0b-93b7-ebb9961ca694</TaxId>
</Options>
<Subject>sample string 11</Subject>
<SurveyId>1b011f51-cfa2-4346-b58b-e136d306d12c</SurveyId>
<SurveyResponse>
<Id xmlns="http://schemas.datacontract.org/2004/07/CompleteEmpireApp.Api.Models.Base">58ceac49-b09f-4275-9d87-674af6ff7d81</Id>
<SubscriptionId xmlns="http://schemas.datacontract.org/2004/07/CompleteEmpireApp.Api.Models.Base">1b8c7377-1ec3-4f1c-a0a9-215d8f3e4392</SubscriptionId>
<Ts xmlns="http://schemas.datacontract.org/2004/07/CompleteEmpireApp.Api.Models.Base">QEA=</Ts>
<Json>sample string 2</Json>
<SurveyId>4f85e936-23f7-4249-a57b-eaf848b066d5</SurveyId>
</SurveyResponse>
<SurveyResponseId>6efed6df-0c7b-4cbb-b42e-b42b4e31e7e3</SurveyResponseId>
<TimesheetEntry>
<Id xmlns="http://schemas.datacontract.org/2004/07/CompleteEmpireApp.Api.Models.Base">c237854f-9a88-4915-9da0-d541b3ea1d77</Id>
<SubscriptionId xmlns="http://schemas.datacontract.org/2004/07/CompleteEmpireApp.Api.Models.Base">b6c92a0d-f60f-4f98-8846-7c4ec7419f65</SubscriptionId>
<Ts xmlns="http://schemas.datacontract.org/2004/07/CompleteEmpireApp.Api.Models.Base">QEA=</Ts>
<EndDate>2025-12-08T19:48:43.2536799+08:00</EndDate>
<EndDateUtc>2025-12-08T19:48:43.2536799+08:00</EndDateUtc>
<Notes>sample string 15</Notes>
<StartDate>2025-12-08T19:48:43.2536799+08:00</StartDate>
<StartDateUtc>2025-12-08T19:48:43.2536799+08:00</StartDateUtc>
<TimeZoneId>sample string 10</TimeZoneId>
<TimesheetProjectId>7edaa924-2e18-410c-8957-67b53be09a52</TimesheetProjectId>
<TimesheetProjectName>sample string 7</TimesheetProjectName>
<TimesheetTaskId>111f6b59-5675-4c99-a468-beea4a029c64</TimesheetTaskId>
<TimesheetTaskName>sample string 8</TimesheetTaskName>
<Type>sample string 6</Type>
<UserId>sample string 9</UserId>
<Date>2025-12-08T19:48:43.2536799+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>2c748a8c-b6df-4ae2-b8ba-0b1e5f795f87</d2p1:guid>
<d2p1:guid>22c22a5a-516f-4f7e-9ddb-337463fc0839</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.