POST api/contactlogs

Request Information

URI Parameters

None.

Body Parameters

ContactLogCreateModel
NameDescriptionTypeAdditional 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": "11c9233d-fcff-4906-aef2-7d153e375388",
    "contact_log_id": "1b09f322-9c93-43e3-bf69-54e16fe33f79",
    "consulting_id": "f52048fb-f25a-4cfd-b460-a5803086bcb4",
    "finance_id": "12562581-1e3f-4e54-8e03-207ae8c8399b",
    "financial_planning_id": "682f83da-410e-4c5c-9793-c4a426fd81b1",
    "investment_id": "3e710629-27f3-403c-9790-320180f6af83",
    "rental_management_id": "71c4ac61-599d-42e2-bbd3-0050a35c379e",
    "sale_property_id": "2fc56a6d-9d7b-493e-ba76-52cf0fab968c",
    "sale_id": "463a5f34-7113-4cb7-9a91-294f04aca233",
    "product_sale_id": "7145a586-202c-4de5-85ec-d3ad47f76340",
    "tax_id": "b65d41b9-1f0f-4a3f-a2bc-7aab33920332",
    "opportunity_id": "ddcfc8a1-2b28-45d6-8dd2-19abf0b96a2a",
    "event_registrant_id": "12f20367-699f-4826-9dfa-b762ef497d3d",
    "campaign_recipient_id": "8f48a67b-be18-4805-b10a-34fae9e22379",
    "development_id": "6ce8043f-2e93-4cb6-aa69-e763e56c9fc2",
    "dms_id": "21ab7500-7dce-4622-b23b-96f7c6a9c197",
    "files": "sample string 1"
  },
  "CreationType": "entry",
  "account_id": "0ee8858d-6d6e-4ae8-9f1e-c367c0bec74b",
  "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": "5a0895c3-cb9b-4e7c-9051-8f83a418db5a",
  "new_account_email": "sample string 7",
  "new_account_mobile": "sample string 8",
  "new_account_country": "sample string 9",
  "new_account_source_id": "c218018b-0a71-43a1-a3a3-8fa280597dbb",
  "new_account_source_origin": "sample string 10",
  "contact_log_type_id": "0aec87ea-b1b9-4d86-aea9-3053cf5ba044",
  "survey_id": "8fa75605-ce03-4c8a-9897-053ea400f371",
  "contact_log_status_id": "15bb2a0b-e6e9-4881-b876-f1521f251939",
  "subject": "sample string 11",
  "subject_response_id": "1864f312-1b3e-4b3f-8bb2-a4edab0091cb",
  "contact_ref_no_entry": true,
  "contact_ref_no": "sample string 13",
  "visibility": [
    "c666a8fd-a383-4702-8734-199dd5345d82",
    "a30b4fdc-c4fe-4dee-ba4e-55877ec9781d"
  ],
  "external_activity": true,
  "survey_response": {
    "survey_id": "1899e4fd-56b0-4435-897f-6b4d44c128bb",
    "json": "sample string 2",
    "id": "64f4e2f8-a068-4214-a375-34ad95c1d221",
    "subscription_id": "3805ef9a-d44f-4bf9-b7f8-3b3df7bcb64d",
    "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-04-10T20:12:54.2732296+08:00",
    "contact_by_id": "c44c7c58-5fbd-46d7-88ec-53a15bdfcd82",
    "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": "f4f7c664-3199-4c81-99bf-70c8a2041fcc",
    "subscription_id": "ad38b0fd-b693-4229-9dd8-5b48c194354e",
    "ts": "QEA="
  },
  "timesheet_entry_create": {
    "new_timesheet_entry_hidden": true,
    "new_timesheet_entry": true,
    "timesheet_project_fields_hidden": true,
    "time_period": 0,
    "date": "2026-04-10T20:12:54.2732296+08:00",
    "duration": 4.1,
    "duration_fields_hidden": true,
    "subscription_id": "761386cb-5cc1-4080-95ab-a8a49e0253fe",
    "type": "sample string 6",
    "timesheet_project_id": "455ef21c-311a-472c-84dc-8b0a6e28792f",
    "timesheet_project_name": "sample string 7",
    "timesheet_task_id": "91be1274-120c-4cdd-90f0-0c4c57a5182a",
    "timesheet_task_name": "sample string 8",
    "user_id": "sample string 9",
    "timezone_id": "sample string 10",
    "start": "2026-04-10T20:12:54.2732296+08:00",
    "end": "2026-04-10T20:12:54.2732296+08:00",
    "reference_no": "sample string 13",
    "notes": "sample string 14",
    "submitted": true,
    "id": "6bf10400-e2fa-4705-9430-4ffb429bb14a"
  },
  "appointment_create": {
    "new_appointment_hidden": true,
    "new_appointment": true,
    "subscription_id": "0d07f690-3d02-4654-9297-e70912ea8e28",
    "owner_id": "sample string 3",
    "organiser": "sample string 4",
    "title": "sample string 5",
    "appointment_type_id": "4f44fbdb-e6d8-40de-a242-4023f13b3800",
    "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-04-10T20:12:54.2732296+08:00",
    "start_timezone_id": "sample string 9",
    "end": "2026-04-10T20:12:54.2732296+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": "10ce04b9-763c-4284-9c73-ba7691fe65e3"
  },
  "timesheet_entry_visible": true,
  "id": "d47409d9-22bd-4470-83fe-515038551959",
  "subscription_id": "99dae356-f62e-43c3-9bf6-350edc836899",
  "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">d47409d9-22bd-4470-83fe-515038551959</Id>
  <SubscriptionId xmlns="http://schemas.datacontract.org/2004/07/CompleteEmpireApp.Api.Models.Base">99dae356-f62e-43c3-9bf6-350edc836899</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>0ee8858d-6d6e-4ae8-9f1e-c367c0bec74b</AccountId>
  <AccountName>sample string 1</AccountName>
  <Appointment>
    <Id xmlns="http://schemas.datacontract.org/2004/07/CompleteEmpireApp.Api.Models.Base">10ce04b9-763c-4284-9c73-ba7691fe65e3</Id>
    <AppointmentType>sample string 6</AppointmentType>
    <AppointmentTypeId>4f44fbdb-e6d8-40de-a242-4023f13b3800</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-04-10T20:12:54.2732296+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-04-10T20:12:54.2732296+08:00</Start>
    <StartTimeZoneId>sample string 9</StartTimeZoneId>
    <SubscriptionId>0d07f690-3d02-4654-9297-e70912ea8e28</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">f4f7c664-3199-4c81-99bf-70c8a2041fcc</Id>
    <SubscriptionId xmlns="http://schemas.datacontract.org/2004/07/CompleteEmpireApp.Api.Models.Base">ad38b0fd-b693-4229-9dd8-5b48c194354e</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>c44c7c58-5fbd-46d7-88ec-53a15bdfcd82</ContactById>
    <ContactDate>2026-04-10T20:12:54.2732296+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>15bb2a0b-e6e9-4881-b876-f1521f251939</ContactLogStatusId>
  <ContactLogTypeId>0aec87ea-b1b9-4d86-aea9-3053cf5ba044</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>c218018b-0a71-43a1-a3a3-8fa280597dbb</NewAccountSourceId>
  <NewAccountSourceOrigin>sample string 10</NewAccountSourceOrigin>
  <NewAccountTypeId>5a0895c3-cb9b-4e7c-9051-8f83a418db5a</NewAccountTypeId>
  <Options>
    <AccountId>11c9233d-fcff-4906-aef2-7d153e375388</AccountId>
    <CampaignRecipientId>8f48a67b-be18-4805-b10a-34fae9e22379</CampaignRecipientId>
    <ConsultingId>f52048fb-f25a-4cfd-b460-a5803086bcb4</ConsultingId>
    <ContactLogId>1b09f322-9c93-43e3-bf69-54e16fe33f79</ContactLogId>
    <DevelopmentId>6ce8043f-2e93-4cb6-aa69-e763e56c9fc2</DevelopmentId>
    <DmsId>21ab7500-7dce-4622-b23b-96f7c6a9c197</DmsId>
    <EventRegistrantId>12f20367-699f-4826-9dfa-b762ef497d3d</EventRegistrantId>
    <Files>sample string 1</Files>
    <FinanceId>12562581-1e3f-4e54-8e03-207ae8c8399b</FinanceId>
    <FinancialPlanningId>682f83da-410e-4c5c-9793-c4a426fd81b1</FinancialPlanningId>
    <InvestmentId>3e710629-27f3-403c-9790-320180f6af83</InvestmentId>
    <OpportunityId>ddcfc8a1-2b28-45d6-8dd2-19abf0b96a2a</OpportunityId>
    <ProductSaleId>7145a586-202c-4de5-85ec-d3ad47f76340</ProductSaleId>
    <RentalManagementId>71c4ac61-599d-42e2-bbd3-0050a35c379e</RentalManagementId>
    <SaleId>463a5f34-7113-4cb7-9a91-294f04aca233</SaleId>
    <SalePropertyId>2fc56a6d-9d7b-493e-ba76-52cf0fab968c</SalePropertyId>
    <TaxId>b65d41b9-1f0f-4a3f-a2bc-7aab33920332</TaxId>
  </Options>
  <Subject>sample string 11</Subject>
  <SurveyId>8fa75605-ce03-4c8a-9897-053ea400f371</SurveyId>
  <SurveyResponse>
    <Id xmlns="http://schemas.datacontract.org/2004/07/CompleteEmpireApp.Api.Models.Base">64f4e2f8-a068-4214-a375-34ad95c1d221</Id>
    <SubscriptionId xmlns="http://schemas.datacontract.org/2004/07/CompleteEmpireApp.Api.Models.Base">3805ef9a-d44f-4bf9-b7f8-3b3df7bcb64d</SubscriptionId>
    <Ts xmlns="http://schemas.datacontract.org/2004/07/CompleteEmpireApp.Api.Models.Base">QEA=</Ts>
    <Json>sample string 2</Json>
    <SurveyId>1899e4fd-56b0-4435-897f-6b4d44c128bb</SurveyId>
  </SurveyResponse>
  <SurveyResponseId>1864f312-1b3e-4b3f-8bb2-a4edab0091cb</SurveyResponseId>
  <TimesheetEntry>
    <Id xmlns="http://schemas.datacontract.org/2004/07/CompleteEmpireApp.Api.Models.Base">6bf10400-e2fa-4705-9430-4ffb429bb14a</Id>
    <End>2026-04-10T20:12:54.2732296+08:00</End>
    <Notes>sample string 14</Notes>
    <ReferenceNo>sample string 13</ReferenceNo>
    <Start>2026-04-10T20:12:54.2732296+08:00</Start>
    <Submitted>true</Submitted>
    <SubscriptionId>761386cb-5cc1-4080-95ab-a8a49e0253fe</SubscriptionId>
    <TimeZoneId>sample string 10</TimeZoneId>
    <TimesheetProjectId>455ef21c-311a-472c-84dc-8b0a6e28792f</TimesheetProjectId>
    <TimesheetProjectName>sample string 7</TimesheetProjectName>
    <TimesheetTaskId>91be1274-120c-4cdd-90f0-0c4c57a5182a</TimesheetTaskId>
    <TimesheetTaskName>sample string 8</TimesheetTaskName>
    <Type>sample string 6</Type>
    <UserId>sample string 9</UserId>
    <Date>2026-04-10T20:12:54.2732296+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>c666a8fd-a383-4702-8734-199dd5345d82</d2p1:guid>
    <d2p1:guid>a30b4fdc-c4fe-4dee-ba4e-55877ec9781d</d2p1:guid>
  </Visibility>
</ContactLogCreateModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.