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": "2c0bab44-8fdc-44d4-be89-732c85e01deb",
    "contact_log_id": "5be4f372-3def-4056-92ca-d902cd7d02c0",
    "consulting_id": "05825f49-9469-4542-8729-07bda5260936",
    "finance_id": "8f3abc34-4dd2-483b-b75f-ac1ebc6d3b5f",
    "financial_planning_id": "4fce2a89-56cd-448c-883c-33699d4daaee",
    "investment_id": "0e27e1f0-c11c-46b1-b8cb-8a930298d391",
    "rental_management_id": "b3c2863c-31e4-48e5-81aa-9e8635e1515f",
    "sale_property_id": "38ff975a-fe0e-4f79-8221-8fd9bf18ac72",
    "sale_id": "f132f175-67a1-4612-9c24-d7fb048fb243",
    "product_sale_id": "90017e97-d010-4455-8f87-417511299dea",
    "tax_id": "cbe56dcc-598c-4eab-9670-b49324fc7cfd",
    "opportunity_id": "85668f3e-24f9-4d37-a8cd-0fc001af9067",
    "event_registrant_id": "fd8ef5cd-5791-4209-bc07-b7cbd205e081",
    "campaign_recipient_id": "7c2587b0-f983-47e0-aeff-eff2d813e563",
    "development_id": "da121b0b-127d-4042-ae5a-51afc8c0c4ce",
    "dms_id": "df54d086-607d-4bb2-8c39-7e7f14de436c",
    "files": "sample string 1"
  },
  "creation_type": "entry",
  "account_id": "5f2ca79d-1d11-4482-aee9-7d7908b178d5",
  "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": "3e7fc854-6e0c-4675-bb8d-e8238f647754",
  "new_account_email": "sample string 7",
  "new_account_mobile": "sample string 8",
  "new_account_country": "sample string 9",
  "new_account_source_id": "26e2b8a2-d5c2-4232-b4fb-6b7cfa0fb62d",
  "new_account_source_origin": "sample string 10",
  "contact_log_type_id": "cfd0637c-4ad2-4680-9f54-412c23712e49",
  "survey_id": "a7508335-891a-4446-b050-f4d5034907c6",
  "contact_log_status_id": "554a58a7-a3c5-4ad4-adfd-dd2ea39159c9",
  "subject": "sample string 11",
  "survey_response_id": "7a34daf2-467b-4b43-8c25-1d9a632c4963",
  "contact_ref_no_entry": true,
  "contact_ref_no": "sample string 13",
  "visibility": [
    "2842bcd6-c34d-4a98-8027-9ed7dc7c253a",
    "517737a3-7db5-42dc-a29e-627fb8df7517"
  ],
  "external_activity": true,
  "survey_response": {
    "survey_id": "21960a63-f7e2-4732-80df-03433f0483f1",
    "json": "sample string 2",
    "id": "ed6cd649-8d20-445d-b0b8-88e524f5d4cf",
    "subscription_id": "e7553657-a0a4-4118-a778-217f74a1c9cb",
    "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-12-06T15:19:52.107394+08:00",
    "contact_by_id": "168363ca-7b7a-46d0-ac7b-86aea82b38fa",
    "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": "bfdc4746-2980-4a55-a974-edadb050a4cc",
    "subscription_id": "e052a1c6-1dc5-49b7-8268-b228932afe98",
    "ts": "QEA="
  },
  "timesheet_entry_create": {
    "new_timesheet_entry_hidden": true,
    "new_timesheet_entry": true,
    "timesheet_project_fields_hidden": true,
    "time_period": 0,
    "date": "2026-12-06T15:19:52.107394+08:00",
    "duration": 4.1,
    "duration_fields_hidden": true,
    "subscription_id": "2b42cdee-0044-4877-80d8-01fbb7fca9e4",
    "type": "sample string 6",
    "timesheet_project_id": "b7857b02-c654-46e3-bc37-03f613be69b2",
    "timesheet_project_name": "sample string 7",
    "timesheet_task_id": "b0f10e2a-9f43-4c0c-a935-5e19b5cbcba8",
    "timesheet_task_name": "sample string 8",
    "user_id": "sample string 9",
    "user_account_id": "7d2bb291-464d-412c-b063-316571561d93",
    "timezone_id": "sample string 10",
    "start": "2026-12-06T15:19:52.107394+08:00",
    "end": "2026-12-06T15:19:52.107394+08:00",
    "reference_no": "sample string 13",
    "timesheet_entry_status_id": "ddb14089-9a80-4537-a0d1-985b4c62c1d1",
    "notes": "sample string 15",
    "submitted": true,
    "id": "6f48ad4a-a1ba-4033-b3c4-2273fbb66552"
  },
  "appointment_create": {
    "new_appointment_hidden": true,
    "new_appointment": true,
    "subscription_id": "5c673343-a58f-4e0d-bd9b-6be836960100",
    "owner_id": "sample string 3",
    "organiser": "sample string 4",
    "title": "sample string 5",
    "appointment_type_id": "675182bd-7bbe-4826-b6b7-6e37f87748c1",
    "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-12-06T15:19:52.107394+08:00",
    "start_timezone_id": "sample string 9",
    "end": "2026-12-06T15:19:52.107394+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": "76307355-c8a4-4e5a-bf2a-457830101147"
  },
  "timesheet_entry_visible": true,
  "id": "c96e71cd-ad64-4e82-854a-c35f7663bf9e",
  "subscription_id": "25d922a4-862e-4db3-b79d-12acd1bd2461",
  "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">c96e71cd-ad64-4e82-854a-c35f7663bf9e</Id>
  <SubscriptionId xmlns="http://schemas.datacontract.org/2004/07/CompleteEmpireApp.Api.Models.Base">25d922a4-862e-4db3-b79d-12acd1bd2461</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>5f2ca79d-1d11-4482-aee9-7d7908b178d5</AccountId>
  <AccountName>sample string 1</AccountName>
  <Appointment>
    <Id xmlns="http://schemas.datacontract.org/2004/07/CompleteEmpireApp.Api.Models.Base">76307355-c8a4-4e5a-bf2a-457830101147</Id>
    <AppointmentType>sample string 6</AppointmentType>
    <AppointmentTypeId>675182bd-7bbe-4826-b6b7-6e37f87748c1</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-12-06T15:19:52.107394+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-12-06T15:19:52.107394+08:00</Start>
    <StartTimeZoneId>sample string 9</StartTimeZoneId>
    <SubscriptionId>5c673343-a58f-4e0d-bd9b-6be836960100</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">bfdc4746-2980-4a55-a974-edadb050a4cc</Id>
    <SubscriptionId xmlns="http://schemas.datacontract.org/2004/07/CompleteEmpireApp.Api.Models.Base">e052a1c6-1dc5-49b7-8268-b228932afe98</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>168363ca-7b7a-46d0-ac7b-86aea82b38fa</ContactById>
    <ContactDate>2026-12-06T15:19:52.107394+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>554a58a7-a3c5-4ad4-adfd-dd2ea39159c9</ContactLogStatusId>
  <ContactLogTypeId>cfd0637c-4ad2-4680-9f54-412c23712e49</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>26e2b8a2-d5c2-4232-b4fb-6b7cfa0fb62d</NewAccountSourceId>
  <NewAccountSourceOrigin>sample string 10</NewAccountSourceOrigin>
  <NewAccountTypeId>3e7fc854-6e0c-4675-bb8d-e8238f647754</NewAccountTypeId>
  <Options>
    <AccountId>2c0bab44-8fdc-44d4-be89-732c85e01deb</AccountId>
    <CampaignRecipientId>7c2587b0-f983-47e0-aeff-eff2d813e563</CampaignRecipientId>
    <ConsultingId>05825f49-9469-4542-8729-07bda5260936</ConsultingId>
    <ContactLogId>5be4f372-3def-4056-92ca-d902cd7d02c0</ContactLogId>
    <DevelopmentId>da121b0b-127d-4042-ae5a-51afc8c0c4ce</DevelopmentId>
    <DmsId>df54d086-607d-4bb2-8c39-7e7f14de436c</DmsId>
    <EventRegistrantId>fd8ef5cd-5791-4209-bc07-b7cbd205e081</EventRegistrantId>
    <Files>sample string 1</Files>
    <FinanceId>8f3abc34-4dd2-483b-b75f-ac1ebc6d3b5f</FinanceId>
    <FinancialPlanningId>4fce2a89-56cd-448c-883c-33699d4daaee</FinancialPlanningId>
    <InvestmentId>0e27e1f0-c11c-46b1-b8cb-8a930298d391</InvestmentId>
    <OpportunityId>85668f3e-24f9-4d37-a8cd-0fc001af9067</OpportunityId>
    <ProductSaleId>90017e97-d010-4455-8f87-417511299dea</ProductSaleId>
    <RentalManagementId>b3c2863c-31e4-48e5-81aa-9e8635e1515f</RentalManagementId>
    <SaleId>f132f175-67a1-4612-9c24-d7fb048fb243</SaleId>
    <SalePropertyId>38ff975a-fe0e-4f79-8221-8fd9bf18ac72</SalePropertyId>
    <TaxId>cbe56dcc-598c-4eab-9670-b49324fc7cfd</TaxId>
  </Options>
  <Subject>sample string 11</Subject>
  <SurveyId>a7508335-891a-4446-b050-f4d5034907c6</SurveyId>
  <SurveyResponse>
    <Id xmlns="http://schemas.datacontract.org/2004/07/CompleteEmpireApp.Api.Models.Base">ed6cd649-8d20-445d-b0b8-88e524f5d4cf</Id>
    <SubscriptionId xmlns="http://schemas.datacontract.org/2004/07/CompleteEmpireApp.Api.Models.Base">e7553657-a0a4-4118-a778-217f74a1c9cb</SubscriptionId>
    <Ts xmlns="http://schemas.datacontract.org/2004/07/CompleteEmpireApp.Api.Models.Base">QEA=</Ts>
    <Json>sample string 2</Json>
    <SurveyId>21960a63-f7e2-4732-80df-03433f0483f1</SurveyId>
  </SurveyResponse>
  <SurveyResponseId>7a34daf2-467b-4b43-8c25-1d9a632c4963</SurveyResponseId>
  <TimesheetEntry>
    <Id xmlns="http://schemas.datacontract.org/2004/07/CompleteEmpireApp.Api.Models.Base">6f48ad4a-a1ba-4033-b3c4-2273fbb66552</Id>
    <End>2026-12-06T15:19:52.107394+08:00</End>
    <Notes>sample string 15</Notes>
    <ReferenceNo>sample string 13</ReferenceNo>
    <Start>2026-12-06T15:19:52.107394+08:00</Start>
    <Submitted>true</Submitted>
    <SubscriptionId>2b42cdee-0044-4877-80d8-01fbb7fca9e4</SubscriptionId>
    <TimeZoneId>sample string 10</TimeZoneId>
    <TimesheetEntryStatusId>ddb14089-9a80-4537-a0d1-985b4c62c1d1</TimesheetEntryStatusId>
    <TimesheetProjectId>b7857b02-c654-46e3-bc37-03f613be69b2</TimesheetProjectId>
    <TimesheetProjectName>sample string 7</TimesheetProjectName>
    <TimesheetTaskId>b0f10e2a-9f43-4c0c-a935-5e19b5cbcba8</TimesheetTaskId>
    <TimesheetTaskName>sample string 8</TimesheetTaskName>
    <Type>sample string 6</Type>
    <UserAccountId>7d2bb291-464d-412c-b063-316571561d93</UserAccountId>
    <UserId>sample string 9</UserId>
    <Date>2026-12-06T15:19:52.107394+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>2842bcd6-c34d-4a98-8027-9ed7dc7c253a</d2p1:guid>
    <d2p1:guid>517737a3-7db5-42dc-a29e-627fb8df7517</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.