POST v1/PriorPolicyInfo/UpdatePriorPolicyInfo

Insert or Update Prior Policy Info

Request Information

URI Parameters

None.

Body Parameters

PriorPolicyInfo data

PriorPolicyInfoDTO
NameDescriptionTypeAdditional information
Id

integer

None.

PolicyQuoteID

integer

None.

NoPriorInsurance

boolean

None.

LineofBusinessID

integer

None.

LineofBusiness

string

None.

SublineID

integer

None.

Subline

string

None.

PolicyNumber

string

None.

WritingCarrierID

integer

None.

WritingCarrier

string

None.

MGABrokerID

integer

None.

MGABroker

string

None.

ParentCarrierID

integer

None.

ParentCarrier

string

None.

FullTermPremium

decimal number

None.

InceptionDate

date

None.

ExpirationDate

date

None.

PolicyYear

integer

None.

YearsWithPriorCompany

integer

None.

PriorCarrierAmountofCoverage

integer

None.

LiabilityPerPersonAmount

integer

None.

LiabilityPerAccidentAmount

integer

None.

TotalPaidLossAmount

integer

None.

ReserveTotalAmount

integer

None.

PolicyTransferred

boolean

None.

PolicyTerminatedforID

string

None.

PolicyTerminatedfor

string

None.

PolicyTerminatedReason

string

None.

ClueReferenceNumber

string

None.

ContinuityDate

date

None.

ProducerName

string

None.

CorrectPpiParentCarrierID

integer

None.

CorrectPpiParentCarrier

string

None.

InceptionDateString

string

None.

ExpirationDateString

string

None.

ContinuityDateString

string

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "PolicyQuoteID": 2,
  "NoPriorInsurance": true,
  "LineofBusinessID": 1,
  "LineofBusiness": "sample string 3",
  "SublineID": 1,
  "Subline": "sample string 4",
  "PolicyNumber": "sample string 5",
  "WritingCarrierID": 1,
  "WritingCarrier": "sample string 6",
  "MGABrokerID": 1,
  "MGABroker": "sample string 7",
  "ParentCarrierID": 1,
  "ParentCarrier": "sample string 8",
  "FullTermPremium": 1.0,
  "InceptionDate": "0001-01-01T00:00:00",
  "ExpirationDate": "0001-01-01T00:00:00",
  "PolicyYear": 1,
  "YearsWithPriorCompany": 1,
  "PriorCarrierAmountofCoverage": 1,
  "LiabilityPerPersonAmount": 1,
  "LiabilityPerAccidentAmount": 1,
  "TotalPaidLossAmount": 1,
  "ReserveTotalAmount": 1,
  "PolicyTransferred": true,
  "PolicyTerminatedforID": "sample string 9",
  "PolicyTerminatedfor": "sample string 10",
  "PolicyTerminatedReason": "sample string 11",
  "ClueReferenceNumber": "sample string 12",
  "ContinuityDate": "0001-01-01T00:00:00",
  "ProducerName": "sample string 13",
  "CorrectPpiParentCarrierID": 1,
  "CorrectPpiParentCarrier": "sample string 14",
  "InceptionDateString": "",
  "ExpirationDateString": "",
  "ContinuityDateString": ""
}

application/xml, text/xml

