POST api/contactlogs

Request Information

URI Parameters

None.

Body Parameters

ContactLogCreateModel
NameDescriptionTypeAdditional information
contact_log_options

ContactLogCreateOptionsModel

None.

creation_type

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.

survey_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": "595eb2b9-19ee-408b-b2d0-071f2912ec61",
    "contact_log_id": "e9c3b97b-9a12-40de-b94d-a928d3fe76c2",
    "consulting_id": "02f695a6-80ef-4397-a33d-771f37dfb2de",
    "finance_id": "cc5988f7-d850-4c3e-ba6e-1af06009e469",
    "financial_planning_id": "c4697426-eab5-4aa7-9dd4-6950e94f5f9a",
    "investment_id": "02a60479-28ee-4234-85a0-a4b14290636b",
    "rental_management_id": "b22c1970-3be5-4753-a354-ff8ca893a91f",
    "sale_property_id": "409cc6fe-05e9-49d0-ad77-35157503d1af",
    "sale_id": "ef7e6aea-1b95-4efb-8a00-259681a71a52",
    "product_sale_id": "8237bee5-3f11-4976-80f9-7d5d77d1b582",
    "tax_id": "fd954f49-b4ea-4d55-950c-54335ea96e6e",
    "opportunity_id": "2a5a31b9-1779-4cd5-9197-1548d2ea953b",
    "event_registrant_id": "01a4693f-9dfd-4a3c-a5ef-4f6d536f47f9",
    "campaign_recipient_id": "1a0f4f98-72ef-407d-8018-f85be723e710",
    "development_id": "e4197e59-ca50-43f5-bb9e-923ff73bec64",
    "dms_id": "8f570ed5-aca8-42b7-acf4-79ea795f4c08",
    "files": "sample string 1"
  },
  "creation_type": "entry",
  "account_id": "ccdc9d7c-8a17-498c-a8c8-911af04a9763",
  "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": "b2e476f0-d484-429f-bbd8-18346d11f931",
  "new_account_email": "sample string 7",
  "new_account_mobile": "sample string 8",
  "new_account_country": "sample string 9",
  "new_account_source_id": "9c3104c2-fb44-4802-b1ea-6331f44fe103",
  "new_account_source_origin": "sample string 10",
  "contact_log_type_id": "c1ebe420-2fa4-4e60-989a-51e4e63ba178",
  "survey_id": "4df7e1c6-d7b7-4339-a24b-824cb4d4fe40",
  "contact_log_status_id": "c1ad09ad-d24d-4f27-b7cd-26c88bfcaeb7",
  "subject": "sample string 11",
  "survey_response_id": "7da08538-9641-4502-88a8-a637bf44ad2c",
  "contact_ref_no_entry": true,
  "contact_ref_no": "sample string 13",
  "visibility": [
    "84dd03b1-0671-47b9-bfa6-40e6c5138ce4",
    "0bbc97e4-6b3d-49c6-b3a3-fd90ab5dff44"
  ],
  "external_activity": true,
  "survey_response": {
    "survey_id": "7a7352da-27e2-49da-b8ca-ad69218ecff7",
    "json": "sample string 2",
    "id": "320daec0-c392-4df2-ab14-f71e0bfaeeb2",
    "subscription_id": "6965197c-6b69-4138-aefd-ce31a44c2ec0",
    "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-10-08T19:16:47.8846916+08:00",
    "contact_by_id": "2f52023a-05f8-45a9-8ac2-37c649fe288a",
    "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": "fa83f5cf-e7f2-460b-8dbd-ff07341cbd9e",
    "subscription_id": "acc4a524-97b1-42a9-a4df-207f8fb69086",
    "ts": "QEA="
  },
  "timesheet_entry_create": {
    "new_timesheet_entry_hidden": true,
    "new_timesheet_entry": true,
    "timesheet_project_fields_hidden": true,
    "time_period": 0,
    "date": "2026-10-08T19:16:47.8846916+08:00",
    "duration": 4.1,
    "duration_fields_hidden": true,
    "subscription_id": "89cb2e70-d36c-48e0-affb-2f3f84c405ad",
    "type": "sample string 6",
    "timesheet_project_id": "7d37acef-b9d8-4a69-97be-41f0524f9f0d",
    "timesheet_project_name": "sample string 7",
    "timesheet_task_id": "21d2e06a-9022-4b18-bcfd-da110272de4d",
    "timesheet_task_name": "sample string 8",
    "user_id": "sample string 9",
    "user_account_id": "c283c49d-c0a2-4268-80f0-ac0ec1a4cdfe",
    "timezone_id": "sample string 10",
    "start": "2026-10-08T19:16:47.9003166+08:00",
    "end": "2026-10-08T19:16:47.9003166+08:00",
    "reference_no": "sample string 13",
    "timesheet_entry_status_id": "1c99c2e5-8d31-4680-8d27-dcf306e1c06d",
    "notes": "sample string 15",
    "submitted": true,
    "id": "c52d49c4-d99e-4abf-94dd-ab0b0822b892"
  },
  "appointment_create": {
    "new_appointment_hidden": true,
    "new_appointment": true,
    "subscription_id": "1f03db02-b04c-4424-b41b-4c38bcfb89f6",
    "owner_id": "sample string 3",
    "organiser": "sample string 4",
    "title": "sample string 5",
    "appointment_type_id": "f771e625-30c8-4ffd-9f4d-b81d43fca933",
    "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-10-08T19:16:47.9003166+08:00",
    "start_timezone_id": "sample string 9",
    "end": "2026-10-08T19:16:47.9003166+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": "c8b4ceca-9d84-4a31-b581-69b8fa7b0e28"
  },
  "timesheet_entry_visible": true,
  "id": "ddf2a6fb-faba-41fe-8b98-005d4c4c23c3",
  "subscription_id": "09776a4c-8d01-424b-8cde-92205120aaeb",
  "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">ddf2a6fb-faba-41fe-8b98-005d4c4c23c3</Id>
  <SubscriptionId xmlns="http://schemas.datacontract.org/2004/07/CompleteEmpireApp.Api.Models.Base">09776a4c-8d01-424b-8cde-92205120aaeb</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>ccdc9d7c-8a17-498c-a8c8-911af04a9763</AccountId>
  <AccountName>sample string 1</AccountName>
  <Appointment>
    <Id xmlns="http://schemas.datacontract.org/2004/07/CompleteEmpireApp.Api.Models.Base">c8b4ceca-9d84-4a31-b581-69b8fa7b0e28</Id>
    <AppointmentType>sample string 6</AppointmentType>
    <AppointmentTypeId>f771e625-30c8-4ffd-9f4d-b81d43fca933</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-10-08T19:16:47.9003166+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-10-08T19:16:47.9003166+08:00</Start>
    <StartTimeZoneId>sample string 9</StartTimeZoneId>
    <SubscriptionId>1f03db02-b04c-4424-b41b-4c38bcfb89f6</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">fa83f5cf-e7f2-460b-8dbd-ff07341cbd9e</Id>
    <SubscriptionId xmlns="http://schemas.datacontract.org/2004/07/CompleteEmpireApp.Api.Models.Base">acc4a524-97b1-42a9-a4df-207f8fb69086</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>2f52023a-05f8-45a9-8ac2-37c649fe288a</ContactById>
    <ContactDate>2026-10-08T19:16:47.8846916+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>c1ad09ad-d24d-4f27-b7cd-26c88bfcaeb7</ContactLogStatusId>
  <ContactLogTypeId>c1ebe420-2fa4-4e60-989a-51e4e63ba178</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>9c3104c2-fb44-4802-b1ea-6331f44fe103</NewAccountSourceId>
  <NewAccountSourceOrigin>sample string 10</NewAccountSourceOrigin>
  <NewAccountTypeId>b2e476f0-d484-429f-bbd8-18346d11f931</NewAccountTypeId>
  <Options>
    <AccountId>595eb2b9-19ee-408b-b2d0-071f2912ec61</AccountId>
    <CampaignRecipientId>1a0f4f98-72ef-407d-8018-f85be723e710</CampaignRecipientId>
    <ConsultingId>02f695a6-80ef-4397-a33d-771f37dfb2de</ConsultingId>
    <ContactLogId>e9c3b97b-9a12-40de-b94d-a928d3fe76c2</ContactLogId>
    <DevelopmentId>e4197e59-ca50-43f5-bb9e-923ff73bec64</DevelopmentId>
    <DmsId>8f570ed5-aca8-42b7-acf4-79ea795f4c08</DmsId>
    <EventRegistrantId>01a4693f-9dfd-4a3c-a5ef-4f6d536f47f9</EventRegistrantId>
    <Files>sample string 1</Files>
    <FinanceId>cc5988f7-d850-4c3e-ba6e-1af06009e469</FinanceId>
    <FinancialPlanningId>c4697426-eab5-4aa7-9dd4-6950e94f5f9a</FinancialPlanningId>
    <InvestmentId>02a60479-28ee-4234-85a0-a4b14290636b</InvestmentId>
    <OpportunityId>2a5a31b9-1779-4cd5-9197-1548d2ea953b</OpportunityId>
    <ProductSaleId>8237bee5-3f11-4976-80f9-7d5d77d1b582</ProductSaleId>
    <RentalManagementId>b22c1970-3be5-4753-a354-ff8ca893a91f</RentalManagementId>
    <SaleId>ef7e6aea-1b95-4efb-8a00-259681a71a52</SaleId>
    <SalePropertyId>409cc6fe-05e9-49d0-ad77-35157503d1af</SalePropertyId>
    <TaxId>fd954f49-b4ea-4d55-950c-54335ea96e6e</TaxId>
  </Options>
  <Subject>sample string 11</Subject>
  <SurveyId>4df7e1c6-d7b7-4339-a24b-824cb4d4fe40</SurveyId>
  <SurveyResponse>
    <Id xmlns="http://schemas.datacontract.org/2004/07/CompleteEmpireApp.Api.Models.Base">320daec0-c392-4df2-ab14-f71e0bfaeeb2</Id>
    <SubscriptionId xmlns="http://schemas.datacontract.org/2004/07/CompleteEmpireApp.Api.Models.Base">6965197c-6b69-4138-aefd-ce31a44c2ec0</SubscriptionId>
    <Ts xmlns="http://schemas.datacontract.org/2004/07/CompleteEmpireApp.Api.Models.Base">QEA=</Ts>
    <Json>sample string 2</Json>
    <SurveyId>7a7352da-27e2-49da-b8ca-ad69218ecff7</SurveyId>
  </SurveyResponse>
  <SurveyResponseId>7da08538-9641-4502-88a8-a637bf44ad2c</SurveyResponseId>
  <TimesheetEntry>
    <Id xmlns="http://schemas.datacontract.org/2004/07/CompleteEmpireApp.Api.Models.Base">c52d49c4-d99e-4abf-94dd-ab0b0822b892</Id>
    <End>2026-10-08T19:16:47.9003166+08:00</End>
    <Notes>sample string 15</Notes>
    <ReferenceNo>sample string 13</ReferenceNo>
    <Start>2026-10-08T19:16:47.9003166+08:00</Start>
    <Submitted>true</Submitted>
    <SubscriptionId>89cb2e70-d36c-48e0-affb-2f3f84c405ad</SubscriptionId>
    <TimeZoneId>sample string 10</TimeZoneId>
    <TimesheetEntryStatusId>1c99c2e5-8d31-4680-8d27-dcf306e1c06d</TimesheetEntryStatusId>
    <TimesheetProjectId>7d37acef-b9d8-4a69-97be-41f0524f9f0d</TimesheetProjectId>
    <TimesheetProjectName>sample string 7</TimesheetProjectName>
    <TimesheetTaskId>21d2e06a-9022-4b18-bcfd-da110272de4d</TimesheetTaskId>
    <TimesheetTaskName>sample string 8</TimesheetTaskName>
    <Type>sample string 6</Type>
    <UserAccountId>c283c49d-c0a2-4268-80f0-ac0ec1a4cdfe</UserAccountId>
    <UserId>sample string 9</UserId>
    <Date>2026-10-08T19:16:47.8846916+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>84dd03b1-0671-47b9-bfa6-40e6c5138ce4</d2p1:guid>
    <d2p1:guid>0bbc97e4-6b3d-49c6-b3a3-fd90ab5dff44</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.