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": "13d20a39-49f8-41fe-9838-46a631f99d14",
      "account_id": "e1222601-3b4f-4166-9c5c-352193324549",
      "contact_date": "2026-11-27T08:07:10.5929744+08:00",
      "contact_by": "sample string 4",
      "contact_by_thumbnail_url": "sample string 5",
      "contact_method": "sample string 6",
      "contact_duration": 7,
      "message_id": "2d1c5500-ab35-476d-bed9-834469425263",
      "sender_display_name": "sample string 8",
      "sent_items": true,
      "notes": "sample string 10",
      "survey_id": "6f9a86d0-aebc-4d09-a0eb-1f06935b35aa",
      "survey_response_id": "b9c5fda4-2cb0-4eca-9d82-b14753c4e916",
      "favourite": true,
      "appointments": [
        {
          "start_date_utc": "2026-11-27T08:07:10.5929744+08:00",
          "start_date": "2026-11-27T08:07:10.5929744+08:00",
          "id": "a32666b9-026c-4e55-980e-b6e5d0ee0c6a"
        },
        {
          "start_date_utc": "2026-11-27T08:07:10.5929744+08:00",
          "start_date": "2026-11-27T08:07:10.5929744+08:00",
          "id": "a32666b9-026c-4e55-980e-b6e5d0ee0c6a"
        }
      ],
      "id": "e76f92fd-a42d-425a-9c1d-98009302cd81"
    },
    {
      "contact_log_id": "13d20a39-49f8-41fe-9838-46a631f99d14",
      "account_id": "e1222601-3b4f-4166-9c5c-352193324549",
      "contact_date": "2026-11-27T08:07:10.5929744+08:00",
      "contact_by": "sample string 4",
      "contact_by_thumbnail_url": "sample string 5",
      "contact_method": "sample string 6",
      "contact_duration": 7,
      "message_id": "2d1c5500-ab35-476d-bed9-834469425263",
      "sender_display_name": "sample string 8",
      "sent_items": true,
      "notes": "sample string 10",
      "survey_id": "6f9a86d0-aebc-4d09-a0eb-1f06935b35aa",
      "survey_response_id": "b9c5fda4-2cb0-4eca-9d82-b14753c4e916",
      "favourite": true,
      "appointments": [
        {
          "start_date_utc": "2026-11-27T08:07:10.5929744+08:00",
          "start_date": "2026-11-27T08:07:10.5929744+08:00",
          "id": "a32666b9-026c-4e55-980e-b6e5d0ee0c6a"
        },
        {
          "start_date_utc": "2026-11-27T08:07:10.5929744+08:00",
          "start_date": "2026-11-27T08:07:10.5929744+08:00",
          "id": "a32666b9-026c-4e55-980e-b6e5d0ee0c6a"
        }
      ],
      "id": "e76f92fd-a42d-425a-9c1d-98009302cd81"
    }
  ],
  "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">e76f92fd-a42d-425a-9c1d-98009302cd81</Id>
      <d2p1:AccountId>e1222601-3b4f-4166-9c5c-352193324549</d2p1:AccountId>
      <d2p1:Appointments>
        <d2p1:AppointmentLinkedListModel>
          <Id xmlns="http://schemas.datacontract.org/2004/07/CompleteEmpireApp.Api.Models.Base">a32666b9-026c-4e55-980e-b6e5d0ee0c6a</Id>
          <d2p1:StartDate>2026-11-27T08:07:10.5929744+08:00</d2p1:StartDate>
          <d2p1:StartDateUtc>2026-11-27T08:07:10.5929744+08:00</d2p1:StartDateUtc>
        </d2p1:AppointmentLinkedListModel>
        <d2p1:AppointmentLinkedListModel>
          <Id xmlns="http://schemas.datacontract.org/2004/07/CompleteEmpireApp.Api.Models.Base">a32666b9-026c-4e55-980e-b6e5d0ee0c6a</Id>
          <d2p1:StartDate>2026-11-27T08:07:10.5929744+08:00</d2p1:StartDate>
          <d2p1:StartDateUtc>2026-11-27T08:07:10.5929744+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-11-27T08:07:10.5929744+08:00</d2p1:ContactDate>
      <d2p1:ContactDuration>7</d2p1:ContactDuration>
      <d2p1:ContactLogId>13d20a39-49f8-41fe-9838-46a631f99d14</d2p1:ContactLogId>
      <d2p1:ContactMethod>sample string 6</d2p1:ContactMethod>
      <d2p1:Favourite>true</d2p1:Favourite>
      <d2p1:MessageId>2d1c5500-ab35-476d-bed9-834469425263</d2p1:MessageId>
      <d2p1:Notes>sample string 10</d2p1:Notes>
      <d2p1:SenderDisplayName>sample string 8</d2p1:SenderDisplayName>
      <d2p1:SentItems>true</d2p1:SentItems>
      <d2p1:SurveyId>6f9a86d0-aebc-4d09-a0eb-1f06935b35aa</d2p1:SurveyId>
      <d2p1:SurveyResponseId>b9c5fda4-2cb0-4eca-9d82-b14753c4e916</d2p1:SurveyResponseId>
    </d2p1:ContactLogEntryItemModel>
    <d2p1:ContactLogEntryItemModel>
      <Id xmlns="http://schemas.datacontract.org/2004/07/CompleteEmpireApp.Api.Models.Base">e76f92fd-a42d-425a-9c1d-98009302cd81</Id>
      <d2p1:AccountId>e1222601-3b4f-4166-9c5c-352193324549</d2p1:AccountId>
      <d2p1:Appointments>
        <d2p1:AppointmentLinkedListModel>
          <Id xmlns="http://schemas.datacontract.org/2004/07/CompleteEmpireApp.Api.Models.Base">a32666b9-026c-4e55-980e-b6e5d0ee0c6a</Id>
          <d2p1:StartDate>2026-11-27T08:07:10.5929744+08:00</d2p1:StartDate>
          <d2p1:StartDateUtc>2026-11-27T08:07:10.5929744+08:00</d2p1:StartDateUtc>
        </d2p1:AppointmentLinkedListModel>
        <d2p1:AppointmentLinkedListModel>
          <Id xmlns="http://schemas.datacontract.org/2004/07/CompleteEmpireApp.Api.Models.Base">a32666b9-026c-4e55-980e-b6e5d0ee0c6a</Id>
          <d2p1:StartDate>2026-11-27T08:07:10.5929744+08:00</d2p1:StartDate>
          <d2p1:StartDateUtc>2026-11-27T08:07:10.5929744+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-11-27T08:07:10.5929744+08:00</d2p1:ContactDate>
      <d2p1:ContactDuration>7</d2p1:ContactDuration>
      <d2p1:ContactLogId>13d20a39-49f8-41fe-9838-46a631f99d14</d2p1:ContactLogId>
      <d2p1:ContactMethod>sample string 6</d2p1:ContactMethod>
      <d2p1:Favourite>true</d2p1:Favourite>
      <d2p1:MessageId>2d1c5500-ab35-476d-bed9-834469425263</d2p1:MessageId>
      <d2p1:Notes>sample string 10</d2p1:Notes>
      <d2p1:SenderDisplayName>sample string 8</d2p1:SenderDisplayName>
      <d2p1:SentItems>true</d2p1:SentItems>
      <d2p1:SurveyId>6f9a86d0-aebc-4d09-a0eb-1f06935b35aa</d2p1:SurveyId>
      <d2p1:SurveyResponseId>b9c5fda4-2cb0-4eca-9d82-b14753c4e916</d2p1:SurveyResponseId>
    </d2p1:ContactLogEntryItemModel>
  </Data>
  <Total>1</Total>
</DataSourceResultOfContactLogEntryItemModelihvqq9wh>