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

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": "0e7999c0-3e56-4a8a-811d-fb5799c97f9a",
    "contact_log_id": "579539ac-3231-4c72-95a1-e956dbe69702",
    "consulting_id": "e64ecab6-4047-4e5e-9741-3b565d0022a8",
    "finance_id": "20bda15a-38f0-4853-9918-ac8c4ba43c02",
    "financial_planning_id": "0740306e-9830-43dd-9dde-3fbadcd00c36",
    "investment_id": "52f05476-014c-40ad-959a-9d8afb753bd5",
    "rental_management_id": "56ba72b5-41ae-4e2c-9a54-10d779fa1f67",
    "sale_property_id": "b61c09cd-b9c7-4a87-9c51-6a2319c1ff1c",
    "sale_id": "61d79fca-3e08-41da-9de0-ee5a78f52bd6",
    "product_sale_id": "776c8105-7ddf-4688-b620-d36c4a87a5af",
    "tax_id": "1007470b-2b7b-4693-9a70-41c4b2a43dd5",
    "opportunity_id": "f1e9655a-a703-4f33-9eb3-3742e3734920",
    "event_registrant_id": "63ebe6c4-714a-4df9-819b-2dfb504be44a",
    "campaign_recipient_id": "5eab671a-7283-4f77-aac0-f5fc3abe8314",
    "development_id": "194f8cd3-1f38-421e-b283-3d26afa2caea",
    "dms_id": "8530fe48-8bd2-41eb-a0c4-afed32fbb5ee",
    "files": "sample string 1"
  },
  "CreationType": "entry",
  "account_id": "8236232c-94eb-4de7-948d-2ffcb3946ceb",
  "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": "095cfe4f-1346-44a4-af4d-0e8231076207",
  "new_account_email": "sample string 7",
  "new_account_mobile": "sample string 8",
  "new_account_country": "sample string 9",
  "new_account_source_id": "7cf4afdb-c6c6-4ad1-b2e1-ba7d733da78e",
  "new_account_source_origin": "sample string 10",
  "contact_log_type_id": "2d7abd5e-8425-46c7-81f7-dc5a8a88fa49",
  "survey_id": "93c535b2-04b1-48f2-b19f-5b772ce5c2b1",
  "contact_log_status_id": "a3016596-0042-40a7-b1c9-d89c82d6620c",
  "subject": "sample string 11",
  "subject_response_id": "75f22930-582f-4a55-a46a-bb14b782f882",
  "contact_ref_no_entry": true,
  "contact_ref_no": "sample string 13",
  "visibility": [
    "c8585950-c0d3-4b58-9fbe-93ec3ccc8232",
    "a42ace56-ce47-427d-a703-6d1eacc7936d"
  ],
  "external_activity": true,
  "survey_response": {
    "survey_id": "3b74c7b3-cc84-4af4-8f3b-4ec6d1c55a0b",
    "json": "sample string 2",
    "id": "d7fc9908-d9e4-4e6d-9217-3d832a051398",
    "subscription_id": "723c40c9-cceb-4974-b7a2-8e25dc7c280f",
    "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-06-09T14:55:39.4505211+08:00",
    "contact_by_id": "471da76a-e65a-4515-962a-a304d5f961ac",
    "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": "642fb6fb-74d3-438d-b96e-f62bae56df35",
    "subscription_id": "2a9eb370-490c-4be3-ace5-c08e8320520d",
    "ts": "QEA="
  },
  "timesheet_entry_create": {
    "new_timesheet_entry_hidden": true,
    "new_timesheet_entry": true,
    "timesheet_project_fields_hidden": true,
    "time_period": 0,
    "date": "2026-06-09T14:55:39.4505211+08:00",
    "duration": 4.1,
    "duration_fields_hidden": true,
    "subscription_id": "b79fea4c-6870-450d-8363-cf0e2744640d",
    "type": "sample string 6",
    "timesheet_project_id": "80c4eec4-5284-4957-9c4d-fc9707a7a63a",
    "timesheet_project_name": "sample string 7",
    "timesheet_task_id": "2a7483e5-240e-421e-9a72-7d089863082d",
    "timesheet_task_name": "sample string 8",
    "user_id": "sample string 9",
    "timezone_id": "sample string 10",
    "start": "2026-06-09T14:55:39.4505211+08:00",
    "end": "2026-06-09T14:55:39.4505211+08:00",
    "reference_no": "sample string 13",
    "notes": "sample string 14",
    "submitted": true,
    "id": "4c0eb62d-07fc-40b1-b312-39b6eb88723c"
  },
  "appointment_create": {
    "new_appointment_hidden": true,
    "new_appointment": true,
    "subscription_id": "39661fb8-8599-42d2-a943-b7bd2f629383",
    "owner_id": "sample string 3",
    "organiser": "sample string 4",
    "title": "sample string 5",
    "appointment_type_id": "e7e77d81-6958-4ae8-9c83-d5fe283d3f02",
    "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-06-09T14:55:39.4505211+08:00",
    "start_timezone_id": "sample string 9",
    "end": "2026-06-09T14:55:39.4505211+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": "618b2ba7-25d2-4492-aef7-41a4fceee721"
  },
  "timesheet_entry_visible": true,
  "id": "0e64efb8-0d46-4ec8-8120-b7b5a6799ecd",
  "subscription_id": "979c6721-085b-4925-a472-20b566ddbe3c",
  "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">0e64efb8-0d46-4ec8-8120-b7b5a6799ecd</Id>
  <SubscriptionId xmlns="http://schemas.datacontract.org/2004/07/CompleteEmpireApp.Api.Models.Base">979c6721-085b-4925-a472-20b566ddbe3c</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>8236232c-94eb-4de7-948d-2ffcb3946ceb</AccountId>
  <AccountName>sample string 1</AccountName>
  <Appointment>
    <Id xmlns="http://schemas.datacontract.org/2004/07/CompleteEmpireApp.Api.Models.Base">618b2ba7-25d2-4492-aef7-41a4fceee721</Id>
    <AppointmentType>sample string 6</AppointmentType>
    <AppointmentTypeId>e7e77d81-6958-4ae8-9c83-d5fe283d3f02</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-06-09T14:55:39.4505211+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-06-09T14:55:39.4505211+08:00</Start>
    <StartTimeZoneId>sample string 9</StartTimeZoneId>
    <SubscriptionId>39661fb8-8599-42d2-a943-b7bd2f629383</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">642fb6fb-74d3-438d-b96e-f62bae56df35</Id>
    <SubscriptionId xmlns="http://schemas.datacontract.org/2004/07/CompleteEmpireApp.Api.Models.Base">2a9eb370-490c-4be3-ace5-c08e8320520d</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>471da76a-e65a-4515-962a-a304d5f961ac</ContactById>
    <ContactDate>2026-06-09T14:55:39.4505211+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>a3016596-0042-40a7-b1c9-d89c82d6620c</ContactLogStatusId>
  <ContactLogTypeId>2d7abd5e-8425-46c7-81f7-dc5a8a88fa49</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>7cf4afdb-c6c6-4ad1-b2e1-ba7d733da78e</NewAccountSourceId>
  <NewAccountSourceOrigin>sample string 10</NewAccountSourceOrigin>
  <NewAccountTypeId>095cfe4f-1346-44a4-af4d-0e8231076207</NewAccountTypeId>
  <Options>
    <AccountId>0e7999c0-3e56-4a8a-811d-fb5799c97f9a</AccountId>
    <CampaignRecipientId>5eab671a-7283-4f77-aac0-f5fc3abe8314</CampaignRecipientId>
    <ConsultingId>e64ecab6-4047-4e5e-9741-3b565d0022a8</ConsultingId>
    <ContactLogId>579539ac-3231-4c72-95a1-e956dbe69702</ContactLogId>
    <DevelopmentId>194f8cd3-1f38-421e-b283-3d26afa2caea</DevelopmentId>
    <DmsId>8530fe48-8bd2-41eb-a0c4-afed32fbb5ee</DmsId>
    <EventRegistrantId>63ebe6c4-714a-4df9-819b-2dfb504be44a</EventRegistrantId>
    <Files>sample string 1</Files>
    <FinanceId>20bda15a-38f0-4853-9918-ac8c4ba43c02</FinanceId>
    <FinancialPlanningId>0740306e-9830-43dd-9dde-3fbadcd00c36</FinancialPlanningId>
    <InvestmentId>52f05476-014c-40ad-959a-9d8afb753bd5</InvestmentId>
    <OpportunityId>f1e9655a-a703-4f33-9eb3-3742e3734920</OpportunityId>
    <ProductSaleId>776c8105-7ddf-4688-b620-d36c4a87a5af</ProductSaleId>
    <RentalManagementId>56ba72b5-41ae-4e2c-9a54-10d779fa1f67</RentalManagementId>
    <SaleId>61d79fca-3e08-41da-9de0-ee5a78f52bd6</SaleId>
    <SalePropertyId>b61c09cd-b9c7-4a87-9c51-6a2319c1ff1c</SalePropertyId>
    <TaxId>1007470b-2b7b-4693-9a70-41c4b2a43dd5</TaxId>
  </Options>
  <Subject>sample string 11</Subject>
  <SurveyId>93c535b2-04b1-48f2-b19f-5b772ce5c2b1</SurveyId>
  <SurveyResponse>
    <Id xmlns="http://schemas.datacontract.org/2004/07/CompleteEmpireApp.Api.Models.Base">d7fc9908-d9e4-4e6d-9217-3d832a051398</Id>
    <SubscriptionId xmlns="http://schemas.datacontract.org/2004/07/CompleteEmpireApp.Api.Models.Base">723c40c9-cceb-4974-b7a2-8e25dc7c280f</SubscriptionId>
    <Ts xmlns="http://schemas.datacontract.org/2004/07/CompleteEmpireApp.Api.Models.Base">QEA=</Ts>
    <Json>sample string 2</Json>
    <SurveyId>3b74c7b3-cc84-4af4-8f3b-4ec6d1c55a0b</SurveyId>
  </SurveyResponse>
  <SurveyResponseId>75f22930-582f-4a55-a46a-bb14b782f882</SurveyResponseId>
  <TimesheetEntry>
    <Id xmlns="http://schemas.datacontract.org/2004/07/CompleteEmpireApp.Api.Models.Base">4c0eb62d-07fc-40b1-b312-39b6eb88723c</Id>
    <End>2026-06-09T14:55:39.4505211+08:00</End>
    <Notes>sample string 14</Notes>
    <ReferenceNo>sample string 13</ReferenceNo>
    <Start>2026-06-09T14:55:39.4505211+08:00</Start>
    <Submitted>true</Submitted>
    <SubscriptionId>b79fea4c-6870-450d-8363-cf0e2744640d</SubscriptionId>
    <TimeZoneId>sample string 10</TimeZoneId>
    <TimesheetProjectId>80c4eec4-5284-4957-9c4d-fc9707a7a63a</TimesheetProjectId>
    <TimesheetProjectName>sample string 7</TimesheetProjectName>
    <TimesheetTaskId>2a7483e5-240e-421e-9a72-7d089863082d</TimesheetTaskId>
    <TimesheetTaskName>sample string 8</TimesheetTaskName>
    <Type>sample string 6</Type>
    <UserId>sample string 9</UserId>
    <Date>2026-06-09T14:55:39.4505211+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>c8585950-c0d3-4b58-9fbe-93ec3ccc8232</d2p1:guid>
    <d2p1:guid>a42ace56-ce47-427d-a703-6d1eacc7936d</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.