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": "9a22cb99-9da3-45ec-8ffd-f54906472f66",
    "contact_log_id": "df783a67-c33a-4c23-b319-969d3aa84578",
    "consulting_id": "83a3fe7c-ded9-4e76-8220-3da9a1b3c245",
    "finance_id": "0a825a8b-cd34-4af2-8e77-6eb804b27811",
    "financial_planning_id": "390fd313-1a03-4d0f-80b7-ea79c1f42f86",
    "investment_id": "e0c16f33-7e36-4300-8c30-1eacb28a0fff",
    "rental_management_id": "31a1a1ed-4293-4847-bfb8-29f2e1ddd986",
    "sale_property_id": "a32c0c75-663f-4fc7-b247-8039db3aee7b",
    "sale_id": "2b6dd211-cd10-4f9e-a927-f3a4e87f386a",
    "product_sale_id": "cdfb6d63-85b7-4298-ae38-f28d5f2249ed",
    "tax_id": "1793aea4-5d09-4733-bd43-58148ef1a495",
    "opportunity_id": "dfc613de-f663-4e32-a730-ed9e682ef4d7",
    "event_registrant_id": "e2f02c22-653c-4d79-a3da-684a8143abfa",
    "campaign_recipient_id": "ba33042a-042a-4351-9a04-f8807b3de373",
    "development_id": "125fe9fe-0389-4e87-95a9-bc5a69aeb2d4",
    "dms_id": "406ea83b-6cea-410b-9bb6-0f2beca102db",
    "files": "sample string 1"
  },
  "creation_type": "entry",
  "account_id": "739bf1f5-ceb0-43d0-8a5c-23216178a46e",
  "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": "dbba6363-54ff-448e-9418-eba2eb7562bf",
  "new_account_email": "sample string 7",
  "new_account_mobile": "sample string 8",
  "new_account_country": "sample string 9",
  "new_account_source_id": "e46cbee2-298e-4b61-943b-0c0f6294e67e",
  "new_account_source_origin": "sample string 10",
  "contact_log_type_id": "ed101746-c2c2-4cf9-9521-1ff939d4dfbb",
  "survey_id": "44573242-3862-452d-bb5b-188b8bc18947",
  "contact_log_status_id": "810f0374-6b21-4ec0-aed8-cd6cd4852bcf",
  "subject": "sample string 11",
  "survey_response_id": "c0336fad-89f0-4666-a4a2-b29d53f6efbc",
  "contact_ref_no_entry": true,
  "contact_ref_no": "sample string 13",
  "visibility": [
    "6ba4a063-8741-48dd-95ac-5d868282353e",
    "3f485947-e382-411b-a10d-e6ddc4c6aa32"
  ],
  "external_activity": true,
  "survey_response": {
    "survey_id": "25ac084c-7fa7-4d27-8f5c-2553f1c52fde",
    "json": "sample string 2",
    "id": "6b9af43d-23c6-470a-8328-eba5105e909e",
    "subscription_id": "342a95f6-aa20-4642-bab5-b8a085001c04",
    "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-11-27T08:07:11.2148043+08:00",
    "contact_by_id": "2f4650be-b065-4b29-a972-dc0b00514ba4",
    "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": "21a4f5dd-23f2-4a19-b946-e00f1625b83a",
    "subscription_id": "e5e005c6-02a5-4cb1-8478-33473efaca9b",
    "ts": "QEA="
  },
  "timesheet_entry_create": {
    "new_timesheet_entry_hidden": true,
    "new_timesheet_entry": true,
    "timesheet_project_fields_hidden": true,
    "time_period": 0,
    "date": "2026-11-27T08:07:11.2148043+08:00",
    "duration": 4.1,
    "duration_fields_hidden": true,
    "subscription_id": "e2ef5260-eb9b-4a03-bb07-518021356ec0",
    "type": "sample string 6",
    "timesheet_project_id": "3ce6716f-246e-4587-8f77-d5161421538f",
    "timesheet_project_name": "sample string 7",
    "timesheet_task_id": "70c513da-3009-4465-8551-3fb26044b70f",
    "timesheet_task_name": "sample string 8",
    "user_id": "sample string 9",
    "user_account_id": "c939cb27-67d8-4eda-a869-6d1f9462d9aa",
    "timezone_id": "sample string 10",
    "start": "2026-11-27T08:07:11.2148043+08:00",
    "end": "2026-11-27T08:07:11.2148043+08:00",
    "reference_no": "sample string 13",
    "timesheet_entry_status_id": "cf416fc2-e9e0-4578-bb9f-ad6584a26c1c",
    "notes": "sample string 15",
    "submitted": true,
    "id": "f391fd73-62af-4038-a70c-1c98c0728b95"
  },
  "appointment_create": {
    "new_appointment_hidden": true,
    "new_appointment": true,
    "subscription_id": "229992c4-fa43-4a10-a6e7-f5776ed9baad",
    "owner_id": "sample string 3",
    "organiser": "sample string 4",
    "title": "sample string 5",
    "appointment_type_id": "e56e0cb2-8ecb-471a-b5fb-87dfaaaee74d",
    "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-11-27T08:07:11.2148043+08:00",
    "start_timezone_id": "sample string 9",
    "end": "2026-11-27T08:07:11.2148043+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": "e1eb129f-c5f0-4546-b926-08cc3961c4b1"
  },
  "timesheet_entry_visible": true,
  "id": "d95b1f95-d4fb-4037-8660-9ae8588f97e0",
  "subscription_id": "8ead8715-2c73-4567-b2a8-86ffc02a1625",
  "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">d95b1f95-d4fb-4037-8660-9ae8588f97e0</Id>
  <SubscriptionId xmlns="http://schemas.datacontract.org/2004/07/CompleteEmpireApp.Api.Models.Base">8ead8715-2c73-4567-b2a8-86ffc02a1625</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>739bf1f5-ceb0-43d0-8a5c-23216178a46e</AccountId>
  <AccountName>sample string 1</AccountName>
  <Appointment>
    <Id xmlns="http://schemas.datacontract.org/2004/07/CompleteEmpireApp.Api.Models.Base">e1eb129f-c5f0-4546-b926-08cc3961c4b1</Id>
    <AppointmentType>sample string 6</AppointmentType>
    <AppointmentTypeId>e56e0cb2-8ecb-471a-b5fb-87dfaaaee74d</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-11-27T08:07:11.2148043+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-11-27T08:07:11.2148043+08:00</Start>
    <StartTimeZoneId>sample string 9</StartTimeZoneId>
    <SubscriptionId>229992c4-fa43-4a10-a6e7-f5776ed9baad</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">21a4f5dd-23f2-4a19-b946-e00f1625b83a</Id>
    <SubscriptionId xmlns="http://schemas.datacontract.org/2004/07/CompleteEmpireApp.Api.Models.Base">e5e005c6-02a5-4cb1-8478-33473efaca9b</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>2f4650be-b065-4b29-a972-dc0b00514ba4</ContactById>
    <ContactDate>2026-11-27T08:07:11.2148043+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>810f0374-6b21-4ec0-aed8-cd6cd4852bcf</ContactLogStatusId>
  <ContactLogTypeId>ed101746-c2c2-4cf9-9521-1ff939d4dfbb</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>e46cbee2-298e-4b61-943b-0c0f6294e67e</NewAccountSourceId>
  <NewAccountSourceOrigin>sample string 10</NewAccountSourceOrigin>
  <NewAccountTypeId>dbba6363-54ff-448e-9418-eba2eb7562bf</NewAccountTypeId>
  <Options>
    <AccountId>9a22cb99-9da3-45ec-8ffd-f54906472f66</AccountId>
    <CampaignRecipientId>ba33042a-042a-4351-9a04-f8807b3de373</CampaignRecipientId>
    <ConsultingId>83a3fe7c-ded9-4e76-8220-3da9a1b3c245</ConsultingId>
    <ContactLogId>df783a67-c33a-4c23-b319-969d3aa84578</ContactLogId>
    <DevelopmentId>125fe9fe-0389-4e87-95a9-bc5a69aeb2d4</DevelopmentId>
    <DmsId>406ea83b-6cea-410b-9bb6-0f2beca102db</DmsId>
    <EventRegistrantId>e2f02c22-653c-4d79-a3da-684a8143abfa</EventRegistrantId>
    <Files>sample string 1</Files>
    <FinanceId>0a825a8b-cd34-4af2-8e77-6eb804b27811</FinanceId>
    <FinancialPlanningId>390fd313-1a03-4d0f-80b7-ea79c1f42f86</FinancialPlanningId>
    <InvestmentId>e0c16f33-7e36-4300-8c30-1eacb28a0fff</InvestmentId>
    <OpportunityId>dfc613de-f663-4e32-a730-ed9e682ef4d7</OpportunityId>
    <ProductSaleId>cdfb6d63-85b7-4298-ae38-f28d5f2249ed</ProductSaleId>
    <RentalManagementId>31a1a1ed-4293-4847-bfb8-29f2e1ddd986</RentalManagementId>
    <SaleId>2b6dd211-cd10-4f9e-a927-f3a4e87f386a</SaleId>
    <SalePropertyId>a32c0c75-663f-4fc7-b247-8039db3aee7b</SalePropertyId>
    <TaxId>1793aea4-5d09-4733-bd43-58148ef1a495</TaxId>
  </Options>
  <Subject>sample string 11</Subject>
  <SurveyId>44573242-3862-452d-bb5b-188b8bc18947</SurveyId>
  <SurveyResponse>
    <Id xmlns="http://schemas.datacontract.org/2004/07/CompleteEmpireApp.Api.Models.Base">6b9af43d-23c6-470a-8328-eba5105e909e</Id>
    <SubscriptionId xmlns="http://schemas.datacontract.org/2004/07/CompleteEmpireApp.Api.Models.Base">342a95f6-aa20-4642-bab5-b8a085001c04</SubscriptionId>
    <Ts xmlns="http://schemas.datacontract.org/2004/07/CompleteEmpireApp.Api.Models.Base">QEA=</Ts>
    <Json>sample string 2</Json>
    <SurveyId>25ac084c-7fa7-4d27-8f5c-2553f1c52fde</SurveyId>
  </SurveyResponse>
  <SurveyResponseId>c0336fad-89f0-4666-a4a2-b29d53f6efbc</SurveyResponseId>
  <TimesheetEntry>
    <Id xmlns="http://schemas.datacontract.org/2004/07/CompleteEmpireApp.Api.Models.Base">f391fd73-62af-4038-a70c-1c98c0728b95</Id>
    <End>2026-11-27T08:07:11.2148043+08:00</End>
    <Notes>sample string 15</Notes>
    <ReferenceNo>sample string 13</ReferenceNo>
    <Start>2026-11-27T08:07:11.2148043+08:00</Start>
    <Submitted>true</Submitted>
    <SubscriptionId>e2ef5260-eb9b-4a03-bb07-518021356ec0</SubscriptionId>
    <TimeZoneId>sample string 10</TimeZoneId>
    <TimesheetEntryStatusId>cf416fc2-e9e0-4578-bb9f-ad6584a26c1c</TimesheetEntryStatusId>
    <TimesheetProjectId>3ce6716f-246e-4587-8f77-d5161421538f</TimesheetProjectId>
    <TimesheetProjectName>sample string 7</TimesheetProjectName>
    <TimesheetTaskId>70c513da-3009-4465-8551-3fb26044b70f</TimesheetTaskId>
    <TimesheetTaskName>sample string 8</TimesheetTaskName>
    <Type>sample string 6</Type>
    <UserAccountId>c939cb27-67d8-4eda-a869-6d1f9462d9aa</UserAccountId>
    <UserId>sample string 9</UserId>
    <Date>2026-11-27T08:07:11.2148043+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>6ba4a063-8741-48dd-95ac-5d868282353e</d2p1:guid>
    <d2p1:guid>3f485947-e382-411b-a10d-e6ddc4c6aa32</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.