Sample:
<PriorPolicyInfoDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/QQSolutions.NextGen.ModelLibrary.DataTransferObjects.Policies">
  <ClueReferenceNumber>sample string 12</ClueReferenceNumber>
  <ContinuityDate>0001-01-01T00:00:00</ContinuityDate>
  <ContinuityDateString></ContinuityDateString>
  <CorrectPpiParentCarrier>sample string 14</CorrectPpiParentCarrier>
  <CorrectPpiParentCarrierID>1</CorrectPpiParentCarrierID>
  <ExpirationDate>0001-01-01T00:00:00</ExpirationDate>
  <ExpirationDateString></ExpirationDateString>
  <FullTermPremium>1</FullTermPremium>
  <Id>1</Id>
  <InceptionDate>0001-01-01T00:00:00</InceptionDate>
  <InceptionDateString></InceptionDateString>
  <LiabilityPerAccidentAmount>1</LiabilityPerAccidentAmount>
  <LiabilityPerPersonAmount>1</LiabilityPerPersonAmount>
  <LineofBusiness>sample string 3</LineofBusiness>
  <LineofBusinessID>1</LineofBusinessID>
  <MGABroker>sample string 7</MGABroker>
  <MGABrokerID>1</MGABrokerID>
  <NoPriorInsurance>true</NoPriorInsurance>
  <ParentCarrier>sample string 8</ParentCarrier>
  <ParentCarrierID>1</ParentCarrierID>
  <PolicyNumber>sample string 5</PolicyNumber>
  <PolicyQuoteID>2</PolicyQuoteID>
  <PolicyTerminatedReason>sample string 11</PolicyTerminatedReason>
  <PolicyTerminatedfor>sample string 10</PolicyTerminatedfor>
  <PolicyTerminatedforID>sample string 9</PolicyTerminatedforID>
  <PolicyTransferred>true</PolicyTransferred>
  <PolicyYear>1</PolicyYear>
  <PriorCarrierAmountofCoverage>1</PriorCarrierAmountofCoverage>
  <ProducerName>sample string 13</ProducerName>
  <ReserveTotalAmount>1</ReserveTotalAmount>
  <Subline>sample string 4</Subline>
  <SublineID>1</SublineID>
  <TotalPaidLossAmount>1</TotalPaidLossAmount>
  <WritingCarrier>sample string 6</WritingCarrier>
  <WritingCarrierID>1</WritingCarrierID>
  <YearsWithPriorCompany>1</YearsWithPriorCompany>
</PriorPolicyInfoDTO>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'PriorPolicyInfoDTO'.

Response Information

Resource Description

ActionResultDTOOfPriorPolicyInfoDTO
NameDescriptionTypeAdditional information
Result

PriorPolicyInfoDTO

None.

CreatedBy

string

None.

EntityID

integer

None.

RowSource

string

None.

PolicyID

integer

None.

IsSuccess

boolean

None.

ErrorCode

string

None.

ErrorMessage

string

None.

InfoMessage

string

None.

Response Formats

application/json, text/json

Sample:
{
  "Result": {
    "Id": 1,
    "PolicyQuoteID": 2,
    "NoPriorInsurance": true,
    "LineofBusinessID": 1,
    "LineofBusiness": "sample string 3",
    "SublineID": 1,
    "Subline": "sample string 4",
    "PolicyNumber": "sample string 5",
    "WritingCarrierID": 1,
    "WritingCarrier": "sample string 6",
    "MGABrokerID": 1,
    "MGABroker": "sample string 7",
    "ParentCarrierID": 1,
    "ParentCarrier": "sample string 8",
    "FullTermPremium": 1.0,
    "InceptionDate": "0001-01-01T00:00:00",
    "ExpirationDate": "0001-01-01T00:00:00",
    "PolicyYear": 1,
    "YearsWithPriorCompany": 1,
    "PriorCarrierAmountofCoverage": 1,
    "LiabilityPerPersonAmount": 1,
    "LiabilityPerAccidentAmount": 1,
    "TotalPaidLossAmount": 1,
    "ReserveTotalAmount": 1,
    "PolicyTransferred": true,
    "PolicyTerminatedforID": "sample string 9",
    "PolicyTerminatedfor": "sample string 10",
    "PolicyTerminatedReason": "sample string 11",
    "ClueReferenceNumber": "sample string 12",
    "ContinuityDate": "0001-01-01T00:00:00",
    "ProducerName": "sample string 13",
    "CorrectPpiParentCarrierID": 1,
    "CorrectPpiParentCarrier": "sample string 14",
    "InceptionDateString": "",
    "ExpirationDateString": "",
    "ContinuityDateString": ""
  },
  "CreatedBy": "sample string 1",
  "EntityID": 2,
  "RowSource": "sample string 3",
  "PolicyID": 4,
  "IsSuccess": true,
  "ErrorCode": "sample string 6",
  "ErrorMessage": "sample string 7",
  "InfoMessage": "sample string 8"
}

