GET v1/Contacts/LastModifiedCreated?startDate={startDate}&endDate={endDate}&pageNumber={pageNumber}&pageSize={pageSize}

Get a paged list of contacts that were created or modified in a specified date range.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
startDate

date

None.

endDate

date

None.

pageNumber

integer

Default value is 1

pageSize

integer

Default value is 10

Body Parameters

None.

Response Information

Resource Description

PageOfOfContactSummaryDTO
NameDescriptionTypeAdditional information
Data

Collection of ContactSummaryDTO

None.

PageNumber

integer

None.

PagesTotal

integer

None.

TotalItems

integer

None.

IsSuccess

boolean

None.

ErrorCode

string

None.

ErrorMessage

string

None.

DisplayMessage

string

None.

Links

Collection of PageLink

None.

Href

string

None.

Response Formats

application/json, text/json

Sample:
{
  "Data": [
    {
      "isAPerson": true,
      "DateLastModified": "sample string 1",
      "CreatedOn": "sample string 2",
      "HasBeenModified": true,
      "EntityID": 1,
      "DisplayName": "sample string 3",
      "TypeDisplay": "sample string 4",
      "ContactSubTypeDisplay": "sample string 5",
      "AgentName": "sample string 6",
      "StatusDisplay": "sample string 7",
      "ContactTypeDisplay": "sample string 8",
      "PhoneType": "sample string 9",
      "PrimaryContact": "sample string 10",
      "CustomerNo": "sample string 11",
      "ContactSubType": "sample string 12",
      "FirstName": "sample string 13",
      "MiddleName": "sample string 14",
      "LastName": "sample string 15",
      "Phone": "sample string 16",
      "Email": "sample string 17",
      "Line1": "sample string 18",
      "Line2": "sample string 19",
      "City": "sample string 20",
      "State": "sample string 21",
      "County": "sample string 22",
      "Zip": "sample string 23",
      "Country": "sample string 24",
      "LocationID": 1,
      "Status": "sample string 25",
      "ContactType": "sample string 26",
      "BusinessName": "sample string 27"
    },
    {
      "isAPerson": true,
      "DateLastModified": "sample string 1",
      "CreatedOn": "sample string 2",
      "HasBeenModified": true,
      "EntityID": 1,
      "DisplayName": "sample string 3",
      "TypeDisplay": "sample string 4",
      "ContactSubTypeDisplay": "sample string 5",
      "AgentName": "sample string 6",
      "StatusDisplay": "sample string 7",
      "ContactTypeDisplay": "sample string 8",
      "PhoneType": "sample string 9",
      "PrimaryContact": "sample string 10",
      "CustomerNo": "sample string 11",
      "ContactSubType": "sample string 12",
      "FirstName": "sample string 13",
      "MiddleName": "sample string 14",
      "LastName": "sample string 15",
      "Phone": "sample string 16",
      "Email": "sample string 17",
      "Line1": "sample string 18",
      "Line2": "sample string 19",
      "City": "sample string 20",
      "State": "sample string 21",
      "County": "sample string 22",
      "Zip": "sample string 23",
      "Country": "sample string 24",
      "LocationID": 1,
      "Status": "sample string 25",
      "ContactType": "sample string 26",
      "BusinessName": "sample string 27"
    }
  ],
  "PageNumber": 1,
  "PagesTotal": 2,
  "TotalItems": 3,
  "IsSuccess": true,
  "ErrorCode": "sample string 5",
  "ErrorMessage": "sample string 6",
  "DisplayMessage": "sample string 7",
  "Links": [
    {
      "Rel": "sample string 1",
      "Href": "sample string 2"
    },
    {
      "Rel": "sample string 1",
      "Href": "sample string 2"
    }
  ],
  "Href": "sample string 8"
}

application/xml, text/xml

