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

Get a list of modified policies given a date range with paging

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

PageOfOfPolicySummaryDTO
NameDescriptionTypeAdditional information
Data

Collection of PolicySummaryDTO

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": [
    {
      "CreatedOn": "sample string 1",
      "DateLastModified": "sample string 2",
      "HasBeenModified": true,
      "Term": "sample string 3",
      "PolicyType": "sample string 4",
      "PackageType": "sample string 5",
      "IsDeleted": true,
      "LOBList": [
        {
          "AcordCode": "sample string 1",
          "InternalCode": "sample string 2",
          "HasDetails": true,
          "IsPackage": true,
          "LOBDetailsGroup": "sample string 5",
          "ID": 6,
          "Name": "sample string 7",
          "Code": "sample string 8"
        },
        {
          "AcordCode": "sample string 1",
          "InternalCode": "sample string 2",
          "HasDetails": true,
          "IsPackage": true,
          "LOBDetailsGroup": "sample string 5",
          "ID": 6,
          "Name": "sample string 7",
          "Code": "sample string 8"
        }
      ],
      "AgentName": "sample string 7",
      "MGA": "sample string 8",
      "WritingCarrier": "sample string 9",
      "LOB": "sample string 10",
      "CustomerName": "sample string 11",
      "PolicyId": 1,
      "CustomerId": 12,
      "PolicyNumber": "sample string 13",
      "EffectiveDate": "sample string 14",
      "ExpirationDate": "sample string 15",
      "Status": "sample string 16",
      "TotalPremium": 17.0,
      "Description": "sample string 18",
      "LOBId": 19,
      "MGAId": 1,
      "CarrierId": 1
    },
    {
      "CreatedOn": "sample string 1",
      "DateLastModified": "sample string 2",
      "HasBeenModified": true,
      "Term": "sample string 3",
      "PolicyType": "sample string 4",
      "PackageType": "sample string 5",
      "IsDeleted": true,
      "LOBList": [
        {
          "AcordCode": "sample string 1",
          "InternalCode": "sample string 2",
          "HasDetails": true,
          "IsPackage": true,
          "LOBDetailsGroup": "sample string 5",
          "ID": 6,
          "Name": "sample string 7",
          "Code": "sample string 8"
        },
        {
          "AcordCode": "sample string 1",
          "InternalCode": "sample string 2",
          "HasDetails": true,
          "IsPackage": true,
          "LOBDetailsGroup": "sample string 5",
          "ID": 6,
          "Name": "sample string 7",
          "Code": "sample string 8"
        }
      ],
      "AgentName": "sample string 7",
      "MGA": "sample string 8",
      "WritingCarrier": "sample string 9",
      "LOB": "sample string 10",
      "CustomerName": "sample string 11",
      "PolicyId": 1,
      "CustomerId": 12,
      "PolicyNumber": "sample string 13",
      "EffectiveDate": "sample string 14",
      "ExpirationDate": "sample string 15",
      "Status": "sample string 16",
      "TotalPremium": 17.0,
      "Description": "sample string 18",
      "LOBId": 19,
      "MGAId": 1,
      "CarrierId": 1
    }
  ],
  "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:
<PageOfPolicySummaryDTO 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.Policies">
    <d2p1:PolicySummaryDTO>
      <d2p1:CarrierId>1</d2p1:CarrierId>
      <d2p1:CustomerId>12</d2p1:CustomerId>
      <d2p1:Description>sample string 18</d2p1:Description>
      <d2p1:EffectiveDate>sample string 14</d2p1:EffectiveDate>
      <d2p1:ExpirationDate>sample string 15</d2p1:ExpirationDate>
      <d2p1:LOBId>19</d2p1:LOBId>
      <d2p1:MGAId>1</d2p1:MGAId>
      <d2p1:PolicyId>1</d2p1:PolicyId>
      <d2p1:PolicyNumber>sample string 13</d2p1:PolicyNumber>
      <d2p1:Status>sample string 16</d2p1:Status>
      <d2p1:TotalPremium>17</d2p1:TotalPremium>
      <d2p1:AgentName>sample string 7</d2p1:AgentName>
      <d2p1:CustomerName>sample string 11</d2p1:CustomerName>
      <d2p1:LOB>sample string 10</d2p1:LOB>
      <d2p1:MGA>sample string 8</d2p1:MGA>
      <d2p1:WritingCarrier>sample string 9</d2p1:WritingCarrier>
      <d2p1:CreatedOn>sample string 1</d2p1:CreatedOn>
      <d2p1:DateLastModified>sample string 2</d2p1:DateLastModified>
      <d2p1:HasBeenModified>true</d2p1:HasBeenModified>
      <d2p1:IsDeleted>true</d2p1:IsDeleted>
      <d2p1:LOBList xmlns:d4p1="http://schemas.datacontract.org/2004/07/QQSolutions.NextGen.ModelLibrary.DataTransferObjects.Locations">
        <d4p1:GenericLobDTO>
          <Code>sample string 8</Code>
          <ID>6</ID>
          <Name>sample string 7</Name>
          <d4p1:AcordCode>sample string 1</d4p1:AcordCode>
          <d4p1:HasDetails>true</d4p1:HasDetails>
          <d4p1:InternalCode>sample string 2</d4p1:InternalCode>
          <d4p1:IsPackage>true</d4p1:IsPackage>
          <d4p1:LOBDetailsGroup>sample string 5</d4p1:LOBDetailsGroup>
        </d4p1:GenericLobDTO>
        <d4p1:GenericLobDTO>
          <Code>sample string 8</Code>
          <ID>6</ID>
          <Name>sample string 7</Name>
          <d4p1:AcordCode>sample string 1</d4p1:AcordCode>
          <d4p1:HasDetails>true</d4p1:HasDetails>
          <d4p1:InternalCode>sample string 2</d4p1:InternalCode>
          <d4p1:IsPackage>true</d4p1:IsPackage>
          <d4p1:LOBDetailsGroup>sample string 5</d4p1:LOBDetailsGroup>
        </d4p1:GenericLobDTO>
      </d2p1:LOBList>
      <d2p1:PackageType>sample string 5</d2p1:PackageType>
      <d2p1:PolicyType>sample string 4</d2p1:PolicyType>
      <d2p1:Term>sample string 3</d2p1:Term>
    </d2p1:PolicySummaryDTO>
    <d2p1:PolicySummaryDTO>
      <d2p1:CarrierId>1</d2p1:CarrierId>
      <d2p1:CustomerId>12</d2p1:CustomerId>
      <d2p1:Description>sample string 18</d2p1:Description>
      <d2p1:EffectiveDate>sample string 14</d2p1:EffectiveDate>
      <d2p1:ExpirationDate>sample string 15</d2p1:ExpirationDate>
      <d2p1:LOBId>19</d2p1:LOBId>
      <d2p1:MGAId>1</d2p1:MGAId>
      <d2p1:PolicyId>1</d2p1:PolicyId>
      <d2p1:PolicyNumber>sample string 13</d2p1:PolicyNumber>
      <d2p1:Status>sample string 16</d2p1:Status>
      <d2p1:TotalPremium>17</d2p1:TotalPremium>
      <d2p1:AgentName>sample string 7</d2p1:AgentName>
      <d2p1:CustomerName>sample string 11</d2p1:CustomerName>
      <d2p1:LOB>sample string 10</d2p1:LOB>
      <d2p1:MGA>sample string 8</d2p1:MGA>
      <d2p1:WritingCarrier>sample string 9</d2p1:WritingCarrier>
      <d2p1:CreatedOn>sample string 1</d2p1:CreatedOn>
      <d2p1:DateLastModified>sample string 2</d2p1:DateLastModified>
      <d2p1:HasBeenModified>true</d2p1:HasBeenModified>
      <d2p1:IsDeleted>true</d2p1:IsDeleted>
      <d2p1:LOBList xmlns:d4p1="http://schemas.datacontract.org/2004/07/QQSolutions.NextGen.ModelLibrary.DataTransferObjects.Locations">
        <d4p1:GenericLobDTO>
          <Code>sample string 8</Code>
          <ID>6</ID>
          <Name>sample string 7</Name>
          <d4p1:AcordCode>sample string 1</d4p1:AcordCode>
          <d4p1:HasDetails>true</d4p1:HasDetails>
          <d4p1:InternalCode>sample string 2</d4p1:InternalCode>
          <d4p1:IsPackage>true</d4p1:IsPackage>
          <d4p1:LOBDetailsGroup>sample string 5</d4p1:LOBDetailsGroup>
        </d4p1:GenericLobDTO>
        <d4p1:GenericLobDTO>
          <Code>sample string 8</Code>
          <ID>6</ID>
          <Name>sample string 7</Name>
          <d4p1:AcordCode>sample string 1</d4p1:AcordCode>
          <d4p1:HasDetails>true</d4p1:HasDetails>
          <d4p1:InternalCode>sample string 2</d4p1:InternalCode>
          <d4p1:IsPackage>true</d4p1:IsPackage>
          <d4p1:LOBDetailsGroup>sample string 5</d4p1:LOBDetailsGroup>
        </d4p1:GenericLobDTO>
      </d2p1:LOBList>
      <d2p1:PackageType>sample string 5</d2p1:PackageType>
      <d2p1:PolicyType>sample string 4</d2p1:PolicyType>
      <d2p1:Term>sample string 3</d2p1:Term>
    </d2p1:PolicySummaryDTO>
  </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>
</PageOfPolicySummaryDTO>