POST api/contactlogentries/list?contactLogId={contactLogId}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
contactLogId

globally unique identifier

Required

Body Parameters

DataSourceRequest
NameDescriptionTypeAdditional information
page

integer

None.

page_size

integer

None.

skip

integer

None.

take

integer

None.

sorts

Collection of SortDescriptor

None.

filters

Collection of IFilterDescriptor

None.

Request Formats

application/json, text/json

Sample:
{
  "page": 1,
  "page_size": 2,
  "skip": 3,
  "take": 4,
  "sorts": [
    {
      "member": "sample string 1",
      "sort_direction": 0
    },
    {
      "member": "sample string 1",
      "sort_direction": 0
    }
  ],
  "filters": null
}

application/xml, text/xml

Sample:
<DataSourceRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CompleteEmpireApp.Api.Infrastructure.DataSource">
  <Filters xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" i:nil="true" />
  <Page>1</Page>
  <PageSize>2</PageSize>
  <Skip>3</Skip>
  <Sorts>
    <SortDescriptor>
      <Member>sample string 1</Member>
      <SortDirection>Ascending</SortDirection>
    </SortDescriptor>
    <SortDescriptor>
      <Member>sample string 1</Member>
      <SortDirection>Ascending</SortDirection>
    </SortDescriptor>
  </Sorts>
  <Take>4</Take>
</DataSourceRequest>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

DataSourceResultOfContactLogEntryItemModel
NameDescriptionTypeAdditional information
data

Collection of ContactLogEntryItemModel

None.

total

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "data": [
    {
      "contact_log_id": "23b3a535-737a-4d79-a3f7-4cbf9239ad16",
      "account_id": "b610e342-04e9-4765-85de-010d9fa2e961",
      "contact_date": "2026-08-08T15:01:17.6296342+08:00",
      "contact_by": "sample string 4",
      "contact_by_thumbnail_url": "sample string 5",
      "contact_method": "sample string 6",
      "contact_duration": 7,
      "message_id": "ccad0722-c35c-4df9-a1f8-beae11d5d850",
      "sender_display_name": "sample string 8",
      "sent_items": true,
      "notes": "sample string 10",
      "survey_id": "712e3bf2-274d-478e-b34b-ac9d4d32fa04",
      "survey_response_id": "8b156d7d-cebd-463c-b3c3-23be35a2f564",
      "favourite": true,
      "appointments": [
        {
          "start_date_utc": "2026-08-08T15:01:17.6296342+08:00",
          "start_date": "2026-08-08T15:01:17.6296342+08:00",
          "id": "19db104e-2cf8-4360-884a-f6d14a1a9d86"
        },
        {
          "start_date_utc": "2026-08-08T15:01:17.6296342+08:00",
          "start_date": "2026-08-08T15:01:17.6296342+08:00",
          "id": "19db104e-2cf8-4360-884a-f6d14a1a9d86"
        }
      ],
      "id": "f3f3f111-1434-464c-9c7b-8ad1a68b2210"
    },
    {
      "contact_log_id": "23b3a535-737a-4d79-a3f7-4cbf9239ad16",
      "account_id": "b610e342-04e9-4765-85de-010d9fa2e961",
      "contact_date": "2026-08-08T15:01:17.6296342+08:00",
      "contact_by": "sample string 4",
      "contact_by_thumbnail_url": "sample string 5",
      "contact_method": "sample string 6",
      "contact_duration": 7,
      "message_id": "ccad0722-c35c-4df9-a1f8-beae11d5d850",
      "sender_display_name": "sample string 8",
      "sent_items": true,
      "notes": "sample string 10",
      "survey_id": "712e3bf2-274d-478e-b34b-ac9d4d32fa04",
      "survey_response_id": "8b156d7d-cebd-463c-b3c3-23be35a2f564",
      "favourite": true,
      "appointments": [
        {
          "start_date_utc": "2026-08-08T15:01:17.6296342+08:00",
          "start_date": "2026-08-08T15:01:17.6296342+08:00",
          "id": "19db104e-2cf8-4360-884a-f6d14a1a9d86"
        },
        {
          "start_date_utc": "2026-08-08T15:01:17.6296342+08:00",
          "start_date": "2026-08-08T15:01:17.6296342+08:00",
          "id": "19db104e-2cf8-4360-884a-f6d14a1a9d86"
        }
      ],
      "id": "f3f3f111-1434-464c-9c7b-8ad1a68b2210"
    }
  ],
  "total": 1
}

application/xml, text/xml