Sample:
<PageOfContactSummaryDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/QQSolutions.NextGen.ModelLibrary.DataTransferObjects">
  <Data xmlns:d2p1="http://schemas.datacontract.org/2004/07/QQSolutions.NextGen.ModelLibrary.DataTransferObjects.Contacts">
    <d2p1:ContactSummaryDTO>
      <d2p1:BusinessName>sample string 27</d2p1:BusinessName>
      <d2p1:City>sample string 20</d2p1:City>
      <d2p1:ContactSubType>sample string 12</d2p1:ContactSubType>
      <d2p1:ContactType>sample string 26</d2p1:ContactType>
      <d2p1:Country>sample string 24</d2p1:Country>
      <d2p1:County>sample string 22</d2p1:County>
      <d2p1:CustomerNo>sample string 11</d2p1:CustomerNo>
      <d2p1:Email>sample string 17</d2p1:Email>
      <d2p1:FirstName>sample string 13</d2p1:FirstName>
      <d2p1:LastName>sample string 15</d2p1:LastName>
      <d2p1:Line1>sample string 18</d2p1:Line1>
      <d2p1:Line2>sample string 19</d2p1:Line2>
      <d2p1:LocationID>1</d2p1:LocationID>
      <d2p1:MiddleName>sample string 14</d2p1:MiddleName>
      <d2p1:Phone>sample string 16</d2p1:Phone>
      <d2p1:State>sample string 21</d2p1:State>
      <d2p1:Status>sample string 25</d2p1:Status>
      <d2p1:Zip>sample string 23</d2p1:Zip>
      <d2p1:AgentName>sample string 6</d2p1:AgentName>
      <d2p1:ContactSubTypeDisplay>sample string 5</d2p1:ContactSubTypeDisplay>
      <d2p1:ContactTypeDisplay>sample string 8</d2p1:ContactTypeDisplay>
      <d2p1:DateLastModified>2017-06-27T17:32:07.4534449+00:00</d2p1:DateLastModified>
      <d2p1:DisplayName>sample string 3</d2p1:DisplayName>
      <d2p1:EntityID>1</d2p1:EntityID>
      <d2p1:PhoneType>sample string 9</d2p1:PhoneType>
      <d2p1:PrimaryContact>sample string 10</d2p1:PrimaryContact>
      <d2p1:StatusDisplay>sample string 7</d2p1:StatusDisplay>
      <d2p1:TypeDisplay>sample string 4</d2p1:TypeDisplay>
      <d2p1:CreatedOn>sample string 2</d2p1:CreatedOn>
      <d2p1:DateLastModified>sample string 1</d2p1:DateLastModified>
      <d2p1:HasBeenModified>true</d2p1:HasBeenModified>
      <d2p1:isAPerson>true</d2p1:isAPerson>
    </d2p1:ContactSummaryDTO>
    <d2p1:ContactSummaryDTO>
      <d2p1:BusinessName>sample string 27</d2p1:BusinessName>
      <d2p1:City>sample string 20</d2p1:City>
      <d2p1:ContactSubType>sample string 12</d2p1:ContactSubType>
      <d2p1:ContactType>sample string 26</d2p1:ContactType>
      <d2p1:Country>sample string 24</d2p1:Country>
      <d2p1:County>sample string 22</d2p1:County>
      <d2p1:CustomerNo>sample string 11</d2p1:CustomerNo>
      <d2p1:Email>sample string 17</d2p1:Email>
      <d2p1:FirstName>sample string 13</d2p1:FirstName>
      <d2p1:LastName>sample string 15</d2p1:LastName>
      <d2p1:Line1>sample string 18</d2p1:Line1>
      <d2p1:Line2>sample string 19</d2p1:Line2>
      <d2p1:LocationID>1</d2p1:LocationID>
      <d2p1:MiddleName>sample string 14</d2p1:MiddleName>
      <d2p1:Phone>sample string 16</d2p1:Phone>
      <d2p1:State>sample string 21</d2p1:State>
      <d2p1:Status>sample string 25</d2p1:Status>
      <d2p1:Zip>sample string 23</d2p1:Zip>
      <d2p1:AgentName>sample string 6</d2p1:AgentName>
      <d2p1:ContactSubTypeDisplay>sample string 5</d2p1:ContactSubTypeDisplay>
      <d2p1:ContactTypeDisplay>sample string 8</d2p1:ContactTypeDisplay>
      <d2p1:DateLastModified>2017-06-27T17:32:07.4534449+00:00</d2p1:DateLastModified>
      <d2p1:DisplayName>sample string 3</d2p1:DisplayName>
      <d2p1:EntityID>1</d2p1:EntityID>
      <d2p1:PhoneType>sample string 9</d2p1:PhoneType>
      <d2p1:PrimaryContact>sample string 10</d2p1:PrimaryContact>
      <d2p1:StatusDisplay>sample string 7</d2p1:StatusDisplay>
      <d2p1:TypeDisplay>sample string 4</d2p1:TypeDisplay>
      <d2p1:CreatedOn>sample string 2</d2p1:CreatedOn>
      <d2p1:DateLastModified>sample string 1</d2p1:DateLastModified>
      <d2p1:HasBeenModified>true</d2p1:HasBeenModified>
      <d2p1:isAPerson>true</d2p1:isAPerson>
    </d2p1:ContactSummaryDTO>
  </Data>
  <DisplayMessage>sample string 7</DisplayMessage>
  <ErrorCode>sample string 5</ErrorCode>
  <ErrorMessage>sample string 6</ErrorMessage>
  <Href>sample string 8</Href>
  <IsSuccess>true</IsSuccess>
  <Links>
    <PageLink>
      <Href>sample string 2</Href>
      <Rel>sample string 1</Rel>
    </PageLink>
    <PageLink>
      <Href>sample string 2</Href>
      <Rel>sample string 1</Rel>
    </PageLink>
  </Links>
  <PageNumber>1</PageNumber>
  <PagesTotal>2</PagesTotal>
  <TotalItems>3</TotalItems>
</PageOfContactSummaryDTO>