application/xml, text/xml

Sample:
<ActionResultOfPriorPolicyInfoDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/QQSolutions.NextGen.ModelLibrary.DataTransferObjects">
  <ErrorCode>sample string 6</ErrorCode>
  <ErrorMessage>sample string 7</ErrorMessage>
  <InfoMessage>sample string 8</InfoMessage>
  <IsSuccess>true</IsSuccess>
  <CreatedBy>sample string 1</CreatedBy>
  <EntityID>2</EntityID>
  <PolicyID>4</PolicyID>
  <Result xmlns:d2p1="http://schemas.datacontract.org/2004/07/QQSolutions.NextGen.ModelLibrary.DataTransferObjects.Policies">
    <d2p1:ClueReferenceNumber>sample string 12</d2p1:ClueReferenceNumber>
    <d2p1:ContinuityDate>0001-01-01T00:00:00</d2p1:ContinuityDate>
    <d2p1:ContinuityDateString></d2p1:ContinuityDateString>
    <d2p1:CorrectPpiParentCarrier>sample string 14</d2p1:CorrectPpiParentCarrier>
    <d2p1:CorrectPpiParentCarrierID>1</d2p1:CorrectPpiParentCarrierID>
    <d2p1:ExpirationDate>0001-01-01T00:00:00</d2p1:ExpirationDate>
    <d2p1:ExpirationDateString></d2p1:ExpirationDateString>
    <d2p1:FullTermPremium>1</d2p1:FullTermPremium>
    <d2p1:Id>1</d2p1:Id>
    <d2p1:InceptionDate>0001-01-01T00:00:00</d2p1:InceptionDate>
    <d2p1:InceptionDateString></d2p1:InceptionDateString>
    <d2p1:LiabilityPerAccidentAmount>1</d2p1:LiabilityPerAccidentAmount>
    <d2p1:LiabilityPerPersonAmount>1</d2p1:LiabilityPerPersonAmount>
    <d2p1:LineofBusiness>sample string 3</d2p1:LineofBusiness>
    <d2p1:LineofBusinessID>1</d2p1:LineofBusinessID>
    <d2p1:MGABroker>sample string 7</d2p1:MGABroker>
    <d2p1:MGABrokerID>1</d2p1:MGABrokerID>
    <d2p1:NoPriorInsurance>true</d2p1:NoPriorInsurance>
    <d2p1:ParentCarrier>sample string 8</d2p1:ParentCarrier>
    <d2p1:ParentCarrierID>1</d2p1:ParentCarrierID>
    <d2p1:PolicyNumber>sample string 5</d2p1:PolicyNumber>
    <d2p1:PolicyQuoteID>2</d2p1:PolicyQuoteID>
    <d2p1:PolicyTerminatedReason>sample string 11</d2p1:PolicyTerminatedReason>
    <d2p1:PolicyTerminatedfor>sample string 10</d2p1:PolicyTerminatedfor>
    <d2p1:PolicyTerminatedforID>sample string 9</d2p1:PolicyTerminatedforID>
    <d2p1:PolicyTransferred>true</d2p1:PolicyTransferred>
    <d2p1:PolicyYear>1</d2p1:PolicyYear>
    <d2p1:PriorCarrierAmountofCoverage>1</d2p1:PriorCarrierAmountofCoverage>
    <d2p1:ProducerName>sample string 13</d2p1:ProducerName>
    <d2p1:ReserveTotalAmount>1</d2p1:ReserveTotalAmount>
    <d2p1:Subline>sample string 4</d2p1:Subline>
    <d2p1:SublineID>1</d2p1:SublineID>
    <d2p1:TotalPaidLossAmount>1</d2p1:TotalPaidLossAmount>
    <d2p1:WritingCarrier>sample string 6</d2p1:WritingCarrier>
    <d2p1:WritingCarrierID>1</d2p1:WritingCarrierID>
    <d2p1:YearsWithPriorCompany>1</d2p1:YearsWithPriorCompany>
  </Result>
  <RowSource>sample string 3</RowSource>
</ActionResultOfPriorPolicyInfoDTO>