Sample:
<DataSourceResultOfContactLogEntryItemModelihvqq9wh xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CompleteEmpireApp.Api.Infrastructure.DataSource">
  <Data xmlns:d2p1="http://schemas.datacontract.org/2004/07/CompleteEmpireApp.Api.Models">
    <d2p1:ContactLogEntryItemModel>
      <Id xmlns="http://schemas.datacontract.org/2004/07/CompleteEmpireApp.Api.Models.Base">f3f3f111-1434-464c-9c7b-8ad1a68b2210</Id>
      <d2p1:AccountId>b610e342-04e9-4765-85de-010d9fa2e961</d2p1:AccountId>
      <d2p1:Appointments>
        <d2p1:AppointmentLinkedListModel>
          <Id xmlns="http://schemas.datacontract.org/2004/07/CompleteEmpireApp.Api.Models.Base">19db104e-2cf8-4360-884a-f6d14a1a9d86</Id>
          <d2p1:StartDate>2026-08-08T15:01:17.6296342+08:00</d2p1:StartDate>
          <d2p1:StartDateUtc>2026-08-08T15:01:17.6296342+08:00</d2p1:StartDateUtc>
        </d2p1:AppointmentLinkedListModel>
        <d2p1:AppointmentLinkedListModel>
          <Id xmlns="http://schemas.datacontract.org/2004/07/CompleteEmpireApp.Api.Models.Base">19db104e-2cf8-4360-884a-f6d14a1a9d86</Id>
          <d2p1:StartDate>2026-08-08T15:01:17.6296342+08:00</d2p1:StartDate>
          <d2p1:StartDateUtc>2026-08-08T15:01:17.6296342+08:00</d2p1:StartDateUtc>
        </d2p1:AppointmentLinkedListModel>
      </d2p1:Appointments>
      <d2p1:ContactBy>sample string 4</d2p1:ContactBy>
      <d2p1:ContactByThumbnailUrl>sample string 5</d2p1:ContactByThumbnailUrl>
      <d2p1:ContactDate>2026-08-08T15:01:17.6296342+08:00</d2p1:ContactDate>
      <d2p1:ContactDuration>7</d2p1:ContactDuration>
      <d2p1:ContactLogId>23b3a535-737a-4d79-a3f7-4cbf9239ad16</d2p1:ContactLogId>
      <d2p1:ContactMethod>sample string 6</d2p1:ContactMethod>
      <d2p1:Favourite>true</d2p1:Favourite>
      <d2p1:MessageId>ccad0722-c35c-4df9-a1f8-beae11d5d850</d2p1:MessageId>
      <d2p1:Notes>sample string 10</d2p1:Notes>
      <d2p1:SenderDisplayName>sample string 8</d2p1:SenderDisplayName>
      <d2p1:SentItems>true</d2p1:SentItems>
      <d2p1:SurveyId>712e3bf2-274d-478e-b34b-ac9d4d32fa04</d2p1:SurveyId>
      <d2p1:SurveyResponseId>8b156d7d-cebd-463c-b3c3-23be35a2f564</d2p1:SurveyResponseId>
    </d2p1:ContactLogEntryItemModel>
    <d2p1:ContactLogEntryItemModel>
      <Id xmlns="http://schemas.datacontract.org/2004/07/CompleteEmpireApp.Api.Models.Base">f3f3f111-1434-464c-9c7b-8ad1a68b2210</Id>
      <d2p1:AccountId>b610e342-04e9-4765-85de-010d9fa2e961</d2p1:AccountId>
      <d2p1:Appointments>
        <d2p1:AppointmentLinkedListModel>
          <Id xmlns="http://schemas.datacontract.org/2004/07/CompleteEmpireApp.Api.Models.Base">19db104e-2cf8-4360-884a-f6d14a1a9d86</Id>
          <d2p1:StartDate>2026-08-08T15:01:17.6296342+08:00</d2p1:StartDate>
          <d2p1:StartDateUtc>2026-08-08T15:01:17.6296342+08:00</d2p1:StartDateUtc>
        </d2p1:AppointmentLinkedListModel>
        <d2p1:AppointmentLinkedListModel>
          <Id xmlns="http://schemas.datacontract.org/2004/07/CompleteEmpireApp.Api.Models.Base">19db104e-2cf8-4360-884a-f6d14a1a9d86</Id>
          <d2p1:StartDate>2026-08-08T15:01:17.6296342+08:00</d2p1:StartDate>
          <d2p1:StartDateUtc>2026-08-08T15:01:17.6296342+08:00</d2p1:StartDateUtc>
        </d2p1:AppointmentLinkedListModel>
      </d2p1:Appointments>
      <d2p1:ContactBy>sample string 4</d2p1:ContactBy>
      <d2p1:ContactByThumbnailUrl>sample string 5</d2p1:ContactByThumbnailUrl>
      <d2p1:ContactDate>2026-08-08T15:01:17.6296342+08:00</d2p1:ContactDate>
      <d2p1:ContactDuration>7</d2p1:ContactDuration>
      <d2p1:ContactLogId>23b3a535-737a-4d79-a3f7-4cbf9239ad16</d2p1:ContactLogId>
      <d2p1:ContactMethod>sample string 6</d2p1:ContactMethod>
      <d2p1:Favourite>true</d2p1:Favourite>
      <d2p1:MessageId>ccad0722-c35c-4df9-a1f8-beae11d5d850</d2p1:MessageId>
      <d2p1:Notes>sample string 10</d2p1:Notes>
      <d2p1:SenderDisplayName>sample string 8</d2p1:SenderDisplayName>
      <d2p1:SentItems>true</d2p1:SentItems>
      <d2p1:SurveyId>712e3bf2-274d-478e-b34b-ac9d4d32fa04</d2p1:SurveyId>
      <d2p1:SurveyResponseId>8b156d7d-cebd-463c-b3c3-23be35a2f564</d2p1:SurveyResponseId>
    </d2p1:ContactLogEntryItemModel>
  </Data>
  <Total>1</Total>
</DataSourceResultOfContactLogEntryItemModelihvqq9wh>